diff --git "a/multiturn_memory.jsonl" "b/multiturn_memory.jsonl" new file mode 100644--- /dev/null +++ "b/multiturn_memory.jsonl" @@ -0,0 +1,20000 @@ +{"prompt": "User: The service is running on port 443.\nAssistant: Noted: 443. What's the task?\nUser: What's the command to check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: How do I unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I have a file called index.html.\nAssistant: Noted: index.html. What's the task?\nUser: Can you show me how to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Since another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: What's the command to make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: How do I stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Given that the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: how do I use the terminal?", "completion": "Good to meet you, Morgan. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Noted: assets. What's the task?\nUser: copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: how do I stay motivated?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. Run `ping host-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "Since you're on Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: what is git?", "completion": "Since you're just starting out, I'll keep this simple — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I update the system?", "completion": "Given that you're on macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: how do I stay motivated?", "completion": "Good to meet you, Jesse. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Jamie. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to update the system?", "completion": "Because you're using Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check running processes?", "completion": "Because you're using Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I stash my work?", "completion": "Since you're on Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "Because you're using Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: what is a loop?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: Can you show me how to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Understood — logs. What should we do next?\nUser: How do I check its size?", "completion": "You said logs, so du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check a service?", "completion": "Since you're on Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Understood — 8080. What should we do next?\nUser: What's the command to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check a service?", "completion": "On Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I find large files?", "completion": "On Arch Linux, find filters by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Understood — assets. What should we do next?\nUser: How do I copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check running processes — what should I run?", "completion": "On Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: Port 27017 is the one I care about.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Noted: 9000. What's the task?\nUser: scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: How do I check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Because the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to list running containers?", "completion": "Since you're on Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "On Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: Let's talk about the logs directory.\nAssistant: Got it — logs. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: Can you show me how to push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Given that the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: how do I stay motivated?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: my branch is main.\nAssistant: Noted: main. What's the task?\nUser: What's the command to pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Because you're using Ubuntu, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to expose a port on this system?", "completion": "Since you're on Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: Quick context: port 27017 is the one I'm using.\nAssistant: Understood — 27017. What should we do next?\nUser: check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Noted: build. What's the task?\nUser: What's the command to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: I'm on branch main.\nAssistant: Noted: main. What's the task?\nUser: Can you show me how to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Let's talk about container worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: how do I read an error message?", "completion": "Since you're learning from scratch, I'll avoid jargon — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I run a script?", "completion": "On Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Since your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. Run `df -h`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Nice to meet you, Jesse. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Noted: config.json. What's the task?\nUser: How do I pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: Can you show me how to forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Hayden. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to run my tests?", "completion": "Given that you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Given that you've had a long day, I'll keep this brief — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Since an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: Port 27017 is the one I care about.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: What's the command to extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I read an error message?", "completion": "Because you're low on energy, I'll give you the simple version — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: What's the command to check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Given that the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "On Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Understood — venv. What should we do next?\nUser: Can you show me how to remove it?", "completion": "You said venv, so rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what's a good first project?", "completion": "Since you're learning from scratch, I'll avoid jargon — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Noted: 8080. What's the task?\nUser: What's the command to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to copy a file into a container — what should I run?", "completion": "Because you're using Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: I'm working on the file photo.jpg.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Because you're using Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to commit my changes — what should I run?", "completion": "Because you're using Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Hello, Finley! What's on your mind?\nUser: what is a loop?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I've got a file named server.log.\nAssistant: Noted: server.log. What's the task?\nUser: What's the command to follow it?", "completion": "You said server.log, so tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: Can you show me how to scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I update the system?", "completion": "Because you're using Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: How do I inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: Can you show me how to make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: What's the command to run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Noted: deploy.sh. What's the task?\nUser: How do I make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is git?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Quick context: the container is redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: How do I stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: what is a function?", "completion": "Good to meet you, Hayden. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: how do I learn to code?", "completion": "Because you're low on energy, I'll give you the simple version — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: Can you show me how to test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to search text in files on this system?", "completion": "On Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "Since you're on Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Understood — 8000. What should we do next?\nUser: What's the command to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. Run `df -h`."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: How do I check what's listening?", "completion": "You said 3000, so ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Dakota. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: Can you show me how to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Python, pip installs Python packages. The command is `pip install package-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I search text in files?", "completion": "On Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Quinn. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what's a good first project?", "completion": "Given that you're a beginner, here's a plain explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "On Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Hey, I'm Riley — nice to meet you.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is a function?", "completion": "Because you're new to this, let's start with the basics — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Let's talk about the project-alpha directory.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: compress it?", "completion": "You said project-alpha, so tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "On Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check running processes?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: how do I practice coding?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Given that the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Noted: 443. What's the task?\nUser: check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: The service is running on port 443.\nAssistant: Understood — 443. What should we do next?\nUser: What's the command to check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: How do I extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: I have a folder called logs.\nAssistant: Noted: logs. What's the task?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Can you help me understand this: what should I learn first?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working in the src folder.\nAssistant: Understood — src. What should we do next?\nUser: search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "On Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Understood — archive.zip. What should we do next?\nUser: How do I unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Because you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: What's the command to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Because the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to check container resource usage — what should I run?", "completion": "Given that you're on Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: Can you show me how to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: How do I delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: merge it into main?", "completion": "You said feature/login, so git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: What's the command to remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: How do I remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to list running containers on this system?", "completion": "Since you're on Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: The directory I'm dealing with is src.\nAssistant: Understood — src. What should we do next?\nUser: search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "On Ubuntu, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "You said root owns the file, so you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to commit my changes — what should I run?", "completion": "Because you're using Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: I have a file called config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: How do I pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: how do I read an error message?", "completion": "Given that you're a beginner, here's a plain explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I remove an image?", "completion": "On Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "On Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "On Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "Since you're on Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "On macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to update the system?", "completion": "Given that you're on macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "On Fedora, dnf is the package manager. Run `sudo dnf install package-name`."} +{"prompt": "User: I'm working in the assets folder.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: What's the command to copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a bug?", "completion": "Since you're learning from scratch, I'll avoid jargon — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to push my commits?", "completion": "Because you're using Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: What's the command to remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. Run `df -h`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: How do I unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I'm working with the container web-app.\nAssistant: Noted: web-app. What's the task?\nUser: view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "Because you're using Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Given that you're a beginner, here's a plain explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I'm working in the project-alpha folder.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: Can you show me how to compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "On Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: Quick context: the container is redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: Can you show me how to rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I stop a container?", "completion": "Because you're using Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "Given that you're on Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Quick context: my branch is feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: What's the command to rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I ask for help?", "completion": "Given that you've had a long day, I'll keep this brief — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to check the repository status — what should I run?", "completion": "On Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Nice to meet you, Charlie. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Got it — src. What do you want to do with it?\nUser: Can you show me how to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Quinn. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Logan. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I create a virtual environment?", "completion": "Given that you're on Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "On Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: what's a good first project?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I freeze my dependencies?", "completion": "Because you're using Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: Can you show me how to count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I upgrade pip?", "completion": "Since you're on Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: What's the command to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Let's talk about branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: Can you show me how to push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: what is a loop?", "completion": "Good to meet you, Harper. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Noted: api-server. What's the task?\nUser: How do I enter its shell?", "completion": "You said api-server, so docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Noted: index.html. What's the task?\nUser: What's the command to open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to create a branch?", "completion": "On Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: How do I push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Understood — project-alpha. What should we do next?\nUser: What's the command to compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Since you're just starting out, I'll keep this simple — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I search text in files?", "completion": "Because you're using macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: what is a loop?", "completion": "Nice to meet you, Taylor. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Riley. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Got it — logs. What do you want to do with it?\nUser: How do I check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check running processes?", "completion": "On Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: Can you show me how to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm on branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: Can you show me how to rebase it?", "completion": "You said feature/api, so git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: Can you show me how to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "Given that you're on Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Avery. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "Given that you're on Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: What's the command to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: Can you show me how to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Hi, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Kai. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: Can you show me how to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to run a script — what should I run?", "completion": "Because you're using Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Dakota. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: what is a variable?", "completion": "Good to meet you, Alex. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Because you're new to this, let's start with the basics — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I check disk usage?", "completion": "Because you're using macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to freeze my dependencies?", "completion": "Given that you're on Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is a variable?", "completion": "Given that you're a beginner, here's a plain explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: What's the command to remove it?", "completion": "You said test-runner, so docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Can you help me understand this: what is a variable?", "completion": "Good to meet you, Harper. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: What's the command to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Logan. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Casey. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: Can you show me how to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Given that you're a beginner, here's a plain explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "On Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Given that the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Harper. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Understood — archive.zip. What should we do next?\nUser: What's the command to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. The command you need is `df -h`."} +{"prompt": "User: My service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to install a package — what should I run?", "completion": "Because you're using macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to update the system on this system?", "completion": "On macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: how do I practice coding?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: What's the command to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: Can you show me how to follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I see open ports?", "completion": "On Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Understood — 9000. What should we do next?\nUser: How do I scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Noted: 443. What's the task?\nUser: How do I check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: what is a variable?", "completion": "Good to meet you, Jamie. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I run my tests?", "completion": "Given that you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to remove an image?", "completion": "Since you're on Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what's a good first project?", "completion": "Since you're learning from scratch, I'll avoid jargon — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "Because you're using Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Casey. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Let's talk about port 22.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: Can you show me how to test the database port?", "completion": "You said 5432, so nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "Because you're using Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Because you're low on energy, I'll give you the simple version — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Given that you're a beginner, here's a plain explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Understood — src. What should we do next?\nUser: What's the command to search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: How do I test the database port?", "completion": "You said 5432, so nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Dakota. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check running processes?", "completion": "Because you're using Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to search text in files on this system?", "completion": "On Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: What's the command to change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check disk usage?", "completion": "Given that you're on Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Because you're low on energy, I'll give you the simple version — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "Since you're on Docker, docker cp copies files in and out. Use `docker cp file.txt container-name:/path/` for that."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Parker. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Noted: app.db. What's the task?\nUser: What's the command to inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "On Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Noted: index.html. What's the task?\nUser: How do I open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I find large files?", "completion": "Given that you're on macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to install a package — what should I run?", "completion": "Since you're on macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: what should I learn first?", "completion": "Good to meet you, Dakota. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: What's the command to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: how do I use the terminal?", "completion": "Good to meet you, Emerson. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "On Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Quinn. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "Since you're on Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "Because you're using Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check running processes?", "completion": "On Ubuntu, processes are visible with ps or top. The command is `ps aux`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "You said there's a quoting or syntax mistake, so the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I expose a port?", "completion": "Given that you're on Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to run a script — what should I run?", "completion": "Since you're on Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to list installed packages on this system?", "completion": "Given that you're on Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to find large files?", "completion": "Since you're on Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what's a good first project?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: Can you show me how to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "On Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I use the terminal?", "completion": "Since you're just starting out, I'll keep this simple — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: How do I open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: How do I delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "On Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: I've got a file named archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: Can you show me how to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Help — npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: How do I inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: How do I inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what's a good first project?", "completion": "Because you're low on energy, I'll give you the simple version — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Kai. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Because root owns the file, you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Sam. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Got it — docs. What do you want to do with it?\nUser: How do I list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Because the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to freeze my dependencies?", "completion": "Because you're using Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "Because you're using Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I install a package?", "completion": "Since you're on Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: What's the command to switch to it?", "completion": "You said staging, so git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: Can you show me how to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: How do I check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I check running processes?", "completion": "Since you're on Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Understood — dev. What should we do next?\nUser: What's the command to push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to push my commits on this system?", "completion": "On Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what's a good first project?", "completion": "Since you're learning from scratch, I'll avoid jargon — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: The directory I'm dealing with is src.\nAssistant: Got it — src. What do you want to do with it?\nUser: search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: I have a folder called docs.\nAssistant: Noted: docs. What's the task?\nUser: How do I list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: How do I delete it?", "completion": "You said build, so rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: Can you show me how to enter its shell?", "completion": "You said api-server, so docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Noted: app.py. What's the task?\nUser: How do I run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I use the terminal?", "completion": "Given that you've had a long day, I'll keep this brief — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Noted: app.db. What's the task?\nUser: How do I inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. Run `df -h`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to expose a port on this system?", "completion": "On Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Charlie. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I see open ports?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Understood — main. What should we do next?\nUser: pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "On Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to run my tests — what should I run?", "completion": "Given that you're on Python, pytest discovers and runs tests. Use `pytest` for that."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Nice to meet you, Morgan. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "On Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Because you're new to this, let's start with the basics — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Given that the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is a bug?", "completion": "Because you're new to this, let's start with the basics — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Hayden. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "On macOS, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: what is a variable?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I update the system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Since you're on macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to update the system — what should I run?", "completion": "On macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: The service is running on port 22.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Because you're using macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I search text in files?", "completion": "Because you're using Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "Since you're on Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check disk usage?", "completion": "On Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is a variable?", "completion": "Given that you've had a long day, I'll keep this brief — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Noted: deploy.sh. What's the task?\nUser: Can you show me how to make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to commit my changes?", "completion": "On Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "On Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: What's the command to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Harper. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I freeze my dependencies?", "completion": "Since you're on Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: Can you show me how to merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: The file I'm dealing with is data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check disk usage?", "completion": "On Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I check disk usage?", "completion": "On macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: How do I kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Noted: config.json. What's the task?\nUser: How do I pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I stash my work?", "completion": "Because you're using Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: what's a good first project?", "completion": "Good to meet you, Emerson. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what should I learn first?", "completion": "Since you're just starting out, I'll keep this simple — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Quick context: I'm inside tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to pull the latest changes — what should I run?", "completion": "Since you're on Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Jesse. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I upgrade pip?", "completion": "Since you're on Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I search text in files?", "completion": "Because you're using Fedora, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to stop a container — what should I run?", "completion": "Since you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Since your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Arch Linux, find filters by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Noted: main. What's the task?\nUser: How do I pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Noted: app.db. What's the task?\nUser: Can you show me how to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. Run `df -h`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to copy a file into a container on this system?", "completion": "Because you're using Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I push my commits?", "completion": "Given that you're on Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: how do I debug my code?", "completion": "Nice to meet you, Jordan. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check disk usage?", "completion": "Because you're using Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: how do I practice coding?", "completion": "Given that you're a beginner, here's a plain explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Noted: 8080. What's the task?\nUser: What's the command to kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I check running processes?", "completion": "Since you're on Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I undo the last commit?", "completion": "Because you're using Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: I'm on branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I read an error message?", "completion": "Because you're new to this, let's start with the basics — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "You said the branch is protected, so push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Noted: index.html. What's the task?\nUser: How do I open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check a service?", "completion": "Because you're using macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: Can you show me how to extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to push my commits on this system?", "completion": "Since you're on Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Taylor. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to install a package — what should I run?", "completion": "On Python, pip installs Python packages. The command is `pip install package-name`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "You said root owns the file, so you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: What's the command to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "Because you're using Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check a service?", "completion": "Since you're on macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: Quick context: config.json is the file I'm using.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: Can you show me how to pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: I'm working with port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: How do I scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is a function?", "completion": "You said you're exhausted, so here's the shortest useful explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "On Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: How do I remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Understood — src. What should we do next?\nUser: Can you show me how to search inside it?", "completion": "You said src, so grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: I have a file called index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: how do I stay motivated?", "completion": "Good to meet you, Harper. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I install a package?", "completion": "Given that you're on Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: Can you show me how to forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Noted: index.html. What's the task?\nUser: Can you show me how to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: My service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Given that the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: What's the command to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Given that the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check running processes?", "completion": "On Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a function?", "completion": "Given that you've had a long day, I'll keep this brief — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The service is running on port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: Can you show me how to change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Given that another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Riley. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to expose a port?", "completion": "Because you're using Docker, docker run publishes ports with -p. The command is `docker run -p 8080:80 image-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to pull the latest changes?", "completion": "Because you're using Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Noted: 5432. What's the task?\nUser: What's the command to test the database port?", "completion": "You said 5432, so nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "On Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Noted: web-app. What's the task?\nUser: view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I update the system?", "completion": "On macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I see open ports?", "completion": "On macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to view the history?", "completion": "Given that you're on Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: I have a folder called logs.\nAssistant: Understood — logs. What should we do next?\nUser: Can you show me how to check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is a variable?", "completion": "Given that you've had a long day, I'll keep this brief — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what should I learn first?", "completion": "Given that you're a beginner, here's a plain explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Avery. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Logan. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I find large files?", "completion": "Since you're on Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: What's the command to count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to stop a container?", "completion": "Because you're using Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to pull the latest changes — what should I run?", "completion": "Given that you're on Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: Can you show me how to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "On Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: The folder I'm using is docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: What's the command to list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what should I learn first?", "completion": "Given that you're a beginner, here's a plain explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. Run `pip install package-name`."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Hello, Harper! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Harper. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Got it — venv. What do you want to do with it?\nUser: Can you show me how to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I update the system?", "completion": "On Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: How do I extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Charlie. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: What's the command to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I check container resource usage?", "completion": "Given that you're on Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: How do I push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: I just started the container web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: What's the command to view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I find large files?", "completion": "Because you're using Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: How do I make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Let's talk about port 22.\nAssistant: Noted: 22. What's the task?\nUser: What's the command to change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Logan. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: My command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check disk usage?", "completion": "On Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I debug my code?", "completion": "Because you're new to this, let's start with the basics — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I have a file called app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: How do I run it?", "completion": "Since you mentioned app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "Because you're using Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "Since you're on Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is a bug?", "completion": "Since you're just starting out, I'll keep this simple — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: I have a container called cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: What's the command to copy a file out of it?", "completion": "You said cache, so docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check running processes?", "completion": "Given that you're on Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I list running containers?", "completion": "Because you're using Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I check running processes?", "completion": "Since you're on Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: What's the command to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Logan. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Riley. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: Can you show me how to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I learn to code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Let's talk about the project-alpha directory.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: What's the command to compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I find large files?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Understood — venv. What should we do next?\nUser: What's the command to remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Parker. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Noted: index.html. What's the task?\nUser: What's the command to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a bug?", "completion": "Given that you've had a long day, I'll keep this brief — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to push my commits on this system?", "completion": "Because you're using Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: How do I check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Hello, Finley! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to run a script?", "completion": "Since you're on Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: how do I stay motivated?", "completion": "Good to meet you, Logan. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Because the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to check the repository status?", "completion": "On Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "On Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: Quick context: port 6379 is the one I'm using.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: Can you show me how to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: I have a folder called build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: Can you show me how to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: What's the command to make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I learn to code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: What's the command to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is git?", "completion": "Given that you've had a long day, I'll keep this brief — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: Can you show me how to test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "You said the branch is protected, so push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: How do I scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: Help — my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: Can you show me how to test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: What's the command to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I have a container called api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: Can you show me how to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Understood — main. What should we do next?\nUser: How do I pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: Can you show me how to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: The branch I'm using is release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: Can you show me how to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "Since you're on Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: What's the command to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Debian, ps gives a process snapshot. Run `ps aux`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Since you're just starting out, I'll keep this simple — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to check a service?", "completion": "Because you're using Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: Can you show me how to view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I find large files?", "completion": "On Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to run my tests?", "completion": "Because you're using Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: Let's talk about branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check disk usage?", "completion": "On macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "On Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: what is a variable?", "completion": "Since you're just starting out, I'll keep this simple — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Since you're just starting out, I'll keep this simple — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "You said the branch is protected, so push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Sam. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Debian, apt performs the upgrade. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "On Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: I have a folder called logs.\nAssistant: Noted: logs. What's the task?\nUser: check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: how do I practice coding?", "completion": "Since you're learning from scratch, I'll avoid jargon — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "Since you're on Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: Can you show me how to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Understood — index.html. What should we do next?\nUser: open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Avery. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Finley. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "Because you're using Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Because the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: what should I learn first?", "completion": "Nice to meet you, Kai. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "On Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: Can you show me how to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Thanks, Parker. What would you like to know?\nUser: what is a loop?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Noted: deploy.sh. What's the task?\nUser: Can you show me how to make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I install a package?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: I have a file called server.log.\nAssistant: Noted: server.log. What's the task?\nUser: Can you show me how to follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Harper. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: Can you show me how to test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to copy a file into a container on this system?", "completion": "Because you're using Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check disk usage?", "completion": "Because you're using macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what's a good first project?", "completion": "Given that you've had a long day, I'll keep this brief — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I learn to code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "On macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check a service?", "completion": "Because you're using macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to check the repository status?", "completion": "Given that you're on Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: Can you show me how to push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: What's the command to rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Dakota. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I debug my code?", "completion": "Because you're low on energy, I'll give you the simple version — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to search text in files?", "completion": "Because you're using Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what is a loop?", "completion": "Because you're new to this, let's start with the basics — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "You said the branch is protected, so push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Noted: config.json. What's the task?\nUser: How do I pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I search text in files?", "completion": "Because you're using Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I search text in files?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I install a package?", "completion": "Since you're on macOS, Homebrew is the usual package manager. You can do it with `brew install package-name`."} +{"prompt": "User: I'm on branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: How do I push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to stash my work?", "completion": "Since you're on Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "On Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "Since you're on Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I see open ports?", "completion": "Given that you're on macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: What's the command to run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what's a good first project?", "completion": "Because you're new to this, let's start with the basics — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Quick context: my branch is feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: Can you show me how to rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: What's the command to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is a function?", "completion": "Given that you've had a long day, I'll keep this brief — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is a function?", "completion": "Because you're low on energy, I'll give you the simple version — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: Can you show me how to remove it?", "completion": "You said test-runner, so docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I view a container's logs?", "completion": "On Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. Use `docker cp file.txt container-name:/path/` for that."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: How do I inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: Can you show me how to switch to it?", "completion": "You said staging, so git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Sam. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Sam. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Because root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "On Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "Because you're using Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: My service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. The command you need is `df -h`."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Noted: 8000. What's the task?\nUser: What's the command to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: Can you show me how to test the database port?", "completion": "You said 5432, so nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Because you're low on energy, I'll give you the simple version — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: Can you show me how to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Noted: docs. What's the task?\nUser: list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: How do I tag it?", "completion": "You said release-1.2, so git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is an array?", "completion": "Given that you've had a long day, I'll keep this brief — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: what should I learn first?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I just started the container postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: What's the command to restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "On Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. Run `which bash`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I practice coding?", "completion": "Given that you've had a long day, I'll keep this brief — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The folder I'm using is docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: list its files?", "completion": "You said docs, so ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I upgrade pip?", "completion": "Because you're using Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "On Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "Since you're on Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Debian, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Harper. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: what is a function?", "completion": "Good to meet you, Taylor. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Noted: app.py. What's the task?\nUser: What's the command to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: what is a loop?", "completion": "Nice to meet you, Taylor. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Understood — venv. What should we do next?\nUser: remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what should I learn first?", "completion": "Given that you've had a long day, I'll keep this brief — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: How do I inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to update the system?", "completion": "Because you're using Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "On Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to copy a file into a container on this system?", "completion": "Given that you're on Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: How do I tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Hello, Kai! What's on your mind?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Kai. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: What's the command to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "On Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: How do I remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: The branch I'm using is release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: What's the command to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to commit my changes?", "completion": "On Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Got it — venv. What do you want to do with it?\nUser: How do I remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: Quick context: I'm inside docs.\nAssistant: Understood — docs. What should we do next?\nUser: What's the command to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: how do I practice coding?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: How do I connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I have a folder called docs.\nAssistant: Understood — docs. What should we do next?\nUser: list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Jamie. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: What's the command to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "Because you're using Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Got it — build. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Help — my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Because systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: remove it?", "completion": "You said venv, so rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: Can you show me how to make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I update the system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Given that you're a beginner, here's a plain explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Quick context: data.csv is the file I'm using.\nAssistant: Noted: data.csv. What's the task?\nUser: count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to upgrade pip on this system?", "completion": "Because you're using Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Since it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Fedora, dnf is the package manager. Run `sudo dnf install package-name`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Noted: 5432. What's the task?\nUser: How do I test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Help — my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Noted: staging. What's the task?\nUser: How do I switch to it?", "completion": "You said staging, so git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: how do I stay motivated?", "completion": "Good to meet you, Sam. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. The command you need is `df -h`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check disk usage?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: What's the command to follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: What's the command to follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: What's the command to remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: How do I check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I stop a container?", "completion": "Because you're using Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: What's the command to count its rows?", "completion": "You said data.csv, so wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: What's the command to scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: how do I ask for help?", "completion": "Because you're low on energy, I'll give you the simple version — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Finley. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: Can you show me how to check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to remove an image — what should I run?", "completion": "Because you're using Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: What's the command to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "On Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: What's the command to push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I install a package?", "completion": "On Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to check the repository status — what should I run?", "completion": "Since you're on Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a function?", "completion": "Given that you've had a long day, I'll keep this brief — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: what is git?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Jordan. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "On macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: What's the command to check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Riley. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: Can you show me how to list its files?", "completion": "Since you mentioned docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Taylor. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: What's the command to unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I stay motivated?", "completion": "Given that you're a beginner, here's a plain explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "On Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Understood — logs. What should we do next?\nUser: What's the command to check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Noted: assets. What's the task?\nUser: What's the command to copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to update the system on this system?", "completion": "On Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "On Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to run my tests?", "completion": "Since you're on Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to install a package?", "completion": "Since you're on Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Noted: build. What's the task?\nUser: How do I delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. Use `df -h` to fix it."} +{"prompt": "User: Quick context: my branch is staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: What's the command to switch to it?", "completion": "You said staging, so git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "On Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "On macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: Can you show me how to open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: What's the command to remove it?", "completion": "You said test-runner, so docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "You said inodes are exhausted, so remove many small files. The command you need is `df -i`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "On Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: What's the command to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I have a folder called src.\nAssistant: Understood — src. What should we do next?\nUser: search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I undo the last commit?", "completion": "Since you're on Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to search text in files — what should I run?", "completion": "On Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Port 3000 is the one I care about.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: What's the command to check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "On Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Got it — 22. What do you want to do with it?\nUser: How do I change the SSH port?", "completion": "You said 22, so sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to push my commits on this system?", "completion": "Given that you're on Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Noted: 22. What's the task?\nUser: What's the command to change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Sam. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: I just started the container cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: copy a file out of it?", "completion": "You said cache, so docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I have a container called web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: What's the command to view its logs?", "completion": "You said web-app, so docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check running processes — what should I run?", "completion": "On Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: how do I stay motivated?", "completion": "Good to meet you, Avery. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: What's the command to check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: Can you show me how to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: What's the command to compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I practice coding?", "completion": "Since you're just starting out, I'll keep this simple — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: How do I count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Quick context: notes.txt is the file I'm using.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Hello, Kai! What's on your mind?\nUser: what is a function?", "completion": "Good to meet you, Kai. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Since a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Parker. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Since you're learning from scratch, I'll avoid jargon — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: port 6379 is the one I'm using.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: How do I connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: Can you show me how to switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: What's the command to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: I'm working in the assets folder.\nAssistant: Noted: assets. What's the task?\nUser: How do I copy it?", "completion": "Since you mentioned assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I stay motivated?", "completion": "Given that you've had a long day, I'll keep this brief — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I have a file called data.csv.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: Can you show me how to count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "Because you're using Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I commit my changes?", "completion": "On Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Noted: dev. What's the task?\nUser: What's the command to push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Ubuntu, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I update the system?", "completion": "On Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Parker. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "Because you're using Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Avery. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to check the Python version?", "completion": "Given that you're on Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "On Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Finley. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is a loop?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to stop a container — what should I run?", "completion": "Because you're using Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I search text in files?", "completion": "Given that you're on Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: Can you show me how to rebase it?", "completion": "You said feature/api, so git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Debian, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I run my tests?", "completion": "Given that you're on Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "Because you're using Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to push my commits — what should I run?", "completion": "Since you're on Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Because you're using Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Given that you've had a long day, I'll keep this brief — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Let's talk about the logs directory.\nAssistant: Noted: logs. What's the task?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "On Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "Since you're on Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Given that you're a beginner, here's a plain explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Understood — index.html. What should we do next?\nUser: open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: I have a container called api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: How do I enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to push my commits on this system?", "completion": "Given that you're on Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I search text in files?", "completion": "Given that you're on Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what should I learn first?", "completion": "You said you're exhausted, so here's the shortest useful explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about the project-alpha directory.\nAssistant: Understood — project-alpha. What should we do next?\nUser: How do I compress it?", "completion": "You said project-alpha, so tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I have a file called app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: run it?", "completion": "You said app.py, so Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to commit my changes?", "completion": "On Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Given that you've had a long day, I'll keep this brief — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: What's the command to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Noted: app.db. What's the task?\nUser: Can you show me how to inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "You said app.py, so Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check a service?", "completion": "Because you're using Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: I have a folder called build.\nAssistant: Understood — build. What should we do next?\nUser: What's the command to delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Given that the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "On Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "On Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Hello, Jesse! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Jesse. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Noted: main. What's the task?\nUser: What's the command to pull the latest?", "completion": "You said main, so git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to list installed packages?", "completion": "Since you're on Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I use the terminal?", "completion": "Since you're just starting out, I'll keep this simple — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I search text in files?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: I have a folder called docs.\nAssistant: Understood — docs. What should we do next?\nUser: list its files?", "completion": "You said docs, so ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: What's the command to restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Quick context: the container is test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: How do I remove it?", "completion": "You said test-runner, so docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what is an array?", "completion": "Because you're new to this, let's start with the basics — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a bug?", "completion": "Because you're new to this, let's start with the basics — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. The command you need is `df -h`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: How do I remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I learn to code?", "completion": "Because you're new to this, let's start with the basics — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Because you're using Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Nice to meet you, Harper. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I install a package?", "completion": "Because you're using Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I run a script?", "completion": "Given that you're on Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. Run `df -h`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to see open ports?", "completion": "Since you're on macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I expose a port?", "completion": "Since you're on Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I update the system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: I've got a file named main.go.\nAssistant: Understood — main.go. What should we do next?\nUser: run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to install a package?", "completion": "On macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Since another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: Can you show me how to tag it?", "completion": "You said release-1.2, so git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Got it — src. What do you want to do with it?\nUser: What's the command to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what's a good first project?", "completion": "Because you're low on energy, I'll give you the simple version — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Because you're using macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Since it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I check the repository status?", "completion": "Because you're using Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: What's the command to view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "On Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: Can you show me how to inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "Because you're using Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: I have a file called server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: What's the command to follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Nice to meet you, Emerson. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Quick context: I'm inside docs.\nAssistant: Noted: docs. What's the task?\nUser: What's the command to list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: Can you show me how to switch to it?", "completion": "You said staging, so git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Hayden. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Logan. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: Can you show me how to rebase it?", "completion": "You said feature/api, so git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: Hey, I'm Riley — nice to meet you.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Riley. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is git?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: The file I'm dealing with is data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: What's the command to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to install a package on this system?", "completion": "On Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what should I learn first?", "completion": "Since you're just starting out, I'll keep this simple — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. Run `df -h`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Taylor. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Since you're on Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to commit my changes?", "completion": "On Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "Since you're on Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Morgan. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Fedora, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "On Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Charlie. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "On Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: how do I stay motivated?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Noted: 22. What's the task?\nUser: How do I change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: how do I stay motivated?", "completion": "Good to meet you, Taylor. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Avery. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Noted: archive.zip. What's the task?\nUser: Can you show me how to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to list installed packages — what should I run?", "completion": "Since you're on Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I have a file called index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to copy a file into a container on this system?", "completion": "Given that you're on Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "Because you're using Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: The file I'm dealing with is data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Riley. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Hello, Jordan! What's on your mind?\nUser: what is a variable?", "completion": "Good to meet you, Jordan. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "On macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to create a branch?", "completion": "Since you're on Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "On Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what is a bug?", "completion": "Given that you've had a long day, I'll keep this brief — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "On Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: How do I open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: I have a folder called docs.\nAssistant: Noted: docs. What's the task?\nUser: Can you show me how to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: Can you show me how to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I see open ports?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Since you're on Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: What's the command to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Noted: assets. What's the task?\nUser: Can you show me how to copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: How do I compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "You said there's a quoting or syntax mistake, so the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I've got a file named backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: What's the command to extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Got it — build. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "Since you're on Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: What's the command to restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: Can you show me how to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: What's the command to pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I debug my code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The container I'm using is redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: What's the command to stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: I have a folder called logs.\nAssistant: Understood — logs. What should we do next?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: how do I learn to code?", "completion": "Good to meet you, Charlie. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to install a package?", "completion": "Since you're on Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "On Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I have a container called api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: enter its shell?", "completion": "You said api-server, so docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: Can you show me how to extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "On Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I check the Python version?", "completion": "Since you're on Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: Can you show me how to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Understood — main.go. What should we do next?\nUser: What's the command to run it?", "completion": "You said main.go, so go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Understood — staging. What should we do next?\nUser: switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Arch Linux, find filters by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Hello, Charlie! What's on your mind?\nUser: how do I practice coding?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is git?", "completion": "Given that you've had a long day, I'll keep this brief — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to check a service — what should I run?", "completion": "Because you're using macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I install a package?", "completion": "On Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Noted: index.html. What's the task?\nUser: Can you show me how to open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I ask for help?", "completion": "Because you're low on energy, I'll give you the simple version — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Logan. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "On Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I search text in files?", "completion": "On Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "Since you're on Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "Since you're on Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Thanks, Alex. What would you like to know?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Alex. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Noted: 9000. What's the task?\nUser: scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I push my commits?", "completion": "Since you're on Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to create a branch — what should I run?", "completion": "Because you're using Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: how do I learn to code?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to search text in files — what should I run?", "completion": "On Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: How do I make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is git?", "completion": "Because you're new to this, let's start with the basics — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: Can you show me how to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: what should I learn first?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "On Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: how do I stay motivated?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "Given that you're on Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is a bug?", "completion": "Since you mentioned you're tired, let's keep this short and practical — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: Can you help me understand this: what is a variable?", "completion": "Good to meet you, Parker. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Noted: app.db. What's the task?\nUser: Can you show me how to inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I check disk usage?", "completion": "Because you're using Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: How do I open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Given that you're using a different virtual environment, activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check a service?", "completion": "On macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Hello, Jamie! What's on your mind?\nUser: how do I learn to code?", "completion": "Good to meet you, Jamie. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: I have a file called index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: How do I open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "On Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Help — my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is a variable?", "completion": "Given that you've had a long day, I'll keep this brief — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Understood — main. What should we do next?\nUser: What's the command to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I copy a file into a container?", "completion": "Because you're using Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Noted: 6379. What's the task?\nUser: Can you show me how to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Understood — src. What should we do next?\nUser: Can you show me how to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: how do I learn to code?", "completion": "Given that you're a beginner, here's a plain explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: What's the command to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "You said you're exhausted, so here's the shortest useful explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: Can you show me how to push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Noted: data.csv. What's the task?\nUser: Can you show me how to count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. Run `df -h`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Since it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "You said the branch is protected, so push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: How do I stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Let's talk about main.go — it's a file I need to handle.\nAssistant: Understood — main.go. What should we do next?\nUser: What's the command to run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Understood — build. What should we do next?\nUser: What's the command to delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Because you're using Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Understood — notes.txt. What should we do next?\nUser: view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I install a package?", "completion": "On Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I install a package?", "completion": "Given that you're on Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Got it — main. What do you want to do with it?\nUser: Can you show me how to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: How do I inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: What's the command to switch to it?", "completion": "You said staging, so git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "On Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: How do I open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a variable?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Noted: 8080. What's the task?\nUser: What's the command to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Noted: dev. What's the task?\nUser: Can you show me how to push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "Because you're using Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "On macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Understood — docs. What should we do next?\nUser: Can you show me how to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I update the system?", "completion": "Given that you're on Fedora, dnf handles system upgrades. You can do it with `sudo dnf upgrade`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to search text in files?", "completion": "Because you're using Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: how do I learn to code?", "completion": "Good to meet you, Jamie. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Noted: notes.txt. What's the task?\nUser: view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "Because you're using Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: I'm working with port 5000.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: Can you show me how to restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: What's the command to test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: Can you show me how to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Sam. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to see open ports?", "completion": "On Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to find large files?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "Since you're on Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is a variable?", "completion": "Since you're learning from scratch, I'll avoid jargon — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I stay motivated?", "completion": "Because you're new to this, let's start with the basics — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: Can you show me how to check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "Since you're on Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: how do I stay motivated?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Noted: src. What's the task?\nUser: What's the command to search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to check container resource usage?", "completion": "Given that you're on Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "On Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "Given that you're on Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Quick context: notes.txt is the file I'm using.\nAssistant: Understood — notes.txt. What should we do next?\nUser: Can you show me how to view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a function?", "completion": "Because you're low on energy, I'll give you the simple version — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. Run `which bash`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to enter a container shell?", "completion": "On Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "You said root owns the file, so you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: Can you show me how to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: How do I forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. Run `df -h`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I search text in files?", "completion": "On macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to stash my work?", "completion": "On Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to list installed packages?", "completion": "Given that you're on Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: what is a variable?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I ask for help?", "completion": "You said you're exhausted, so here's the shortest useful explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: what should I learn first?", "completion": "Because you're new to this, let's start with the basics — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: What's the command to push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is git?", "completion": "Given that you've had a long day, I'll keep this brief — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: how do I use the terminal?", "completion": "Good to meet you, Emerson. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "You said the remote rejected your credentials, so refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: I'm working with port 443.\nAssistant: Understood — 443. What should we do next?\nUser: check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I find large files?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to find large files?", "completion": "Given that you're on macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Let's talk about container cache.\nAssistant: Understood — cache. What should we do next?\nUser: copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to freeze my dependencies?", "completion": "On Python, pip freeze lists installed versions. Run `pip freeze > requirements.txt`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using macOS, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I create a virtual environment?", "completion": "Given that you're on Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: What's the command to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Morgan. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "You said the package isn't installed, so install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is an array?", "completion": "Given that you've had a long day, I'll keep this brief — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is an array?", "completion": "Because you're low on energy, I'll give you the simple version — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. Use `df -h` to fix it."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I freeze my dependencies?", "completion": "Because you're using Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Since you're just starting out, I'll keep this simple — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: The folder I'm using is tmp.\nAssistant: Noted: tmp. What's the task?\nUser: clean it?", "completion": "Since you mentioned tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Noted: dev. What's the task?\nUser: How do I push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Because systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Let's talk about server.log — it's a file I need to handle.\nAssistant: Noted: server.log. What's the task?\nUser: What's the command to follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check running processes — what should I run?", "completion": "On macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Noted: assets. What's the task?\nUser: Can you show me how to copy it?", "completion": "You said assets, so cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: Can you show me how to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I find large files?", "completion": "Because you're using Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I search text in files?", "completion": "Since you're on Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: how do I debug my code?", "completion": "Good to meet you, Casey. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to install a package?", "completion": "Since you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: I have a container called api-server.\nAssistant: Noted: api-server. What's the task?\nUser: enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Because you're new to this, let's start with the basics — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: How do I unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: The file I'm dealing with is data.csv.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Since the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I create a virtual environment?", "completion": "Because you're using Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: restart it?", "completion": "You said postgres-db, so docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Noted: app.py. What's the task?\nUser: What's the command to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to commit my changes — what should I run?", "completion": "Given that you're on Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: Can you show me how to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check a service — what should I run?", "completion": "On macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I pull the latest changes?", "completion": "Given that you're on Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: What's the command to unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I update the system?", "completion": "On Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: what's a good first project?", "completion": "Nice to meet you, Alex. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Jamie. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to push my commits?", "completion": "Because you're using Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I install a package?", "completion": "Since you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: how do I practice coding?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Given that another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: what is a function?", "completion": "You said you're exhausted, so here's the shortest useful explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The directory I'm dealing with is logs.\nAssistant: Noted: logs. What's the task?\nUser: How do I check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Because you're new to this, let's start with the basics — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: how do I practice coding?", "completion": "Nice to meet you, Jesse. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Noted: 5000. What's the task?\nUser: How do I restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: How do I copy it?", "completion": "You said assets, so cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I update the system?", "completion": "Given that you're on Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Hello, Kai! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Kai. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: how do I stay motivated?", "completion": "Good to meet you, Parker. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to install a package?", "completion": "Because you're using macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Since you're on Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: How do I restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Noted: build. What's the task?\nUser: Can you show me how to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I install a package?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: Can you show me how to make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Logan. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I have a file called config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: how do I practice coding?", "completion": "Good to meet you, Riley. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: What's the command to rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Because you're low on energy, I'll give you the simple version — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check running processes?", "completion": "Given that you're on Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Noted: index.html. What's the task?\nUser: How do I open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: What's the command to change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: What's the command to push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: How do I change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I check disk usage?", "completion": "On macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: how do I learn to code?", "completion": "Nice to meet you, Casey. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: What's the command to extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Hello, Dakota! What's on your mind?\nUser: how do I practice coding?", "completion": "Good to meet you, Dakota. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: Hi, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Noted: 22. What's the task?\nUser: Can you show me how to change the SSH port?", "completion": "You said 22, so sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: Can you show me how to push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I run my tests?", "completion": "Since you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I pull the latest changes?", "completion": "Because you're using Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Morgan. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I update the system?", "completion": "Given that you're on Debian, apt performs the upgrade. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I view a container's logs?", "completion": "On Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "Because you're using Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: what is a variable?", "completion": "Nice to meet you, Dakota. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I read an error message?", "completion": "Since you're just starting out, I'll keep this simple — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. Run `df -h`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I see open ports?", "completion": "Since you're on Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Noted: src. What's the task?\nUser: Can you show me how to search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: what should I learn first?", "completion": "Good to meet you, Emerson. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: How do I extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Casey. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I have a container called cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: Can you show me how to copy a file out of it?", "completion": "You said cache, so docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Taylor. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: What's the command to pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I install a package?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I install a package?", "completion": "Because you're using Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: I just started the container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: How do I restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "Since you're on Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I search text in files?", "completion": "Given that you're on Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "On Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "Given that you're on Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Ubuntu, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I check a service?", "completion": "Because you're using Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: Help — my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check disk usage?", "completion": "Because you're using Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is git?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Given that you've had a long day, I'll keep this brief — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I practice coding?", "completion": "You said you're exhausted, so here's the shortest useful explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Given that you're on Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Got it — src. What do you want to do with it?\nUser: search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: Let's talk about main.go — it's a file I need to handle.\nAssistant: Noted: main.go. What's the task?\nUser: How do I run it?", "completion": "You said main.go, so go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: I've got a file named archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: Can you show me how to unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: Can you show me how to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Hello, Quinn! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Quinn. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "On Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "On Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "You said the package isn't installed, so install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: Quick context: my branch is staging.\nAssistant: Noted: staging. What's the task?\nUser: switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to check running processes on this system?", "completion": "On Ubuntu, processes are visible with ps or top. The command is `ps aux`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: Can you show me how to scan it for a service?", "completion": "You said 9000, so nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I learn to code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a function?", "completion": "Given that you're a beginner, here's a plain explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: What's the command to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: How do I view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I check disk usage?", "completion": "Since you're on Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: What's the command to compress it?", "completion": "You said project-alpha, so tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Because the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to upgrade pip?", "completion": "On Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: The file I'm dealing with is photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: How do I check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Quick context: port 6379 is the one I'm using.\nAssistant: Noted: 6379. What's the task?\nUser: Can you show me how to connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what is an array?", "completion": "Given that you're a beginner, here's a plain explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: how do I use the terminal?", "completion": "Good to meet you, Parker. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: My command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: The service is running on port 443.\nAssistant: Understood — 443. What should we do next?\nUser: check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: what's a good first project?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check disk usage?", "completion": "Since you're on Fedora, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: How do I search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: how do I use the terminal?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Jesse. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "On Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to list running containers on this system?", "completion": "Given that you're on Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to push my commits?", "completion": "Given that you're on Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Got it — build. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Because you're using macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: Help — my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: What's the command to test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: What's the command to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I stay motivated?", "completion": "Given that you've had a long day, I'll keep this brief — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "On Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Got it — venv. What do you want to do with it?\nUser: remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Since you're learning from scratch, I'll avoid jargon — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: How do I make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Understood — 443. What should we do next?\nUser: check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to check the Python version?", "completion": "Since you're on Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: What's the command to restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "Given that you're on Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to expose a port on this system?", "completion": "Given that you're on Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: I just started the container web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: How do I view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: What's the command to view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Understood — server.log. What should we do next?\nUser: What's the command to follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I see open ports?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Finley. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: Can you show me how to make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: what's a good first project?", "completion": "Nice to meet you, Jesse. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: Quick context: config.json is the file I'm using.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: What's the command to pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to view the history?", "completion": "Since you're on Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Quick question: what's a good first project?", "completion": "Nice to meet you, Riley. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: how do I use the terminal?", "completion": "Good to meet you, Taylor. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I use the terminal?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Dakota. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: how do I debug my code?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to install a package — what should I run?", "completion": "Since you're on macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: I have a folder called logs.\nAssistant: Noted: logs. What's the task?\nUser: How do I check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Kai. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "On Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Noted: main. What's the task?\nUser: pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: Can you show me how to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: How do I push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "Given that you're on Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Taylor. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "On Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I list installed packages?", "completion": "Because you're using Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "On Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: How do I copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: Can you show me how to view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is an array?", "completion": "Because you're low on energy, I'll give you the simple version — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "Given that you're on Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Hello, Casey! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Harper. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm on branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: How do I push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to commit my changes?", "completion": "Given that you're on Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: The service is running on port 3000.\nAssistant: Understood — 3000. What should we do next?\nUser: What's the command to check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Quick question: how do I debug my code?", "completion": "Nice to meet you, Sam. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I check disk usage?", "completion": "Since you're on Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: How do I restart it?", "completion": "You said postgres-db, so docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I check a service?", "completion": "On Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. Run `df -h`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: Can you show me how to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is a function?", "completion": "Given that you're a beginner, here's a plain explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: what is a variable?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: What's the command to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Noted: 8080. What's the task?\nUser: How do I kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: what is git?", "completion": "Because you're new to this, let's start with the basics — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I update the system?", "completion": "Because you're using Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: What's the command to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "On Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: Can you show me how to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Let's talk about container worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: What's the command to check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: What's the command to restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to check a service on this system?", "completion": "On Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Let's talk about the tmp directory.\nAssistant: Noted: tmp. What's the task?\nUser: What's the command to clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Understood — docs. What should we do next?\nUser: How do I list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is a bug?", "completion": "Since you mentioned you're tired, let's keep this short and practical — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is a bug?", "completion": "Because you're low on energy, I'll give you the simple version — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: what is a function?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Hello, Casey! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Casey. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Noted: build. What's the task?\nUser: delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: How do I remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to commit my changes — what should I run?", "completion": "On Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "On Ubuntu, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm inside tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "On Fedora, dnf handles system upgrades. You can do it with `sudo dnf upgrade`."} +{"prompt": "User: Quick context: port 27017 is the one I'm using.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to commit my changes on this system?", "completion": "Because you're using Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm working with port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "Given that you're on Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "Given that you're on Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Taylor. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to find large files?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: What's the command to enter its shell?", "completion": "You said api-server, so docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Understood — build. What should we do next?\nUser: How do I delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I find large files?", "completion": "Given that you're on Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: How do I remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using macOS, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Given that you're a beginner, here's a plain explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: what's a good first project?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check running processes?", "completion": "Since you're on macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: I just started the container cache.\nAssistant: Understood — cache. What should we do next?\nUser: copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "Since you're on Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: Can you show me how to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: I just started the container cache.\nAssistant: Understood — cache. What should we do next?\nUser: How do I copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Noted: server.log. What's the task?\nUser: follow it?", "completion": "You said server.log, so tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check a service?", "completion": "Because you're using Fedora, systemd controls services. Run `systemctl status service-name`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: What's the command to compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I upgrade pip?", "completion": "Since you're on Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to update the system?", "completion": "On Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: How do I run it?", "completion": "You said main.go, so go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I stay motivated?", "completion": "Because you're low on energy, I'll give you the simple version — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Noted: deploy.sh. What's the task?\nUser: Can you show me how to make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a loop?", "completion": "Because you're low on energy, I'll give you the simple version — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to pull the latest changes?", "completion": "Given that you're on Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: How do I delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: How do I unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: what's a good first project?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to search text in files?", "completion": "Because you're using Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to find large files?", "completion": "Because you're using Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check disk usage?", "completion": "On Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: How do I run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Noted: 3000. What's the task?\nUser: check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Logan. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I have a file called server.log.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: Can you show me how to follow it?", "completion": "You said server.log, so tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Understood — 8080. What should we do next?\nUser: What's the command to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Hayden. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I view a container's logs?", "completion": "Since you're on Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I check a service?", "completion": "Given that you're on macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I check a service?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I search text in files?", "completion": "Since you're on Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to push my commits on this system?", "completion": "On Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Understood — assets. What should we do next?\nUser: How do I copy it?", "completion": "You said assets, so cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to check the repository status — what should I run?", "completion": "Since you're on Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: How do I tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Help — my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check a service?", "completion": "On Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to check a service?", "completion": "Since you're on Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I check container resource usage?", "completion": "Given that you're on Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to check a service?", "completion": "On Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Thanks, Finley. What would you like to know?\nUser: how do I debug my code?", "completion": "Nice to meet you, Finley. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: Can you show me how to count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Understood — project-alpha. What should we do next?\nUser: How do I compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Jesse. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "Because you're using Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Since you're on Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: How do I pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: what is a variable?", "completion": "Nice to meet you, Sam. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "On Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to update the system?", "completion": "Because you're using macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I see open ports?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to commit my changes — what should I run?", "completion": "On Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Riley. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to view a container's logs on this system?", "completion": "Because you're using Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to copy a file into a container on this system?", "completion": "On Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: What's the command to pretty-print it?", "completion": "You said config.json, so jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to view a container's logs on this system?", "completion": "Given that you're on Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "On Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: Quick context: my branch is staging.\nAssistant: Understood — staging. What should we do next?\nUser: switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to update the system?", "completion": "On Debian, apt performs the upgrade. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Hello, Finley! What's on your mind?\nUser: what is a loop?", "completion": "Nice to meet you, Finley. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: What's the command to follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: I just started the container postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: How do I restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Noted: 8080. What's the task?\nUser: kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "Since you're on Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: I'm inside docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: How do I list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a variable?", "completion": "Because you're new to this, let's start with the basics — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Parker. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to update the system — what should I run?", "completion": "Since you're on macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: Docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "On Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I install a package?", "completion": "Since you're on macOS, Homebrew is the usual package manager. You can do it with `brew install package-name`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check disk usage?", "completion": "Since you're on Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "On Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: Can you show me how to forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Understood — venv. What should we do next?\nUser: What's the command to remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I read an error message?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: How do I follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Jesse. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The container I'm using is postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I see open ports?", "completion": "Given that you're on Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to run a script on this system?", "completion": "Since you're on Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: How do I check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Understood — main.go. What should we do next?\nUser: How do I run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: What's the command to rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: What's the command to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "Since you're on Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Understood — build. What should we do next?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: how do I ask for help?", "completion": "Because you're low on energy, I'll give you the simple version — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Noted: 5000. What's the task?\nUser: What's the command to restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I see open ports?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. You can do it with `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: How do I change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I've got a file named server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: How do I follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. Use `df -h` to fix it."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: What's the command to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Let's talk about container worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: What's the command to check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what's a good first project?", "completion": "Given that you've had a long day, I'll keep this brief — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to update the system?", "completion": "Because you're using Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Charlie. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I check running processes?", "completion": "Given that you're on Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: What's the command to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Understood — app.py. What should we do next?\nUser: What's the command to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to install a package — what should I run?", "completion": "Because you're using macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: How do I remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: I have something listening on port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: Can you show me how to check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is a loop?", "completion": "Because you're low on energy, I'll give you the simple version — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: How do I view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is git?", "completion": "Since you're just starting out, I'll keep this simple — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I search text in files?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "You said the remote rejected your credentials, so refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to list running containers?", "completion": "Because you're using Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: I'm working in the project-alpha folder.\nAssistant: Understood — project-alpha. What should we do next?\nUser: How do I compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: How do I test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is git?", "completion": "Given that you've had a long day, I'll keep this brief — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Understood — docs. What should we do next?\nUser: list its files?", "completion": "You said docs, so ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to enter a container shell?", "completion": "Since you're on Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "Because you're using Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to install a package?", "completion": "On macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: Can you show me how to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: How do I open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "Because you're using Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: What's the command to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: enter its shell?", "completion": "You said api-server, so docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Noted: deploy.sh. What's the task?\nUser: Can you show me how to make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Let's talk about the logs directory.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: How do I check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: What's the command to inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Because the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: How do I extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: Can you show me how to compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: How do I kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: How do I check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Quick context: the container is test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: I'm working with port 443.\nAssistant: Understood — 443. What should we do next?\nUser: How do I check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to run my tests?", "completion": "On Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: Can you show me how to switch to it?", "completion": "You said staging, so git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Quick context: the container is test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: What's the command to remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: How do I open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: Can you show me how to inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Hayden. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: how do I read an error message?", "completion": "Because you're low on energy, I'll give you the simple version — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: what is a variable?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Understood — 5432. What should we do next?\nUser: How do I test the database port?", "completion": "You said 5432, so nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: Can you show me how to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: I just started the container api-server.\nAssistant: Noted: api-server. What's the task?\nUser: How do I enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Given that inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Given that inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I run my tests?", "completion": "Since you're on Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to create a branch?", "completion": "On Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Noted: config.json. What's the task?\nUser: pretty-print it?", "completion": "You said config.json, so jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: Quick question: what's a good first project?", "completion": "Nice to meet you, Emerson. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: I just started the container api-server.\nAssistant: Noted: api-server. What's the task?\nUser: What's the command to enter its shell?", "completion": "You said api-server, so docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: Can you show me how to make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: How do I unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: how do I use the terminal?", "completion": "Good to meet you, Kai. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to install a package — what should I run?", "completion": "On macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: What's the command to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: I'm working with port 22.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: What's the command to change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check a service?", "completion": "On Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Given that you've had a long day, I'll keep this brief — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "Because you're using Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Got it — build. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "You said build, so rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "On Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is a loop?", "completion": "Since you're just starting out, I'll keep this simple — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "Because you're using Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Noted: 22. What's the task?\nUser: Can you show me how to change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to list running containers?", "completion": "Given that you're on Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check disk usage?", "completion": "Given that you're on Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to undo the last commit on this system?", "completion": "Because you're using Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Given that the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: I have a container called cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: Can you show me how to copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to enter a container shell on this system?", "completion": "Since you're on Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Noted: 8000. What's the task?\nUser: What's the command to forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Noted: build. What's the task?\nUser: Can you show me how to delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Noted: staging. What's the task?\nUser: How do I switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is a function?", "completion": "You said you're exhausted, so here's the shortest useful explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "Given that you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: Quick context: I'm inside tmp.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: What's the command to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: Can you show me how to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on Fedora, dnf handles system upgrades. You can do it with `sudo dnf upgrade`."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Understood — archive.zip. What should we do next?\nUser: Can you show me how to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what should I learn first?", "completion": "Since you're learning from scratch, I'll avoid jargon — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: change the SSH port?", "completion": "You said 22, so sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I find large files?", "completion": "On Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I have a file called data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: Can you show me how to count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Thanks, Logan. What would you like to know?\nUser: what is a loop?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Hayden. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: how do I practice coding?", "completion": "Because you're low on energy, I'll give you the simple version — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: How do I forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "You said the branch is protected, so push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: How do I run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I have a folder called src.\nAssistant: Understood — src. What should we do next?\nUser: search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I check the repository status?", "completion": "On Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: The service is running on port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: check what's listening?", "completion": "You said 3000, so ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I run my tests?", "completion": "Since you're on Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: I'm working with port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: check what's listening?", "completion": "You said 3000, so ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: The directory I'm dealing with is logs.\nAssistant: Noted: logs. What's the task?\nUser: How do I check its size?", "completion": "You said logs, so du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is git?", "completion": "You said you're exhausted, so here's the shortest useful explanation — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: Can you show me how to follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I expose a port?", "completion": "Because you're using Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Since the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a bug?", "completion": "Since you're just starting out, I'll keep this simple — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: what should I learn first?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: What's the command to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: I'm working on the file photo.jpg.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: I've got a file named archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "Because you're using Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "Given that you're on Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I search text in files?", "completion": "Because you're using Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. The command you need is `df -h`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "Since you're on Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Noted: staging. What's the task?\nUser: Can you show me how to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to install a package on this system?", "completion": "On Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: What's the command to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I search text in files?", "completion": "Because you're using macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Jamie. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to install a package?", "completion": "Since you're on Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: I have a file called server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: What's the command to follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Given that you're on Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Because systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I stop a container?", "completion": "Since you're on Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Since another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "Since you're on Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "Because you're using Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: What's the command to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Ubuntu, apt handles package updates. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I search text in files?", "completion": "Given that you're on Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Emerson. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Hayden. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to install a package on this system?", "completion": "On macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: My git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to list running containers — what should I run?", "completion": "On Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "Given that you're on Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Dakota. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to enter a container shell?", "completion": "Since you're on Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Because you're low on energy, I'll give you the simple version — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "On Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "On Docker, docker run publishes ports with -p. The command is `docker run -p 8080:80 image-name`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "Since you're on Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to push my commits?", "completion": "Since you're on Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is a loop?", "completion": "Because you're new to this, let's start with the basics — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I update the system?", "completion": "On Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to pull the latest changes?", "completion": "On Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Since you're on Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "Since you're on Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: What's the command to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: How do I connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I install a package?", "completion": "Given that you're on Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: How do I check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: How do I kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I check disk usage?", "completion": "Because you're using macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is a variable?", "completion": "Given that you're a beginner, here's a plain explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to check container resource usage on this system?", "completion": "Because you're using Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to freeze my dependencies?", "completion": "Given that you're on Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "Since you're on Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is git?", "completion": "You said you're exhausted, so here's the shortest useful explanation — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I update the system?", "completion": "Because you're using Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "On Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "On Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "Because you're using Git, git status summarizes changes. You can do it with `git status`."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: Can you show me how to run it?", "completion": "You said app.py, so Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: how do I ask for help?", "completion": "Since you're just starting out, I'll keep this simple — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to update the system — what should I run?", "completion": "Since you're on macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: I have a file called app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "You said app.py, so Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I stop a container?", "completion": "Because you're using Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Alex. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Noted: logs. What's the task?\nUser: What's the command to check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I search text in files?", "completion": "Given that you're on macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: How do I extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Got it — main. What do you want to do with it?\nUser: How do I pull the latest?", "completion": "You said main, so git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to remove an image — what should I run?", "completion": "Because you're using Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check running processes on this system?", "completion": "On Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: Quick context: port 5000 is the one I'm using.\nAssistant: Understood — 5000. What should we do next?\nUser: How do I restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: I'm on branch main.\nAssistant: Understood — main. What should we do next?\nUser: Can you show me how to pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: what should I learn first?", "completion": "Good to meet you, Avery. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "On macOS, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: How do I scan it for a service?", "completion": "You said 9000, so nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I search text in files?", "completion": "On Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: What's the command to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Finley. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is a loop?", "completion": "Given that you're a beginner, here's a plain explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check a service?", "completion": "On Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I enter a container shell?", "completion": "On Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "On Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "Because you're using Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I undo the last commit?", "completion": "On Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: Let's talk about main.go — it's a file I need to handle.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: What's the command to run it?", "completion": "You said main.go, so go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I install a package?", "completion": "On macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to update the system?", "completion": "On Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: The service is running on port 22.\nAssistant: Understood — 22. What should we do next?\nUser: Can you show me how to change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Noted: 8080. What's the task?\nUser: kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Noted: web-app. What's the task?\nUser: Can you show me how to view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: I'm working with port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Since you're on Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: I have a folder called logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: Can you show me how to check its size?", "completion": "You said logs, so du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: Can you show me how to test the database port?", "completion": "You said 5432, so nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I install a package?", "completion": "On Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: How do I connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: How do I open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Dakota. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Got it — 443. What do you want to do with it?\nUser: What's the command to check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: My script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: what is a variable?", "completion": "Good to meet you, Jamie. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: How do I check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I've got a file named main.go.\nAssistant: Noted: main.go. What's the task?\nUser: Can you show me how to run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "You said the package isn't installed, so install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: How do I merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "Because you're using Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "On Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Since a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: Can you show me how to restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: I'm working in the assets folder.\nAssistant: Understood — assets. What should we do next?\nUser: How do I copy it?", "completion": "Since you mentioned assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: Can you show me how to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: What's the command to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "You said the package isn't installed, so install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Quick context: my branch is staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: Can you show me how to switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "On Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: How do I make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "On Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: what's a good first project?", "completion": "Because you're low on energy, I'll give you the simple version — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I install a package?", "completion": "Because you're using Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: how do I practice coding?", "completion": "Nice to meet you, Sam. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to update the system?", "completion": "On Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is a function?", "completion": "Because you're new to this, let's start with the basics — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: How do I kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: Can you show me how to clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Finley. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "Since you're on Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I find large files?", "completion": "Because you're using Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Logan. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I install a package?", "completion": "Given that you're on Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: What's the command to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Riley. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I check the repository status?", "completion": "Given that you're on Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. Use `df -h` to fix it."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "On Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: What's the command to make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Noted: assets. What's the task?\nUser: How do I copy it?", "completion": "You said assets, so cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Noted: assets. What's the task?\nUser: What's the command to copy it?", "completion": "You said assets, so cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "Since you're on Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Quick context: my branch is staging.\nAssistant: Noted: staging. What's the task?\nUser: What's the command to switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "You said inodes are exhausted, so remove many small files. The command you need is `df -i`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Avery. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Nice to meet you, Quinn. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working in the assets folder.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: How do I copy it?", "completion": "Since you mentioned assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to check the Python version — what should I run?", "completion": "On Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I push my commits?", "completion": "Because you're using Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Can you help me understand this: what should I learn first?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I search text in files?", "completion": "Because you're using Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Understood — build. What should we do next?\nUser: How do I delete it?", "completion": "You said build, so rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Noted: venv. What's the task?\nUser: How do I remove it?", "completion": "You said venv, so rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to list running containers?", "completion": "Given that you're on Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: What's the command to check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Understood — build. What should we do next?\nUser: Can you show me how to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is a loop?", "completion": "Since you're learning from scratch, I'll avoid jargon — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to remove an image?", "completion": "On Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to install a package?", "completion": "Since you're on Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I update the system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: I have a folder called build.\nAssistant: Understood — build. What should we do next?\nUser: delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: I just started the container api-server.\nAssistant: Noted: api-server. What's the task?\nUser: What's the command to enter its shell?", "completion": "You said api-server, so docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Jamie. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Let's talk about main.go — it's a file I need to handle.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: How do I run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "On macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: How do I switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "Given that you're on Python, pip freeze lists installed versions. Run `pip freeze > requirements.txt`."} +{"prompt": "User: My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I'm working with the container redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: What's the command to check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: What's the command to inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Noted: src. What's the task?\nUser: How do I search inside it?", "completion": "You said src, so grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "Because you're using Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Noted: 5432. What's the task?\nUser: How do I test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Noted: server.log. What's the task?\nUser: Can you show me how to follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: I'm working with port 22.\nAssistant: Understood — 22. What should we do next?\nUser: change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to upgrade pip?", "completion": "Since you're on Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: How do I remove it?", "completion": "You said test-runner, so docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Because you're low on energy, I'll give you the simple version — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: How do I extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Because you're using Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Dakota. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: what is a variable?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check a service?", "completion": "On Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check disk usage?", "completion": "On macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to run a script?", "completion": "Since you're on Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Jamie. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check disk usage on this system?", "completion": "On Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Because the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Let's talk about server.log — it's a file I need to handle.\nAssistant: Noted: server.log. What's the task?\nUser: How do I follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: what is a function?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: How do I list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Noted: 9000. What's the task?\nUser: scan it for a service?", "completion": "You said 9000, so nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check a service?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Help — my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to check a service?", "completion": "Because you're using macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Noted: api-server. What's the task?\nUser: Can you show me how to enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Port 3000 is the one I care about.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: How do I check what's listening?", "completion": "You said 3000, so ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "On Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to copy a file into a container on this system?", "completion": "On Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Noted: app.db. What's the task?\nUser: Can you show me how to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: How do I stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: how do I use the terminal?", "completion": "Because you're new to this, let's start with the basics — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Sam. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The service is running on port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: Can you show me how to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Understood — build. What should we do next?\nUser: Can you show me how to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: What's the command to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "Because you're using Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Noted: logs. What's the task?\nUser: How do I check its size?", "completion": "You said logs, so du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: How do I forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: Can you show me how to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Let's talk about container cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: What's the command to copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: What's the command to forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: how do I stay motivated?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I push my commits?", "completion": "Since you're on Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I commit my changes?", "completion": "Since you're on Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: I have a folder called build.\nAssistant: Got it — build. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I remove an image?", "completion": "On Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Let's talk about branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: What's the command to push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: Can you show me how to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Noted: src. What's the task?\nUser: How do I search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: I just started the container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: What's the command to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: How do I compress it?", "completion": "You said project-alpha, so tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I check running processes?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: Quick context: config.json is the file I'm using.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: Can you show me how to pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "You said the remote rejected your credentials, so refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Thanks, I'll remember feature/api. How can I help?\nUser: How do I rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check a service?", "completion": "Given that you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: Can you show me how to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: How do I check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: What's the command to list its files?", "completion": "Since you mentioned docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: How do I remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Noted: data.csv. What's the task?\nUser: What's the command to count its rows?", "completion": "You said data.csv, so wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Since the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: how do I use the terminal?", "completion": "Given that you're a beginner, here's a plain explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to stash my work on this system?", "completion": "On Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Noted: 22. What's the task?\nUser: change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: I just started the container cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: What's the command to copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Noted: staging. What's the task?\nUser: Can you show me how to switch to it?", "completion": "You said staging, so git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: What's the command to extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: How do I open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check a service?", "completion": "On Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Got it — docs. What do you want to do with it?\nUser: What's the command to list its files?", "completion": "Since you mentioned docs, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I search text in files?", "completion": "Given that you're on Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Quinn. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Understood — 443. What should we do next?\nUser: How do I check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Since you're on Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Taylor. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Noted: notes.txt. What's the task?\nUser: What's the command to view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: The service is running on port 443.\nAssistant: Understood — 443. What should we do next?\nUser: What's the command to check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Understood — assets. What should we do next?\nUser: Can you show me how to copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Understood — assets. What should we do next?\nUser: copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: Can you show me how to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: How do I check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: I'm on branch feature/api.\nAssistant: Thanks, I'll remember feature/api. How can I help?\nUser: What's the command to rebase it?", "completion": "You said feature/api, so git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a loop?", "completion": "Given that you've had a long day, I'll keep this brief — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The folder I'm using is tmp.\nAssistant: Noted: tmp. What's the task?\nUser: What's the command to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Casey. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Casey. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: Can you show me how to rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to check running processes?", "completion": "On Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: copy it?", "completion": "You said assets, so cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "On macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. Run `df -h`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Let's talk about branch main.\nAssistant: Got it — main. What do you want to do with it?\nUser: Can you show me how to pull the latest?", "completion": "You said main, so git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: The file I'm dealing with is config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what should I learn first?", "completion": "Given that you've had a long day, I'll keep this brief — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what should I learn first?", "completion": "Because you're new to this, let's start with the basics — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Let's talk about container cache.\nAssistant: Understood — cache. What should we do next?\nUser: copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: what is a function?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "Because you're using Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I find large files?", "completion": "On Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: Help — my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: Can you show me how to test the database port?", "completion": "You said 5432, so nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: Can you show me how to make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Noted: logs. What's the task?\nUser: check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to run my tests?", "completion": "Because you're using Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I commit my changes?", "completion": "On Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I find large files?", "completion": "On Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "Because you're using Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: What's the command to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I practice coding?", "completion": "Since you mentioned you're tired, let's keep this short and practical — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: How do I check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: I have a folder called src.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: Can you show me how to search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Since you're just starting out, I'll keep this simple — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: how do I practice coding?", "completion": "Since you're learning from scratch, I'll avoid jargon — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: What's the command to check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: how do I debug my code?", "completion": "Nice to meet you, Riley. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "On Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "On Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what should I learn first?", "completion": "Since you mentioned you're tired, let's keep this short and practical — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I see open ports?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "On Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: What's the command to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I view the history?", "completion": "On Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is a function?", "completion": "Since you're learning from scratch, I'll avoid jargon — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: How do I clean it?", "completion": "Since you mentioned tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. Run `command | less`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: Can you show me how to test the database port?", "completion": "You said 5432, so nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I check disk usage?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. Run `ls -la`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to view a container's logs — what should I run?", "completion": "On Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Charlie. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: Can you show me how to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Got it — main. What do you want to do with it?\nUser: pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: How do I delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: How do I check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to run my tests?", "completion": "Given that you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Quick context: config.json is the file I'm using.\nAssistant: Understood — config.json. What should we do next?\nUser: Can you show me how to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: The service is running on port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. Use `df -h` to fix it."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: Can you show me how to switch to it?", "completion": "You said staging, so git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Jordan. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: Can you show me how to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: Let's talk about the project-alpha directory.\nAssistant: Understood — project-alpha. What should we do next?\nUser: How do I compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: How do I merge it into main?", "completion": "You said feature/login, so git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Noted: data.csv. What's the task?\nUser: count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to check disk usage?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The file I'm dealing with is config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: How do I pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to view the history on this system?", "completion": "Because you're using Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: Hey, I'm Riley — nice to meet you.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Riley. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Hayden. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: Can you show me how to enter its shell?", "completion": "You said api-server, so docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to install a package?", "completion": "Since you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Let's talk about branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: What's the command to push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I ask for help?", "completion": "You said you're exhausted, so here's the shortest useful explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Since you're on Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Let's talk about the logs directory.\nAssistant: Noted: logs. What's the task?\nUser: Can you show me how to check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Noted: deploy.sh. What's the task?\nUser: make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is a bug?", "completion": "You said you're exhausted, so here's the shortest useful explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: My service won't start, can you help?\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to stash my work on this system?", "completion": "Because you're using Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check running processes?", "completion": "Since you're on macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Jesse. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Help — my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Given that inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I see open ports?", "completion": "On macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: what is a function?", "completion": "Good to meet you, Casey. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what's a good first project?", "completion": "Because you're low on energy, I'll give you the simple version — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: run it?", "completion": "You said app.py, so Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "Because you're using Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Understood — archive.zip. What should we do next?\nUser: Can you show me how to unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I stop a container?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what is a loop?", "completion": "Because you're new to this, let's start with the basics — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The service is running on port 22.\nAssistant: Noted: 22. What's the task?\nUser: change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: Can you show me how to forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: What's the command to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I install a package?", "completion": "Given that you're on Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "Because you're using Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I list running containers?", "completion": "Given that you're on Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Since you're just starting out, I'll keep this simple — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I use the terminal?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Understood — main. What should we do next?\nUser: pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: My script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "You said the branch is protected, so push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I view the history?", "completion": "On Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I check the repository status?", "completion": "Given that you're on Git, git status summarizes changes. You can do it with `git status`."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Understood — assets. What should we do next?\nUser: Can you show me how to copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Understood — venv. What should we do next?\nUser: What's the command to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I install a package?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Given that you've had a long day, I'll keep this brief — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Understood — 3000. What should we do next?\nUser: check what's listening?", "completion": "You said 3000, so ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I debug my code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: The directory I'm dealing with is src.\nAssistant: Noted: src. What's the task?\nUser: search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Because you're using Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I read an error message?", "completion": "Because you're low on energy, I'll give you the simple version — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is an array?", "completion": "You said you're exhausted, so here's the shortest useful explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Since you're learning from scratch, I'll avoid jargon — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Since you're on Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Let's talk about branch main.\nAssistant: Got it — main. What do you want to do with it?\nUser: Can you show me how to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Casey. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I expose a port?", "completion": "Since you're on Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Because you're using Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Casey. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. The command you need is `df -h`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I see open ports?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I check the repository status?", "completion": "Given that you're on Git, git status summarizes changes. You can do it with `git status`."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: What's the command to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "Since you're on Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Morgan. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "Since you're on Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to create a virtual environment — what should I run?", "completion": "Given that you're on Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Riley. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is a variable?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Quinn. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check a service?", "completion": "Because you're using Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: What's the command to test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check a service?", "completion": "On Debian, systemctl reports service state. The command is `systemctl status service-name`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I use the terminal?", "completion": "Because you're low on energy, I'll give you the simple version — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I update the system?", "completion": "On Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "Given that you're on Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "On Windows PowerShell, Select-String searches file contents. You can do it with `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to run a script on this system?", "completion": "On Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: How do I follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I learn to code?", "completion": "Because you're low on energy, I'll give you the simple version — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Understood — notes.txt. What should we do next?\nUser: view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "On Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: What's the command to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Noted: 443. What's the task?\nUser: check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: The file I'm dealing with is data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: count its rows?", "completion": "You said data.csv, so wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Thanks, Avery. What would you like to know?\nUser: what should I learn first?", "completion": "Good to meet you, Avery. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: What's the command to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: the container is test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: What's the command to remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I freeze my dependencies?", "completion": "Because you're using Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: how do I learn to code?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: Can you show me how to delete it?", "completion": "You said experiment, so git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check a service — what should I run?", "completion": "Because you're using macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Noted: app.db. What's the task?\nUser: Can you show me how to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: How do I push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Hello, Logan! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: What's the command to test the database port?", "completion": "You said 5432, so nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: remove it?", "completion": "You said test-runner, so docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: I'm working with port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: Can you show me how to scan it for a service?", "completion": "You said 9000, so nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: Can you show me how to view it?", "completion": "You said notes.txt, so less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Kai. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: My git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Jamie. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "On Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "On Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "On Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check disk usage?", "completion": "On Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I have a folder called src.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: Can you show me how to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: I have a container called web-app.\nAssistant: Noted: web-app. What's the task?\nUser: How do I view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to push my commits on this system?", "completion": "Because you're using Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I have a file called server.log.\nAssistant: Noted: server.log. What's the task?\nUser: What's the command to follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: how do I debug my code?", "completion": "Nice to meet you, Hayden. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Noted: 6379. What's the task?\nUser: What's the command to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to copy a file into a container on this system?", "completion": "Since you're on Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: how do I debug my code?", "completion": "Since you're just starting out, I'll keep this simple — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I see open ports?", "completion": "Since you're on macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to check the repository status — what should I run?", "completion": "Because you're using Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I check container resource usage?", "completion": "Because you're using Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: I have a folder called venv.\nAssistant: Noted: venv. What's the task?\nUser: How do I remove it?", "completion": "You said venv, so rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on macOS, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Understood — 8080. What should we do next?\nUser: Can you show me how to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: Can you show me how to tag it?", "completion": "You said release-1.2, so git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: I have a file called server.log.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: Can you show me how to follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Hayden. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: Can you show me how to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: The file I'm dealing with is config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: How do I pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I debug my code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I see open ports?", "completion": "On Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Noted: main. What's the task?\nUser: pull the latest?", "completion": "You said main, so git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: How do I view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: what's a good first project?", "completion": "Nice to meet you, Casey. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "On macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is a function?", "completion": "You said you're exhausted, so here's the shortest useful explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Understood — server.log. What should we do next?\nUser: Can you show me how to follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: how do I stay motivated?", "completion": "Good to meet you, Jamie. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I run a script?", "completion": "Because you're using Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a bug?", "completion": "Given that you've had a long day, I'll keep this brief — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: What's the command to rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: What's the command to switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Quinn. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Given that you're on Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Noted: data.csv. What's the task?\nUser: How do I count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: how do I use the terminal?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I see open ports?", "completion": "Because you're using Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I commit my changes?", "completion": "Since you're on Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Since you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Let's talk about branch main.\nAssistant: Understood — main. What should we do next?\nUser: Can you show me how to pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: How do I restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "Given that you're on Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: how do I learn to code?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with the container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: Can you show me how to stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Let's talk about the logs directory.\nAssistant: Got it — logs. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Given that you're a beginner, here's a plain explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "On Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Jesse. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "On Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Given that you've had a long day, I'll keep this brief — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to search text in files?", "completion": "On macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Got it — 443. What do you want to do with it?\nUser: How do I check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Because you're using Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to see open ports — what should I run?", "completion": "On Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: what is a loop?", "completion": "Good to meet you, Morgan. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "Because you're using Docker, docker run publishes ports with -p. The command is `docker run -p 8080:80 image-name`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to update the system?", "completion": "Because you're using macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Understood — cache. What should we do next?\nUser: Can you show me how to copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "Because you're using Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: Help — my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "You said there's a quoting or syntax mistake, so the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Noted: tmp. What's the task?\nUser: How do I clean it?", "completion": "You said tmp, so find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Given that you're on Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "On macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: Let's talk about the project-alpha directory.\nAssistant: Noted: project-alpha. What's the task?\nUser: What's the command to compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Noted: index.html. What's the task?\nUser: How do I open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Noted: app.db. What's the task?\nUser: inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is git?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Casey. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I ask for help?", "completion": "Given that you've had a long day, I'll keep this brief — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Got it — venv. What do you want to do with it?\nUser: What's the command to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I debug my code?", "completion": "Since you're learning from scratch, I'll avoid jargon — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: Can you show me how to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: What's the command to make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Taylor. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Taylor. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Understood — 443. What should we do next?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I create a branch?", "completion": "Because you're using Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what's a good first project?", "completion": "Since you're learning from scratch, I'll avoid jargon — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is a loop?", "completion": "Since you're learning from scratch, I'll avoid jargon — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to find large files?", "completion": "Given that you're on macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I see open ports?", "completion": "Because you're using Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "On macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I install a package?", "completion": "Given that you're on Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: Can you show me how to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: I just checked out the branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: What's the command to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Taylor. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Understood — venv. What should we do next?\nUser: How do I remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to push my commits — what should I run?", "completion": "Because you're using Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: I have a folder called src.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: What's the command to search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Because you're using Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. Run `command | less`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. You can do it with `brew install package-name`."} +{"prompt": "User: I have a file called server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: Can you show me how to follow it?", "completion": "You said server.log, so tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: How do I connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: The service is running on port 22.\nAssistant: Noted: 22. What's the task?\nUser: change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I expose a port?", "completion": "On Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check running processes?", "completion": "On Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to stash my work on this system?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Morgan. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working in the src folder.\nAssistant: Got it — src. What do you want to do with it?\nUser: search inside it?", "completion": "You said src, so grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to install a package — what should I run?", "completion": "On macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: What's the command to follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: I have a folder called logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to upgrade pip on this system?", "completion": "Given that you're on Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I see open ports?", "completion": "On Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I check running processes?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Morgan. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Understood — main.go. What should we do next?\nUser: What's the command to run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Harper. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: My service won't start, can you help?\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: how do I debug my code?", "completion": "Nice to meet you, Morgan. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I find large files?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. Use `df -h` to fix it."} +{"prompt": "User: I just started the container web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: view its logs?", "completion": "You said web-app, so docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: I'm working in the src folder.\nAssistant: Noted: src. What's the task?\nUser: search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: How do I check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: I'm working with port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: How do I scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to install a package — what should I run?", "completion": "On Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: how do I practice coding?", "completion": "Nice to meet you, Harper. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Hayden. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: How do I remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. Run `ping host-name`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: what is a loop?", "completion": "Good to meet you, Sam. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I find large files?", "completion": "On Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Understood — data.csv. What should we do next?\nUser: What's the command to count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "Because you're using Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I read an error message?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Parker. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Understood — 5000. What should we do next?\nUser: Can you show me how to restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: What's the command to clean it?", "completion": "You said tmp, so find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: what is a function?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: Can you show me how to open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: how do I read an error message?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Got it — venv. What do you want to do with it?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Charlie. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: How do I make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: Quick context: port 6379 is the one I'm using.\nAssistant: Understood — 6379. What should we do next?\nUser: connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: Can you show me how to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: push my changes there?", "completion": "You said dev, so git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check a service?", "completion": "On Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Because you're using Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Help — my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Got it — build. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Debian, apt performs the upgrade. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to list running containers on this system?", "completion": "Since you're on Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: Quick context: port 6379 is the one I'm using.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: What's the command to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Understood — app.db. What should we do next?\nUser: What's the command to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: what's a good first project?", "completion": "Nice to meet you, Dakota. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I find large files?", "completion": "Because you're using Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: The service is running on port 22.\nAssistant: Noted: 22. What's the task?\nUser: What's the command to change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I debug my code?", "completion": "Since you're just starting out, I'll keep this simple — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to install a package?", "completion": "Since you're on Debian, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to copy a file into a container?", "completion": "Given that you're on Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: How do I pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: I have a folder called venv.\nAssistant: Noted: venv. What's the task?\nUser: Can you show me how to remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to check container resource usage?", "completion": "Because you're using Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I see open ports?", "completion": "Since you're on macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Noted: staging. What's the task?\nUser: How do I switch to it?", "completion": "You said staging, so git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "Given that you're on Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "Since you're on Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Understood — 5000. What should we do next?\nUser: How do I restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: How do I rebase it?", "completion": "You said feature/api, so git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I search text in files?", "completion": "On Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Given that you're on macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: how do I practice coding?", "completion": "Nice to meet you, Parker. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to run a script on this system?", "completion": "Since you're on Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: Can you show me how to test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Parker. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: what is a function?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "Because you're using Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: What's the command to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Harper. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm on branch release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: How do I tag it?", "completion": "You said release-1.2, so git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: What's the command to check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Given that you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Since you're on Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Dakota. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Morgan. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm inside docs.\nAssistant: Noted: docs. What's the task?\nUser: How do I list its files?", "completion": "You said docs, so ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I install a package?", "completion": "Given that you're on Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. Run `ls -la`."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Casey. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: what should I learn first?", "completion": "Good to meet you, Alex. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: What's the command to push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Understood — tmp. What should we do next?\nUser: How do I clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I see open ports?", "completion": "Since you're on Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to check a service?", "completion": "Since you're on Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: Can you show me how to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "Because you're using Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Given that you're using a different virtual environment, activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: Quick context: the container is test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I ask for help?", "completion": "Because you're low on energy, I'll give you the simple version — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "Given that you're on Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Because a network call is timing out, test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I install a package?", "completion": "Given that you're on Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to check a service?", "completion": "Because you're using Debian, systemctl reports service state. The command is `systemctl status service-name`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Noted: app.db. What's the task?\nUser: How do I inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: How do I tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Since you're just starting out, I'll keep this simple — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Noted: dev. What's the task?\nUser: push my changes there?", "completion": "You said dev, so git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "On Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Noted: assets. What's the task?\nUser: How do I copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I debug my code?", "completion": "Since you're learning from scratch, I'll avoid jargon — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: Can you show me how to pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: I'm on branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I push my commits?", "completion": "Because you're using Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: My service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I commit my changes?", "completion": "On Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check running processes?", "completion": "On macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Noted: deploy.sh. What's the task?\nUser: How do I make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what is git?", "completion": "You said you're exhausted, so here's the shortest useful explanation — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: What's the command to stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: Can you show me how to rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a bug?", "completion": "Given that you're a beginner, here's a plain explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Got it — 22. What do you want to do with it?\nUser: change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: The branch I'm using is release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: How do I tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Harper. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to search text in files?", "completion": "On Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: what is a function?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Since you're just starting out, I'll keep this simple — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Noted: index.html. What's the task?\nUser: What's the command to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Understood — src. What should we do next?\nUser: How do I search inside it?", "completion": "You said src, so grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "Given that you're on Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: I have a file called config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: Can you show me how to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "Given that you're on Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Quick context: my branch is feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: rebase it?", "completion": "You said feature/api, so git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: How do I view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to check the repository status on this system?", "completion": "Given that you're on Git, git status summarizes changes. You can do it with `git status`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "On Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I search text in files?", "completion": "Given that you're on Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: how do I learn to code?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Let's talk about the project-alpha directory.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: How do I compress it?", "completion": "You said project-alpha, so tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "Since you're on Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: How do I check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Casey. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: Can you show me how to delete it?", "completion": "You said experiment, so git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "On Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is an array?", "completion": "Because you're new to this, let's start with the basics — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Let's talk about container cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: Can you show me how to copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to enter a container shell on this system?", "completion": "Given that you're on Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I install a package?", "completion": "On Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: What's the command to rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. Run `df -h`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "You said the package isn't installed, so install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Nice to meet you, Logan. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: I'm inside project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Kai. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I read an error message?", "completion": "Given that you've had a long day, I'll keep this brief — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: How do I inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I install a package?", "completion": "On Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to search text in files — what should I run?", "completion": "On Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: How do I compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: what should I learn first?", "completion": "Given that you've had a long day, I'll keep this brief — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to check a service?", "completion": "Given that you're on macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: how do I stay motivated?", "completion": "Since you're just starting out, I'll keep this simple — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Jesse. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. Run `pip install package-name`."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: What's the command to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I stay motivated?", "completion": "Because you're low on energy, I'll give you the simple version — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hey, I'm Riley — nice to meet you.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Riley. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Understood — app.py. What should we do next?\nUser: run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "On Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to view the history?", "completion": "Given that you're on Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: I just started the container cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: What's the command to copy a file out of it?", "completion": "You said cache, so docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: What's the command to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Jesse. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I install a package?", "completion": "Since you're on Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Since an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. Run `df -h`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Since the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: Can you show me how to open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: Let's talk about container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: Can you show me how to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: Port 27017 is the one I care about.\nAssistant: Understood — 27017. What should we do next?\nUser: check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Hey, I'm Riley — nice to meet you.\nAssistant: Thanks, Riley. What would you like to know?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Riley. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Understood — assets. What should we do next?\nUser: copy it?", "completion": "You said assets, so cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to run a script?", "completion": "Since you're on Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I undo the last commit?", "completion": "Since you're on Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "You said inodes are exhausted, so remove many small files. The command you need is `df -i`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I undo the last commit?", "completion": "Because you're using Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: how do I practice coding?", "completion": "Nice to meet you, Quinn. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: Can you show me how to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to update the system — what should I run?", "completion": "On Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Since the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what is git?", "completion": "Given that you're a beginner, here's a plain explanation — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I use the terminal?", "completion": "Since you're just starting out, I'll keep this simple — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Alex. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "On Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check disk usage?", "completion": "Since you're on Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to push my commits?", "completion": "Because you're using Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: I have a folder called logs.\nAssistant: Noted: logs. What's the task?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Good to meet you, Hayden. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Since you're just starting out, I'll keep this simple — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I have a file called main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: Can you show me how to run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. The command you need is `df -h`."} +{"prompt": "User: Let's talk about branch main.\nAssistant: Noted: main. What's the task?\nUser: How do I pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "Because you're using Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Logan. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: Can you show me how to restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: What's the command to forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Noted: deploy.sh. What's the task?\nUser: Can you show me how to make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to update the system?", "completion": "Given that you're on macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: I have a folder called docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: Can you show me how to test the database port?", "completion": "You said 5432, so nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: what is a function?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "Since you're on Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: What's the command to check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I stay motivated?", "completion": "Given that you've had a long day, I'll keep this brief — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Given that you're on Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to update the system?", "completion": "Since you're on macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: How do I check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check disk usage?", "completion": "Because you're using Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to commit my changes?", "completion": "Given that you're on Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Noted: logs. What's the task?\nUser: What's the command to check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I find large files?", "completion": "Since you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I use the terminal?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Jordan. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to stop a container — what should I run?", "completion": "Since you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Morgan. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Since you're on Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I practice coding?", "completion": "Given that you're a beginner, here's a plain explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I view a container's logs?", "completion": "Because you're using Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to list installed packages?", "completion": "Because you're using Python, pip list shows installed packages. You can do it with `pip list`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "On Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. The command you need is `df -h`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to check disk usage on this system?", "completion": "On Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "On Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Given that you're on Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Since you're on Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Understood — docs. What should we do next?\nUser: How do I list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: I'm working on the file photo.jpg.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: What's the command to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: The branch I'm using is dev.\nAssistant: Noted: dev. What's the task?\nUser: How do I push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what's a good first project?", "completion": "Since you're just starting out, I'll keep this simple — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Because you're using Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Hello, Kai! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "On Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Understood — notes.txt. What should we do next?\nUser: view it?", "completion": "You said notes.txt, so less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to commit my changes — what should I run?", "completion": "On Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "On Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to check a service?", "completion": "On Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. The command you need is `df -h`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a bug?", "completion": "Since you're learning from scratch, I'll avoid jargon — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I've got a file named server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: How do I follow it?", "completion": "You said server.log, so tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: I just started the container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I update the system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Hayden. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: How do I stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: I'm working with port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: How do I check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: Can you show me how to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Harper. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: how do I practice coding?", "completion": "Since you're just starting out, I'll keep this simple — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I have a container called cache.\nAssistant: Noted: cache. What's the task?\nUser: Can you show me how to copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: Can you show me how to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Alex. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: config.json is the file I'm using.\nAssistant: Noted: config.json. What's the task?\nUser: pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I'm on branch main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: Can you show me how to pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Charlie. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working on the file photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: What's the command to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: What's the command to make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Quick context: I'm inside project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: What's the command to compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I list installed packages?", "completion": "Since you're on Python, pip list shows installed packages. You can do it with `pip list`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "On Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: What's the command to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: What's the command to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: I have a container called nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: How do I inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I install a package?", "completion": "Since you're on Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: What's the command to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: Can you show me how to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: What's the command to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check a service?", "completion": "Given that you're on Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to enter a container shell on this system?", "completion": "Since you're on Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a bug?", "completion": "You said you're exhausted, so here's the shortest useful explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. Run `command | less`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: I'm working in the project-alpha folder.\nAssistant: Noted: project-alpha. What's the task?\nUser: compress it?", "completion": "You said project-alpha, so tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "Given that you're on Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check running processes — what should I run?", "completion": "On Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: What's the command to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I check running processes?", "completion": "On Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Understood — build. What should we do next?\nUser: What's the command to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "Since you're on Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Sam. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check running processes?", "completion": "On Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Charlie. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I check a service?", "completion": "Given that you're on macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: I have a container called cache.\nAssistant: Noted: cache. What's the task?\nUser: copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I find large files?", "completion": "Given that you're on Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: My git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I read an error message?", "completion": "Since you're learning from scratch, I'll avoid jargon — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check disk usage?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: how do I learn to code?", "completion": "Nice to meet you, Emerson. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "On Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: How do I follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Hello, Parker! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Parker. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: How do I remove it?", "completion": "You said test-runner, so docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I debug my code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: What's the command to stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Quick context: config.json is the file I'm using.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: What's the command to pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: How do I view it?", "completion": "You said notes.txt, so less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: How do I test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I use the terminal?", "completion": "Because you're new to this, let's start with the basics — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I find large files?", "completion": "Because you're using Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "Because you're using Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Got it — main. What do you want to do with it?\nUser: pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to create a branch — what should I run?", "completion": "On Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Jordan. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I see open ports?", "completion": "Because you're using Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Understood — main. What should we do next?\nUser: Can you show me how to pull the latest?", "completion": "You said main, so git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: I have a container called cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to run a script — what should I run?", "completion": "Given that you're on Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "Since you're on Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I run a script?", "completion": "Given that you're on Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Noted: 8080. What's the task?\nUser: Can you show me how to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a variable?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: Can you show me how to pretty-print it?", "completion": "You said config.json, so jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check a service?", "completion": "On Debian, systemctl reports service state. The command is `systemctl status service-name`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: what is a variable?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to run a script?", "completion": "Since you're on Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: How do I test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: I'm working in the project-alpha folder.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: How do I compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Got it — assets. What do you want to do with it?\nUser: What's the command to copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: What's the command to kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "On Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. Run `df -h`."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: What's the command to open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to find large files?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Noted: logs. What's the task?\nUser: What's the command to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: Can you show me how to rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Understood — docs. What should we do next?\nUser: list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what's a good first project?", "completion": "Because you're low on energy, I'll give you the simple version — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "On Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Since your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I debug my code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: How do I inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: What's the command to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "On Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to undo the last commit — what should I run?", "completion": "Because you're using Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: Can you show me how to stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: The service is running on port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: How do I check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I stash my work?", "completion": "Because you're using Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I view the history?", "completion": "Given that you're on Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to run my tests?", "completion": "Because you're using Python, pytest discovers and runs tests. Use `pytest` for that."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "You said experiment, so git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I stop a container?", "completion": "Because you're using Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is git?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Ubuntu, apt handles package updates. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I stop a container?", "completion": "Because you're using Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I search text in files?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to search text in files?", "completion": "On Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: count its rows?", "completion": "You said data.csv, so wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to run a script on this system?", "completion": "Because you're using Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Noted: archive.zip. What's the task?\nUser: How do I unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: The service is running on port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "On Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to check the repository status?", "completion": "On Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Hello, Finley! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is an array?", "completion": "Given that you're a beginner, here's a plain explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: Can you show me how to copy it?", "completion": "Since you mentioned assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I update the system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what's a good first project?", "completion": "Since you're just starting out, I'll keep this simple — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Noted: 22. What's the task?\nUser: change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: How do I inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: How do I push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what is a function?", "completion": "Since you're learning from scratch, I'll avoid jargon — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Given that you're on Python, pytest discovers and runs tests. Use `pytest` for that."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I search text in files?", "completion": "Because you're using Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "Because you're using Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to push my commits on this system?", "completion": "Because you're using Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Alex. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: What's the command to rebase it?", "completion": "You said feature/api, so git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I update the system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Understood — tmp. What should we do next?\nUser: What's the command to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: how do I use the terminal?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I have a folder called src.\nAssistant: Noted: src. What's the task?\nUser: Can you show me how to search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to run a script?", "completion": "Since you're on Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: The folder I'm using is tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "On Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: Can you show me how to inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I see open ports?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Given that you're a beginner, here's a plain explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Charlie. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Logan. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: how do I stay motivated?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: How do I change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I update the system?", "completion": "Given that you're on Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: I have a folder called logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "You said there's a quoting or syntax mistake, so the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: How do I restart it?", "completion": "You said postgres-db, so docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Emerson. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: What's the command to copy it?", "completion": "Since you mentioned assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I check container resource usage?", "completion": "Given that you're on Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Parker. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Given that you've had a long day, I'll keep this brief — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I list running containers?", "completion": "Because you're using Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: How do I make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: what is an array?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check disk usage?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Logan. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Noted: docs. What's the task?\nUser: list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: What's the command to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: Can you show me how to remove it?", "completion": "You said test-runner, so docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "On Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Understood — config.json. What should we do next?\nUser: pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Quick context: my branch is main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: Can you show me how to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "On Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: what is a variable?", "completion": "Good to meet you, Avery. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Noted: app.db. What's the task?\nUser: Can you show me how to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Emerson. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Arch Linux, find filters by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check disk usage?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Got it — build. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I view a container's logs?", "completion": "Because you're using Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Got it — build. What do you want to do with it?\nUser: How do I delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Noted: web-app. What's the task?\nUser: view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: What's the command to merge it into main?", "completion": "You said feature/login, so git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I update the system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: The folder I'm using is tmp.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: clean it?", "completion": "You said tmp, so find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "Since you're on Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: What's the command to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Since the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "On macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "Given that you're on Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "On Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "On Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: What's the command to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Since you're on Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: How do I kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: copy a file out of it?", "completion": "You said cache, so docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "On Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: how do I use the terminal?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Riley. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Got it — build. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to check container resource usage — what should I run?", "completion": "Since you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to view a container's logs on this system?", "completion": "Because you're using Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I see open ports?", "completion": "On Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: How do I check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: What's the command to stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Thanks, Logan. What would you like to know?\nUser: what should I learn first?", "completion": "Nice to meet you, Logan. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I learn to code?", "completion": "Because you're low on energy, I'll give you the simple version — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I install a package?", "completion": "Because you're using macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Noted: docs. What's the task?\nUser: How do I list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: How do I remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. Run `df -h`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to push my commits — what should I run?", "completion": "Because you're using Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: The branch I'm using is dev.\nAssistant: Noted: dev. What's the task?\nUser: How do I push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: how do I learn to code?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "On macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: What's the command to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "On Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "Because you're using Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: I'm working with port 22.\nAssistant: Noted: 22. What's the task?\nUser: change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to remove an image — what should I run?", "completion": "Given that you're on Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: I have a folder called logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: What's the command to check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "On Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to install a package — what should I run?", "completion": "Because you're using macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what should I learn first?", "completion": "Because you're low on energy, I'll give you the simple version — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: What's the command to connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: What's the command to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: How do I stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: what is a bug?", "completion": "Since you're learning from scratch, I'll avoid jargon — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: what should I learn first?", "completion": "Good to meet you, Jamie. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to update the system — what should I run?", "completion": "On macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: what's a good first project?", "completion": "Since you're just starting out, I'll keep this simple — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check running processes?", "completion": "On macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: I have a file called main.go.\nAssistant: Noted: main.go. What's the task?\nUser: run it?", "completion": "You said main.go, so go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Noted: app.db. What's the task?\nUser: How do I inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to install a package?", "completion": "On Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check disk usage?", "completion": "Because you're using Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: Can you show me how to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Hello, Harper! What's on your mind?\nUser: what is a variable?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Let's talk about the tmp directory.\nAssistant: Understood — tmp. What should we do next?\nUser: clean it?", "completion": "You said tmp, so find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: What's the command to check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I install a package?", "completion": "On Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "Since you're on Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: Can you show me how to connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: How do I inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what's a good first project?", "completion": "Since you're just starting out, I'll keep this simple — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: scan it for a service?", "completion": "You said 9000, so nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Got it — venv. What do you want to do with it?\nUser: remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "On Debian, ps gives a process snapshot. Run `ps aux`."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: What's the command to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Avery. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I see open ports?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: The database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: Can you show me how to scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: What's the command to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: What's the command to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: Can you show me how to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Since the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: What's the command to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Harper. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "Since you're on Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: switch to it?", "completion": "You said staging, so git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to view the history?", "completion": "Given that you're on Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "On Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: What's the command to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check running processes?", "completion": "Since you're on macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to run a script on this system?", "completion": "Given that you're on Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to find large files?", "completion": "Since you're on Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Port 27017 is the one I care about.\nAssistant: Understood — 27017. What should we do next?\nUser: What's the command to check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "Because you're using Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "On macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to find large files?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Noted: cache. What's the task?\nUser: What's the command to copy a file out of it?", "completion": "You said cache, so docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is an array?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Let's talk about container worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: What's the command to check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to list running containers?", "completion": "On Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check a service?", "completion": "On Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Hello, Jesse! What's on your mind?\nUser: what's a good first project?", "completion": "Good to meet you, Jesse. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: The service is running on port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: What's the command to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I push my commits?", "completion": "Because you're using Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Understood — 8000. What should we do next?\nUser: Can you show me how to forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. Run `df -h`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a function?", "completion": "You said you're exhausted, so here's the shortest useful explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what's a good first project?", "completion": "Given that you're a beginner, here's a plain explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Thanks, Avery. What would you like to know?\nUser: what should I learn first?", "completion": "Nice to meet you, Avery. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Understood — server.log. What should we do next?\nUser: What's the command to follow it?", "completion": "You said server.log, so tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: What's the command to tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I see open ports?", "completion": "Given that you're on Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what's a good first project?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: Can you show me how to remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "On Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to remove an image?", "completion": "Given that you're on Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: I have a file called index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: What's the command to open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Fedora, systemd controls services. Run `systemctl status service-name`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Given that the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I check disk usage?", "completion": "Because you're using Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: I'm working in the assets folder.\nAssistant: Got it — assets. What do you want to do with it?\nUser: Can you show me how to copy it?", "completion": "You said assets, so cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to view the history — what should I run?", "completion": "Because you're using Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Ubuntu, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: How do I inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to view the history — what should I run?", "completion": "Given that you're on Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Because you're using Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: Hey, I'm Riley — nice to meet you.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Riley. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to stash my work?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I run a script?", "completion": "Given that you're on Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "On Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Hello, Jamie! What's on your mind?\nUser: what should I learn first?", "completion": "Good to meet you, Jamie. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I just started the container web-app.\nAssistant: Noted: web-app. What's the task?\nUser: view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "Since you're on Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is a bug?", "completion": "Given that you've had a long day, I'll keep this brief — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: what is a loop?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: Can you show me how to view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to run my tests — what should I run?", "completion": "Since you're on Python, pytest discovers and runs tests. Use `pytest` for that."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Got it — venv. What do you want to do with it?\nUser: remove it?", "completion": "You said venv, so rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Taylor. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "On Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a function?", "completion": "Given that you're a beginner, here's a plain explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "You said there's a quoting or syntax mistake, so the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: Can you show me how to inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I commit my changes?", "completion": "Since you're on Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I update the system?", "completion": "On macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to expose a port?", "completion": "On Docker, docker run publishes ports with -p. The command is `docker run -p 8080:80 image-name`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I check disk usage?", "completion": "Given that you're on Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Casey. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is a loop?", "completion": "Because you're low on energy, I'll give you the simple version — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Hello, Finley! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Finley. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: I'm on branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: What's the command to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Charlie. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Charlie. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: What's the command to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I update the system?", "completion": "On Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Understood — project-alpha. What should we do next?\nUser: What's the command to compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: how do I debug my code?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Logan. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to install a package on this system?", "completion": "On macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: How do I test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Noted: app.py. What's the task?\nUser: Can you show me how to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: What's the command to open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I find large files?", "completion": "Given that you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: what is git?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: how do I debug my code?", "completion": "Nice to meet you, Casey. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "Because you're using Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: Can you show me how to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Hayden. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: the container is test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: How do I remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: The container I'm using is redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to search text in files — what should I run?", "completion": "On macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Since you're on Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "On Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Nice to meet you, Jesse. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I enter a container shell?", "completion": "Since you're on Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: Can you show me how to remove it?", "completion": "You said test-runner, so docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "Since you're on Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to undo the last commit — what should I run?", "completion": "Since you're on Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: I'm working in the src folder.\nAssistant: Noted: src. What's the task?\nUser: What's the command to search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check running processes?", "completion": "Given that you're on Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I install a package?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "Because you're using Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: Can you show me how to check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "On Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: Can you show me how to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: The service is running on port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: How do I restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a loop?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I search text in files?", "completion": "Given that you're on Ubuntu, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Noted: cache. What's the task?\nUser: What's the command to copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I practice coding?", "completion": "Because you're low on energy, I'll give you the simple version — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "On Debian, ps gives a process snapshot. Run `ps aux`."} +{"prompt": "User: Let's talk about the tmp directory.\nAssistant: Noted: tmp. What's the task?\nUser: What's the command to clean it?", "completion": "You said tmp, so find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Finley. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "On Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Alex. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I search text in files?", "completion": "On Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: How do I kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: how do I practice coding?", "completion": "Since you're just starting out, I'll keep this simple — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I stop a container?", "completion": "On Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check running processes?", "completion": "On Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I find large files?", "completion": "Given that you're on Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Morgan. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I copy a file into a container?", "completion": "Given that you're on Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Quinn. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "On Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Got it — docs. What do you want to do with it?\nUser: How do I list its files?", "completion": "You said docs, so ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to enter a container shell on this system?", "completion": "On Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Hayden. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I run my tests?", "completion": "Because you're using Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Avery. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I learn to code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I see open ports?", "completion": "On Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I'm working with port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: What's the command to check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: I'm working in the assets folder.\nAssistant: Noted: assets. What's the task?\nUser: copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: Can you show me how to rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: The branch I'm using is release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: What's the command to tag it?", "completion": "You said release-1.2, so git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "Given that you're on Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: What's the command to check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Taylor. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to search text in files — what should I run?", "completion": "On Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: What's the command to switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Understood — dev. What should we do next?\nUser: How do I push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Noted: app.db. What's the task?\nUser: What's the command to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what is a variable?", "completion": "Since you're learning from scratch, I'll avoid jargon — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I practice coding?", "completion": "Since you're just starting out, I'll keep this simple — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to commit my changes?", "completion": "Since you're on Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: what is a function?", "completion": "Nice to meet you, Emerson. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: What's the command to view its logs?", "completion": "You said web-app, so docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Since the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: I've got a file named backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: Can you show me how to extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to check container resource usage — what should I run?", "completion": "Because you're using Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I see open ports?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: how do I learn to code?", "completion": "Because you're new to this, let's start with the basics — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: My command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I freeze my dependencies?", "completion": "Given that you're on Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: What's the command to push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what should I learn first?", "completion": "Because you're new to this, let's start with the basics — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what should I learn first?", "completion": "Given that you've had a long day, I'll keep this brief — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Noted: app.py. What's the task?\nUser: How do I run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Let's talk about main.go — it's a file I need to handle.\nAssistant: Noted: main.go. What's the task?\nUser: How do I run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: How do I kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "On Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "On Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: Can you show me how to inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Understood — logs. What should we do next?\nUser: check its size?", "completion": "Since you mentioned logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: Can you show me how to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "On Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: how do I practice coding?", "completion": "Because you're new to this, let's start with the basics — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: Can you show me how to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I update the system?", "completion": "On Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Understood — src. What should we do next?\nUser: What's the command to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Because the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Hello, Jordan! What's on your mind?\nUser: what is a function?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I see open ports?", "completion": "On Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Given that the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I update the system?", "completion": "Because you're using macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to list installed packages?", "completion": "Since you're on Python, pip list shows installed packages. You can do it with `pip list`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "On Ubuntu, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: What's the command to kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is git?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: what is a bug?", "completion": "You said you're exhausted, so here's the shortest useful explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: How do I inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Hello, Finley! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Finley. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to stash my work?", "completion": "On Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "Given that you're on Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Help — my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: Can you show me how to merge it into main?", "completion": "You said feature/login, so git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "Because you're using Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Given that you're a beginner, here's a plain explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Emerson. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: How do I restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: what is a function?", "completion": "Good to meet you, Harper. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I have a file called index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: How do I open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "Since you're on Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "Since you're on Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "On Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I search text in files?", "completion": "Given that you're on Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: Can you show me how to make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to view the history?", "completion": "On Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: I'm working with port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "Given that you're on Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Noted: app.db. What's the task?\nUser: inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "Since you're on Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I see open ports?", "completion": "Since you're on macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Noted: main.go. What's the task?\nUser: run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to expose a port — what should I run?", "completion": "Because you're using Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Alex. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I freeze my dependencies?", "completion": "On Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: how do I stay motivated?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Understood — index.html. What should we do next?\nUser: What's the command to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: Can you show me how to check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: how do I debug my code?", "completion": "Because you're new to this, let's start with the basics — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I view the history?", "completion": "On Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is a variable?", "completion": "Since you're learning from scratch, I'll avoid jargon — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. You can do it with `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I see open ports?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "Since you're on Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: I'm on branch staging.\nAssistant: Noted: staging. What's the task?\nUser: How do I switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: I have a container called cache.\nAssistant: Understood — cache. What should we do next?\nUser: How do I copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Understood — 443. What should we do next?\nUser: How do I check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: I have a file called index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: What's the command to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Taylor. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Since you're on Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: Can you show me how to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I search text in files?", "completion": "On Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to upgrade pip?", "completion": "Since you're on Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I update the system?", "completion": "On Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check a service?", "completion": "On Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to run a script on this system?", "completion": "Since you're on Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: Can you show me how to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: rebase it?", "completion": "You said feature/api, so git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "On Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to run a script — what should I run?", "completion": "Given that you're on Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Jamie. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I install a package?", "completion": "On Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I check the Python version?", "completion": "Because you're using Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working with the container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: Can you show me how to stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: what is a variable?", "completion": "Nice to meet you, Harper. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Noted: main. What's the task?\nUser: pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "Because you're using Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Hello, Sam! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Sam. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I update the system?", "completion": "On Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Hello, Logan! What's on your mind?\nUser: how do I practice coding?", "completion": "Good to meet you, Logan. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: Quick context: I'm inside project-alpha.\nAssistant: Understood — project-alpha. What should we do next?\nUser: How do I compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: How do I copy it?", "completion": "You said assets, so cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: Can you show me how to unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: What's the command to forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: what is a loop?", "completion": "Nice to meet you, Parker. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Help — my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Debian, systemctl reports service state. The command is `systemctl status service-name`."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: What's the command to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: I have a file called config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: What's the command to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: I have a container called web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: What's the command to view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Jesse. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: what is a function?", "completion": "Good to meet you, Avery. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "Since you're on Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Understood — build. What should we do next?\nUser: How do I delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: The file I'm dealing with is data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: count its rows?", "completion": "You said data.csv, so wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Hello, Finley! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Finley. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Understood — venv. What should we do next?\nUser: remove it?", "completion": "You said venv, so rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Casey. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "On Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I run my tests?", "completion": "Given that you're on Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Given that the filesystem is out of space, find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Because systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I see open ports?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is an array?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: What's the command to clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: I've got a file named server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to install a package on this system?", "completion": "On Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: how do I learn to code?", "completion": "Good to meet you, Jordan. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to undo the last commit on this system?", "completion": "Because you're using Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I find large files?", "completion": "Because you're using Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Given that inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: What's the command to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: How do I remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is an array?", "completion": "Given that you're a beginner, here's a plain explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: What's the command to push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "On Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to list installed packages on this system?", "completion": "On Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Noted: build. What's the task?\nUser: What's the command to delete it?", "completion": "You said build, so rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Let's talk about container cache.\nAssistant: Noted: cache. What's the task?\nUser: What's the command to copy a file out of it?", "completion": "You said cache, so docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I see open ports?", "completion": "Because you're using macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. Run `lsof -p PID`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Because you're using Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: what is a function?", "completion": "Nice to meet you, Harper. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: How do I check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Thanks, I'll remember feature/api. How can I help?\nUser: rebase it?", "completion": "You said feature/api, so git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: How do I rebase it?", "completion": "You said feature/api, so git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: Can you show me how to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Quick context: config.json is the file I'm using.\nAssistant: Noted: config.json. What's the task?\nUser: What's the command to pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: How do I check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Taylor. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: count its rows?", "completion": "You said data.csv, so wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: Can you show me how to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: what is a function?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Given that you're a beginner, here's a plain explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: How do I view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Given that you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I undo the last commit?", "completion": "On Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: how do I use the terminal?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Understood — main.go. What should we do next?\nUser: Can you show me how to run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I install a package?", "completion": "Since you're on Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I list running containers?", "completion": "Because you're using Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Given that the configuration is invalid, test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Because the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: Can you show me how to scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Understood — data.csv. What should we do next?\nUser: Can you show me how to count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. Run `df -h`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is a function?", "completion": "Since you're learning from scratch, I'll avoid jargon — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Because you lack write permission, grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I check the repository status?", "completion": "Because you're using Git, git status summarizes changes. You can do it with `git status`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: How do I check its size?", "completion": "You said logs, so du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a bug?", "completion": "Given that you've had a long day, I'll keep this brief — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to list installed packages?", "completion": "Given that you're on Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to view the history — what should I run?", "completion": "Because you're using Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I search text in files?", "completion": "Because you're using Ubuntu, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: What's the command to enter its shell?", "completion": "You said api-server, so docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: What's the command to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to expose a port on this system?", "completion": "Because you're using Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "Given that you're on Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I check running processes?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to check the repository status — what should I run?", "completion": "Given that you're on Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: How do I delete it?", "completion": "You said experiment, so git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: Can you show me how to make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I view the history?", "completion": "On Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Understood — staging. What should we do next?\nUser: How do I switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: what should I learn first?", "completion": "Because you're new to this, let's start with the basics — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: What's the command to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "On Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I install a package?", "completion": "Given that you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: The service is running on port 443.\nAssistant: Noted: 443. What's the task?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: The container I'm using is postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: How do I restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to install a package on this system?", "completion": "On Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: What's the command to scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I see open ports?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I check disk usage?", "completion": "Since you're on macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Riley. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: how do I practice coding?", "completion": "Nice to meet you, Dakota. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The file I'm dealing with is data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: Can you show me how to remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: what should I learn first?", "completion": "Good to meet you, Alex. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: run it?", "completion": "You said app.py, so Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: How do I open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Hayden. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I create a branch?", "completion": "On Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Understood — app.db. What should we do next?\nUser: What's the command to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to stash my work?", "completion": "Because you're using Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: How do I inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Let's talk about container cache.\nAssistant: Understood — cache. What should we do next?\nUser: Can you show me how to copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Charlie. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is a bug?", "completion": "Because you're low on energy, I'll give you the simple version — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to check the repository status — what should I run?", "completion": "Since you're on Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Hello, Morgan! What's on your mind?\nUser: how do I debug my code?", "completion": "Good to meet you, Morgan. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: how do I debug my code?", "completion": "Good to meet you, Emerson. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: I'm working with the container cache.\nAssistant: Understood — cache. What should we do next?\nUser: Can you show me how to copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Since you're just starting out, I'll keep this simple — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I update the system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "Since you're on Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "Because you're using Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: Can you show me how to restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Charlie. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "On Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: How do I compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "On Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Python, pip installs Python packages. The command is `pip install package-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to expose a port?", "completion": "Given that you're on Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: Can you show me how to compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to stop a container — what should I run?", "completion": "Since you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: How do I rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "Since you're on Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: I have a file called index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I check disk usage?", "completion": "Because you're using Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "Given that you're on Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: how do I learn to code?", "completion": "Nice to meet you, Morgan. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to search text in files — what should I run?", "completion": "On Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: the container is redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to install a package on this system?", "completion": "On Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: how do I stay motivated?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: Can you show me how to restart it?", "completion": "You said postgres-db, so docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: What's the command to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Riley. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I install a package?", "completion": "On Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Fedora, dnf is the package manager. Run `sudo dnf install package-name`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. Run `lsof -p PID`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "On Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to view a container's logs on this system?", "completion": "On Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check disk usage?", "completion": "On Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I'm working with port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: I have a file called config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: Can you show me how to pretty-print it?", "completion": "You said config.json, so jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to search text in files — what should I run?", "completion": "On Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to find large files?", "completion": "Given that you're on macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: Can you show me how to inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what is a loop?", "completion": "Since you're just starting out, I'll keep this simple — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: scan it for a service?", "completion": "You said 9000, so nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: What's the command to check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "On Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Let's talk about the project-alpha directory.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: How do I compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: How do I restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I see open ports?", "completion": "Because you're using Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I stash my work?", "completion": "On Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I create a branch?", "completion": "Given that you're on Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Understood — 9000. What should we do next?\nUser: How do I scan it for a service?", "completion": "You said 9000, so nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Given that another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check running processes?", "completion": "Because you're using Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "On Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Kai. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I commit my changes?", "completion": "Since you're on Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "On Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Because you're using Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to list installed packages?", "completion": "Since you're on Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Harper. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I just checked out the branch feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: How do I merge it into main?", "completion": "You said feature/login, so git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Harper. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Hello, Logan! What's on your mind?\nUser: Can you help me understand this: what should I learn first?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: My disk is full, can you help?\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Logan. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I find large files?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: My git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: Can you show me how to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Given that inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Hayden. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Understood — logs. What should we do next?\nUser: How do I check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I stay motivated?", "completion": "Because you're low on energy, I'll give you the simple version — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "Since you're on Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Taylor. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: How do I enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to find large files?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: Can you show me how to push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to update the system?", "completion": "Since you're on Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Charlie. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "On Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Since you're just starting out, I'll keep this simple — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to see open ports — what should I run?", "completion": "On Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: What's the command to remove it?", "completion": "You said test-runner, so docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Noted: main. What's the task?\nUser: How do I pull the latest?", "completion": "You said main, so git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: How do I check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Understood — main. What should we do next?\nUser: What's the command to pull the latest?", "completion": "You said main, so git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: I'm on branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Hello, Avery! What's on your mind?\nUser: what is a loop?", "completion": "Good to meet you, Avery. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Since it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Given that you've had a long day, I'll keep this brief — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: What's the command to delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Let's talk about server.log — it's a file I need to handle.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I update the system?", "completion": "Since you're on Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to install a package on this system?", "completion": "On Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Noted: staging. What's the task?\nUser: Can you show me how to switch to it?", "completion": "You said staging, so git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to update the system?", "completion": "Because you're using Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I ask for help?", "completion": "You said you're exhausted, so here's the shortest useful explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Understood — main.go. What should we do next?\nUser: How do I run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: What's the command to check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Given that the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to update the system?", "completion": "On Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Noted: config.json. What's the task?\nUser: How do I pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Since you're learning from scratch, I'll avoid jargon — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: How do I check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Because you're using Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: Can you show me how to view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to view a container's logs on this system?", "completion": "Because you're using Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "On Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I search text in files?", "completion": "On Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: how do I read an error message?", "completion": "Because you're new to this, let's start with the basics — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what is a bug?", "completion": "Since you're learning from scratch, I'll avoid jargon — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to check a service?", "completion": "Since you're on Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to push my commits — what should I run?", "completion": "Since you're on Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to undo the last commit?", "completion": "Because you're using Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check a service?", "completion": "Since you're on Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Because you're low on energy, I'll give you the simple version — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what is a variable?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I check a service?", "completion": "Because you're using Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: how do I read an error message?", "completion": "Because you're new to this, let's start with the basics — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: Can you show me how to view it?", "completion": "You said notes.txt, so less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Noted: archive.zip. What's the task?\nUser: What's the command to unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: Can you show me how to view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Noted: 22. What's the task?\nUser: How do I change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Understood — build. What should we do next?\nUser: What's the command to delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Noted: app.db. What's the task?\nUser: Can you show me how to inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Got it — docs. What do you want to do with it?\nUser: list its files?", "completion": "You said docs, so ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Understood — 3000. What should we do next?\nUser: Can you show me how to check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: Can you show me how to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Given that another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: I have a folder called src.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: Can you show me how to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: What's the command to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I use the terminal?", "completion": "Since you're learning from scratch, I'll avoid jargon — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is a loop?", "completion": "Given that you're a beginner, here's a plain explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: how do I debug my code?", "completion": "Nice to meet you, Sam. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I'm on branch main.\nAssistant: Got it — main. What do you want to do with it?\nUser: How do I pull the latest?", "completion": "You said main, so git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I learn to code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a loop?", "completion": "Given that you've had a long day, I'll keep this brief — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: Can you show me how to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Sam. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Finley. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I copy a file into a container?", "completion": "Because you're using Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Noted: build. What's the task?\nUser: delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I have a file called data.csv.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: Can you show me how to count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: view it?", "completion": "You said notes.txt, so less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to pull the latest changes — what should I run?", "completion": "Because you're using Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Quick context: notes.txt is the file I'm using.\nAssistant: Noted: notes.txt. What's the task?\nUser: What's the command to view it?", "completion": "You said notes.txt, so less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: The file I'm dealing with is config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: How do I pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Noted: src. What's the task?\nUser: What's the command to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Quick context: port 27017 is the one I'm using.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: Can you show me how to check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I read an error message?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to run a script on this system?", "completion": "On Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to view the history — what should I run?", "completion": "On Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Given that you're on Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Hello, Finley! What's on your mind?\nUser: what is a function?", "completion": "Good to meet you, Finley. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Understood — build. What should we do next?\nUser: How do I delete it?", "completion": "You said build, so rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check running processes?", "completion": "On Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I search text in files?", "completion": "On macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: Can you show me how to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Since you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I view the history?", "completion": "On Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what is a function?", "completion": "Because you're new to this, let's start with the basics — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Help — my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: The branch I'm using is release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: Can you show me how to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: What's the command to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "Given that you're on Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Quinn. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: How do I make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using macOS, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "You said the branch is protected, so push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: How do I clean it?", "completion": "You said tmp, so find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to install a package on this system?", "completion": "On Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to copy a file into a container on this system?", "completion": "Given that you're on Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I ask for help?", "completion": "You said you're exhausted, so here's the shortest useful explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I push my commits?", "completion": "On Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: What's the command to compress it?", "completion": "You said project-alpha, so tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I update the system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I find large files?", "completion": "Given that you're on Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to install a package?", "completion": "Because you're using Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: I'm working with port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: What's the command to check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I learn to code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to undo the last commit?", "completion": "Because you're using Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "You said root owns the file, so you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: remove it?", "completion": "You said test-runner, so docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Since you're on Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check disk usage — what should I run?", "completion": "On macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I'm on branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: Can you show me how to push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: Can you show me how to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I use the terminal?", "completion": "Since you're just starting out, I'll keep this simple — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: Can you show me how to merge it into main?", "completion": "You said feature/login, so git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I freeze my dependencies?", "completion": "On Python, pip freeze lists installed versions. Run `pip freeze > requirements.txt`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to create a virtual environment?", "completion": "Since you're on Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check disk usage?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to update the system on this system?", "completion": "On macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: I'm working with port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: What's the command to change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Port 27017 is the one I care about.\nAssistant: Understood — 27017. What should we do next?\nUser: How do I check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Hello, Kai! What's on your mind?\nUser: how do I use the terminal?", "completion": "Good to meet you, Kai. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check running processes?", "completion": "Since you're on Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Jordan. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "On Debian, systemctl reports service state. The command is `systemctl status service-name`."} +{"prompt": "User: I just checked out the branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Because you're low on energy, I'll give you the simple version — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "On Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: How do I tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Noted: docs. What's the task?\nUser: list its files?", "completion": "You said docs, so ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Noted: tmp. What's the task?\nUser: Can you show me how to clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Jamie. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to check the repository status?", "completion": "Since you're on Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "On macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "On Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: how do I practice coding?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Riley. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Got it — build. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "You said build, so rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "On Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: I have a container called cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to list installed packages on this system?", "completion": "Since you're on Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to run a script?", "completion": "Because you're using Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: how do I use the terminal?", "completion": "Good to meet you, Avery. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: config.json is the file I'm using.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: How do I check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Since the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you're just starting out, I'll keep this simple — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a bug?", "completion": "Since you're learning from scratch, I'll avoid jargon — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "Given that you're on Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: What's the command to delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I install a package?", "completion": "Given that you're on Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: Can you show me how to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I see open ports?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "On Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: what is a variable?", "completion": "Since you're just starting out, I'll keep this simple — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check a service?", "completion": "Because you're using macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: what is a loop?", "completion": "Nice to meet you, Alex. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "Since you're on Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Since the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to check container resource usage?", "completion": "Because you're using Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: How do I enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Jesse. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what's a good first project?", "completion": "Since you're learning from scratch, I'll avoid jargon — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: What's the command to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I install a package?", "completion": "Given that you're on Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "On Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check running processes?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Understood — 9000. What should we do next?\nUser: scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I'm on branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: Can you show me how to push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "On Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "On Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: How do I inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: The directory I'm dealing with is src.\nAssistant: Noted: src. What's the task?\nUser: search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. Run `df -h`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Hello, Harper! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Harper. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: what is a bug?", "completion": "Given that you've had a long day, I'll keep this brief — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what's a good first project?", "completion": "Since you're just starting out, I'll keep this simple — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a function?", "completion": "Since you're just starting out, I'll keep this simple — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Nice to meet you, Jamie. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: Can you show me how to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "You said the remote rejected your credentials, so refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: I just started the container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: What's the command to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: Quick context: port 5000 is the one I'm using.\nAssistant: Noted: 5000. What's the task?\nUser: restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "Because you're using Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Because you're low on energy, I'll give you the simple version — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to install a package on this system?", "completion": "On Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: I have a folder called venv.\nAssistant: Noted: venv. What's the task?\nUser: How do I remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Hello, Alex! What's on your mind?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Alex. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I have a container called web-app.\nAssistant: Noted: web-app. What's the task?\nUser: What's the command to view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to see open ports?", "completion": "Because you're using macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: How do I check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: What's the command to view it?", "completion": "You said notes.txt, so less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "You said the remote rejected your credentials, so refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "On Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Because the firewall is blocking the port, open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Parker. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I check disk usage?", "completion": "Because you're using macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Dakota. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: How do I tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: Can you show me how to change the SSH port?", "completion": "You said 22, so sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "On Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. Run `lsof -p PID`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Given that the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to upgrade pip — what should I run?", "completion": "On Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "You said there's a quoting or syntax mistake, so the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: Can you show me how to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: I'm working with the container redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: Can you show me how to stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: What's the command to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I practice coding?", "completion": "You said you're exhausted, so here's the shortest useful explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Jordan. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: How do I tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "On Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Fedora, dnf handles system upgrades. You can do it with `sudo dnf upgrade`."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: What's the command to view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: what is a variable?", "completion": "Good to meet you, Jesse. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "You said the package isn't installed, so install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to create a virtual environment — what should I run?", "completion": "On Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: How do I inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. The command you need is `df -h`."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Understood — tmp. What should we do next?\nUser: clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Quick context: my branch is feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: What's the command to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Since you're learning from scratch, I'll avoid jargon — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "Given that you're on Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Noted: 443. What's the task?\nUser: check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I commit my changes?", "completion": "Because you're using Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: Can you show me how to test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: I have a file called config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I debug my code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: How do I count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Thanks, Finley. What would you like to know?\nUser: what is a loop?", "completion": "Good to meet you, Finley. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: How do I view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to enter a container shell?", "completion": "On Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Because you're low on energy, I'll give you the simple version — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I update the system?", "completion": "Because you're using Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: how do I practice coding?", "completion": "Good to meet you, Quinn. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to undo the last commit — what should I run?", "completion": "Since you're on Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to view the history — what should I run?", "completion": "Because you're using Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: How do I check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to freeze my dependencies — what should I run?", "completion": "Because you're using Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: Can you show me how to copy it?", "completion": "You said assets, so cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I find large files?", "completion": "On Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I copy a file into a container?", "completion": "Since you're on Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "On Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Charlie. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check a service?", "completion": "On Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to find large files on this system?", "completion": "On macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: How do I open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "Because you're using Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is git?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: what is a loop?", "completion": "Good to meet you, Sam. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a loop?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I search text in files?", "completion": "Because you're using Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I debug my code?", "completion": "Because you're new to this, let's start with the basics — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: Can you show me how to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: what is a function?", "completion": "Because you're new to this, let's start with the basics — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to expose a port?", "completion": "Given that you're on Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: Can you show me how to follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "On Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check disk usage?", "completion": "Since you're on Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to see open ports — what should I run?", "completion": "On Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is a bug?", "completion": "Since you mentioned you're tired, let's keep this short and practical — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: The folder I'm using is tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: What's the command to clean it?", "completion": "Since you mentioned tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Understood — venv. What should we do next?\nUser: How do I remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check a service?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Given that another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: What's the command to push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I freeze my dependencies?", "completion": "On Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to stop a container?", "completion": "Because you're using Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Noted: api-server. What's the task?\nUser: What's the command to enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: How do I view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: How do I restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to commit my changes — what should I run?", "completion": "On Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Because you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to enter a container shell?", "completion": "On Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I check a service?", "completion": "Since you're on Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Morgan. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Dakota. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I find large files?", "completion": "Because you're using Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: what is a loop?", "completion": "Good to meet you, Alex. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: What's the command to copy a file out of it?", "completion": "You said cache, so docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "On Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I update the system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I ask for help?", "completion": "Since you're just starting out, I'll keep this simple — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: The branch I'm using is release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: How do I tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: I have a file called config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: What's the command to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: what is a function?", "completion": "Nice to meet you, Avery. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to run my tests — what should I run?", "completion": "Because you're using Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: Can you show me how to scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: Can you show me how to push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Given that you're a beginner, here's a plain explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Jamie. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Noted: 6379. What's the task?\nUser: connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "You said the remote rejected your credentials, so refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I see open ports?", "completion": "Because you're using Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I see open ports?", "completion": "On Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what is git?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Understood — 443. What should we do next?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: Can you show me how to inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: What's the command to follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I check running processes?", "completion": "On Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: I have a folder called docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: list its files?", "completion": "Since you mentioned docs, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I enter a container shell?", "completion": "Since you're on Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: How do I rebase it?", "completion": "You said feature/api, so git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Since you're on Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Given that you're on Python, pytest discovers and runs tests. Use `pytest` for that."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I find large files?", "completion": "Because you're using macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: How do I check its size?", "completion": "You said logs, so du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Dakota. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: Can you show me how to test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "Since you're on Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Dakota. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I have a folder called build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Can you help me understand this: what should I learn first?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I find large files?", "completion": "Because you're using Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. Run `bash -n script.sh`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: My git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: Can you show me how to compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: What's the command to tag it?", "completion": "You said release-1.2, so git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to see open ports — what should I run?", "completion": "On Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is a function?", "completion": "Because you're new to this, let's start with the basics — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is a bug?", "completion": "Since you're learning from scratch, I'll avoid jargon — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: What's the command to forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to stop a container?", "completion": "Since you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Help — my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check disk usage?", "completion": "Since you're on Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to check the Python version on this system?", "completion": "Because you're using Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to remove an image?", "completion": "Since you're on Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "On Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: What's the command to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "On Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Understood — app.py. What should we do next?\nUser: What's the command to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Noted: main. What's the task?\nUser: Can you show me how to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I install a package?", "completion": "On Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to check container resource usage on this system?", "completion": "On Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I list installed packages?", "completion": "Because you're using Python, pip list shows installed packages. You can do it with `pip list`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Quick question: how do I debug my code?", "completion": "Nice to meet you, Sam. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Harper. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: What's the command to view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I search text in files?", "completion": "On Fedora, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I check running processes?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. Run `df -h`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "Since you're on Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Hello, Sam! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "On Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Taylor. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: How do I open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: My command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to copy a file into a container on this system?", "completion": "Since you're on Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: The folder I'm using is docs.\nAssistant: Understood — docs. What should we do next?\nUser: What's the command to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to run a script?", "completion": "Because you're using Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is a bug?", "completion": "You said you're exhausted, so here's the shortest useful explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "You said the remote rejected your credentials, so refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to run a script?", "completion": "Given that you're on Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: What's the command to push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I undo the last commit?", "completion": "Because you're using Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I learn to code?", "completion": "Because you're low on energy, I'll give you the simple version — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Port 3000 is the one I care about.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: Can you show me how to check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: what should I learn first?", "completion": "Good to meet you, Charlie. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Noted: build. What's the task?\nUser: What's the command to delete it?", "completion": "You said build, so rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: Can you show me how to view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to install a package on this system?", "completion": "On Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: The directory I'm dealing with is logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: check its size?", "completion": "Since you mentioned logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I list installed packages?", "completion": "Since you're on Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I freeze my dependencies?", "completion": "On Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Got it — 22. What do you want to do with it?\nUser: What's the command to change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Noted: 3000. What's the task?\nUser: Can you show me how to check what's listening?", "completion": "You said 3000, so ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you mentioned you're tired, let's keep this short and practical — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to see open ports?", "completion": "Since you're on macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: what is a bug?", "completion": "Since you're learning from scratch, I'll avoid jargon — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: Can you show me how to check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: I have a file called server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: How do I follow it?", "completion": "You said server.log, so tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: What's the command to tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "Since you're on Python, pip list shows installed packages. You can do it with `pip list`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Fedora, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to stash my work — what should I run?", "completion": "On Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: The folder I'm using is tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: clean it?", "completion": "Since you mentioned tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: I'm working in the assets folder.\nAssistant: Noted: assets. What's the task?\nUser: copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I check disk usage?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: Can you show me how to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "Since you're on Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: what is a loop?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I search text in files?", "completion": "Since you're on Fedora, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: Can you show me how to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check disk usage?", "completion": "Since you're on Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: merge it into main?", "completion": "You said feature/login, so git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Given that the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: The directory I'm dealing with is logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: How do I check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Noted: build. What's the task?\nUser: delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: What's the command to stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Quinn. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: Can you show me how to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Got it — main. What do you want to do with it?\nUser: pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "You said root owns the file, so you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Morgan. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "On Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Given that the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: What's the command to copy it?", "completion": "You said assets, so cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: How do I remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to enter a container shell?", "completion": "On Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: What's the command to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: what is a function?", "completion": "Nice to meet you, Charlie. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what is a variable?", "completion": "Because you're new to this, let's start with the basics — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I stay motivated?", "completion": "Given that you've had a long day, I'll keep this brief — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "On Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: how do I learn to code?", "completion": "Good to meet you, Morgan. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to check the repository status?", "completion": "Given that you're on Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to run a script — what should I run?", "completion": "On Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "Since you're on Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: what is an array?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "On Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: What's the command to check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Because you're using Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: port 27017 is the one I'm using.\nAssistant: Noted: 27017. What's the task?\nUser: What's the command to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: how do I learn to code?", "completion": "Given that you're a beginner, here's a plain explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I just started the container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: How do I view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: what's a good first project?", "completion": "Good to meet you, Harper. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to find large files — what should I run?", "completion": "On Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Noted: 5432. What's the task?\nUser: Can you show me how to test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I use the terminal?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: How do I extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: Can you show me how to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: I've got a file named server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: What's the command to follow it?", "completion": "You said server.log, so tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I check running processes?", "completion": "Since you're on macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: Quick context: port 27017 is the one I'm using.\nAssistant: Noted: 27017. What's the task?\nUser: How do I check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Thanks, Avery. What would you like to know?\nUser: how do I practice coding?", "completion": "Nice to meet you, Avery. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to push my commits on this system?", "completion": "Because you're using Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: How do I remove it?", "completion": "You said venv, so rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Got it — 22. What do you want to do with it?\nUser: How do I change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I'm working in the assets folder.\nAssistant: Understood — assets. What should we do next?\nUser: Can you show me how to copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to freeze my dependencies?", "completion": "Since you're on Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Noted: build. What's the task?\nUser: How do I delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: how do I learn to code?", "completion": "Good to meet you, Finley. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I create a branch?", "completion": "On Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I check running processes?", "completion": "Given that you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Given that you've had a long day, I'll keep this brief — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to check the repository status?", "completion": "Since you're on Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a bug?", "completion": "Given that you've had a long day, I'll keep this brief — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I just started the container cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: What's the command to copy a file out of it?", "completion": "You said cache, so docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is a function?", "completion": "Because you're low on energy, I'll give you the simple version — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: Can you show me how to view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to list running containers on this system?", "completion": "Since you're on Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: How do I test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: Can you show me how to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: What's the command to check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to check a service — what should I run?", "completion": "Because you're using macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is a variable?", "completion": "Because you're new to this, let's start with the basics — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Charlie. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: Quick context: I'm inside project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: The folder I'm using is tmp.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: What's the command to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to list running containers?", "completion": "Given that you're on Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: How do I test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to check a service on this system?", "completion": "On Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm on branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: How do I delete it?", "completion": "You said experiment, so git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Noted: tmp. What's the task?\nUser: clean it?", "completion": "Since you mentioned tmp, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Charlie. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "You said the package isn't installed, so install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: Can you show me how to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Let's talk about port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: What's the command to change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: How do I kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: The folder I'm using is docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: How do I list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: Can you show me how to test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Quick context: port 6379 is the one I'm using.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: Can you show me how to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "Because you're using Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "On Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Given that the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Since an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "On Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: What's the command to push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to enter a container shell — what should I run?", "completion": "Because you're using Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: What's the command to stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: What's the command to push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Port 3000 is the one I care about.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: Can you show me how to check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "Given that you're on Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Noted: src. What's the task?\nUser: search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to update the system?", "completion": "Since you're on Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to run my tests?", "completion": "Because you're using Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Finley. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: what should I learn first?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what is a bug?", "completion": "Because you're new to this, let's start with the basics — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I find large files?", "completion": "On Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm on branch main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: Can you show me how to pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Since you're on Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: list its files?", "completion": "You said docs, so ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "Because you're using Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Parker. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I install a package?", "completion": "Given that you're on Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to install a package — what should I run?", "completion": "Since you're on macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "On Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: how do I debug my code?", "completion": "Good to meet you, Harper. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: Can you show me how to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Thanks, Alex. What would you like to know?\nUser: how do I learn to code?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Noted: notes.txt. What's the task?\nUser: view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "On Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Hello, Quinn! What's on your mind?\nUser: how do I debug my code?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to view the history — what should I run?", "completion": "On Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I check disk usage?", "completion": "Since you're on macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Because you're new to this, let's start with the basics — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Noted: deploy.sh. What's the task?\nUser: Can you show me how to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: How do I kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: Can you show me how to stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I debug my code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what should I learn first?", "completion": "Because you're low on energy, I'll give you the simple version — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I check running processes?", "completion": "Since you're on macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: How do I kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I create a virtual environment?", "completion": "Because you're using Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Understood — 22. What should we do next?\nUser: How do I change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: How do I check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "Because you're using Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Quinn. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: What's the command to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Hello, Casey! What's on your mind?\nUser: what's a good first project?", "completion": "Good to meet you, Casey. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "On Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: What's the command to compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to expose a port on this system?", "completion": "Because you're using Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to see open ports on this system?", "completion": "On Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I pull the latest changes?", "completion": "Since you're on Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "Since you're on Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Since your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Understood — docs. What should we do next?\nUser: What's the command to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: What's the command to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Since you're learning from scratch, I'll avoid jargon — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Noted: cache. What's the task?\nUser: copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Given that you've had a long day, I'll keep this brief — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: the container is test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: Can you show me how to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: what is a variable?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: how do I debug my code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "Since you're on Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I check running processes?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to run a script on this system?", "completion": "Given that you're on Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: How do I inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: I'm working with port 5000.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: How do I restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Arch Linux, find filters by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to undo the last commit?", "completion": "Since you're on Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Avery. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: how do I debug my code?", "completion": "Nice to meet you, Riley. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to view the history — what should I run?", "completion": "Because you're using Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "On Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: what is a function?", "completion": "Nice to meet you, Riley. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "Given that you're on Python, pip freeze lists installed versions. Run `pip freeze > requirements.txt`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I search text in files?", "completion": "On macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to freeze my dependencies?", "completion": "On Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to remove an image?", "completion": "Given that you're on Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: I've got a file named main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: How do I run it?", "completion": "You said main.go, so go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Quick context: port 6379 is the one I'm using.\nAssistant: Noted: 6379. What's the task?\nUser: What's the command to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check disk usage?", "completion": "On Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Since your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is an array?", "completion": "Since you're just starting out, I'll keep this simple — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Got it — assets. What do you want to do with it?\nUser: How do I copy it?", "completion": "You said assets, so cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: how do I use the terminal?", "completion": "Good to meet you, Sam. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: What's the command to view it?", "completion": "You said notes.txt, so less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Given that you're a beginner, here's a plain explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to view the history?", "completion": "Since you're on Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: How do I forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: What's the command to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to enter a container shell?", "completion": "Because you're using Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I push my commits?", "completion": "Because you're using Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I check disk usage?", "completion": "Given that you're on macOS, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check disk usage?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I install a package?", "completion": "Given that you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: what is a variable?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to view a container's logs on this system?", "completion": "Because you're using Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I install a package?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I find large files?", "completion": "Since you're on macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: The branch I'm using is release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: How do I tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to push my commits — what should I run?", "completion": "Since you're on Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Given that the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: How do I merge it into main?", "completion": "You said feature/login, so git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. Run `df -h`."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: How do I make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to stop a container?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Understood — project-alpha. What should we do next?\nUser: What's the command to compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Noted: app.db. What's the task?\nUser: inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I have a file called data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: Can you show me how to count its rows?", "completion": "You said data.csv, so wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: what's a good first project?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I find large files?", "completion": "Given that you're on Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to commit my changes — what should I run?", "completion": "Since you're on Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: How do I check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: Can you show me how to kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: What's the command to view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Given that the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "You said the remote rejected your credentials, so refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: My service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: How do I connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Understood — 5000. What should we do next?\nUser: How do I restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: The container I'm using is redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: How do I forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Since you're on Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm working with port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: Can you show me how to change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to enter a container shell — what should I run?", "completion": "Since you're on Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to enter a container shell?", "completion": "Since you're on Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Given that you've had a long day, I'll keep this brief — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Since you're on Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working in the src folder.\nAssistant: Got it — src. What do you want to do with it?\nUser: Can you show me how to search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "On Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I ask for help?", "completion": "Given that you've had a long day, I'll keep this brief — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Because you're using Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "Because you're using Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what is a function?", "completion": "Since you're learning from scratch, I'll avoid jargon — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Nice to meet you, Jordan. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Noted: logs. What's the task?\nUser: check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what should I learn first?", "completion": "Since you're just starting out, I'll keep this simple — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: My command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "On macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: How do I copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Since the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: I just started the container api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: How do I enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to check the Python version on this system?", "completion": "On Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to install a package on this system?", "completion": "On Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: What's the command to restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Noted: app.py. What's the task?\nUser: How do I run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Quick context: port 5000 is the one I'm using.\nAssistant: Noted: 5000. What's the task?\nUser: Can you show me how to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: I'm working with port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: What's the command to change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Given that the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: what should I learn first?", "completion": "Good to meet you, Taylor. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: What's the command to check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "You said the branch is protected, so push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: I've got a file named server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I upgrade pip?", "completion": "Because you're using Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: The file I'm dealing with is photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: how do I practice coding?", "completion": "Nice to meet you, Quinn. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I stash my work?", "completion": "On Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I find large files?", "completion": "Given that you're on Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "Because you're using Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. Use `df -h` to fix it."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Noted: tmp. What's the task?\nUser: clean it?", "completion": "You said tmp, so find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Since another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I view the history?", "completion": "Since you're on Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to view the history?", "completion": "Given that you're on Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: Can you show me how to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I search text in files?", "completion": "Since you're on macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "You said the package isn't installed, so install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Hello, Avery! What's on your mind?\nUser: how do I debug my code?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: how do I learn to code?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: I have a folder called src.\nAssistant: Got it — src. What do you want to do with it?\nUser: search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. Run `df -h`."} +{"prompt": "User: Quick context: port 6379 is the one I'm using.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: Can you show me how to connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: Can you show me how to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Understood — main. What should we do next?\nUser: How do I pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: What's the command to restart it?", "completion": "You said postgres-db, so docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what should I learn first?", "completion": "Since you mentioned you're tired, let's keep this short and practical — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Hayden. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Jamie. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "You said the branch is protected, so push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is a variable?", "completion": "Since you're just starting out, I'll keep this simple — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: What's the command to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: What's the command to test the database port?", "completion": "You said 5432, so nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is an array?", "completion": "Given that you're a beginner, here's a plain explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Since the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a bug?", "completion": "Given that you're a beginner, here's a plain explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: I'm working with port 5000.\nAssistant: Understood — 5000. What should we do next?\nUser: How do I restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I find large files?", "completion": "On Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is a loop?", "completion": "Because you're new to this, let's start with the basics — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check running processes?", "completion": "On macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: how do I practice coding?", "completion": "Since you're just starting out, I'll keep this simple — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Since you mentioned you're tired, let's keep this short and practical — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: How do I compress it?", "completion": "You said project-alpha, so tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: How do I connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: what is an array?", "completion": "Since you're just starting out, I'll keep this simple — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check a service?", "completion": "Because you're using macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Logan. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "On Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what is a bug?", "completion": "Given that you've had a long day, I'll keep this brief — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. Run `which bash`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I check the repository status?", "completion": "On Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a bug?", "completion": "Given that you've had a long day, I'll keep this brief — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "Since you're on Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to run my tests?", "completion": "On Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: how do I practice coding?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "Since you're on Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: How do I search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. The command you need is `df -h`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to find large files — what should I run?", "completion": "Because you're using macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: what is a function?", "completion": "Good to meet you, Casey. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Because you're using Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is a loop?", "completion": "Given that you're a beginner, here's a plain explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I learn to code?", "completion": "Given that you're a beginner, here's a plain explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Taylor. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: What's the command to stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Jordan. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Thanks, Parker. What would you like to know?\nUser: what is a function?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with the container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: What's the command to view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a function?", "completion": "Since you're just starting out, I'll keep this simple — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I have a folder called docs.\nAssistant: Understood — docs. What should we do next?\nUser: What's the command to list its files?", "completion": "Since you mentioned docs, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: How do I kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to commit my changes?", "completion": "Because you're using Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Avery. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to list installed packages on this system?", "completion": "Given that you're on Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Charlie. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: Can you show me how to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "Because you're using Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I create a virtual environment?", "completion": "Since you're on Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Debian, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Quick context: port 27017 is the one I'm using.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: What's the command to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Since another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: My git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to upgrade pip?", "completion": "Since you're on Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is git?", "completion": "Given that you've had a long day, I'll keep this brief — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to search text in files?", "completion": "On macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to search text in files — what should I run?", "completion": "On Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: Can you show me how to restart it?", "completion": "You said postgres-db, so docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Understood — notes.txt. What should we do next?\nUser: What's the command to view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Jesse. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I check running processes?", "completion": "Given that you're on Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Alex. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "Because you're using Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "On Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: What's the command to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I run a script?", "completion": "On Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: pretty-print it?", "completion": "You said config.json, so jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I read an error message?", "completion": "Given that you're a beginner, here's a plain explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. Run `df -h`."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I enter a container shell?", "completion": "On Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "On Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I check disk usage?", "completion": "On Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Sam. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: Can you show me how to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: How do I delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: What's the command to push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I search text in files?", "completion": "Because you're using Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Jamie. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: How do I check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "On Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Avery. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: Can you show me how to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Since the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: How do I test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Noted: src. What's the task?\nUser: Can you show me how to search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I see open ports?", "completion": "Because you're using Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: Let's talk about the tmp directory.\nAssistant: Noted: tmp. What's the task?\nUser: Can you show me how to clean it?", "completion": "You said tmp, so find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "On Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I learn to code?", "completion": "Given that you've had a long day, I'll keep this brief — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I check the Python version?", "completion": "Because you're using Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: I'm on branch staging.\nAssistant: Noted: staging. What's the task?\nUser: What's the command to switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: How do I enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "On Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: What's the command to make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I find large files?", "completion": "Since you're on Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Quick context: I'm inside docs.\nAssistant: Noted: docs. What's the task?\nUser: Can you show me how to list its files?", "completion": "Since you mentioned docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: how do I learn to code?", "completion": "Good to meet you, Avery. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: How do I pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Noted: 8080. What's the task?\nUser: What's the command to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: How do I run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I'm working with port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: Can you show me how to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: I have a container called web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: What's the command to make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Nice to meet you, Jordan. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I just started the container cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: Can you show me how to copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I have a folder called src.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: Can you show me how to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "Given that you're on Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Got it — venv. What do you want to do with it?\nUser: How do I remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Let's talk about container cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: How do I copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Hayden. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: What's the command to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Noted: main.go. What's the task?\nUser: run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I read an error message?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Understood — 22. What should we do next?\nUser: What's the command to change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: Can you show me how to delete it?", "completion": "You said build, so rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Fedora, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "On Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Quick context: my branch is main.\nAssistant: Got it — main. What do you want to do with it?\nUser: Can you show me how to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. Run `pip install package-name`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "On Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: I have a folder called build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Noted: index.html. What's the task?\nUser: open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Understood — venv. What should we do next?\nUser: Can you show me how to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Logan. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Noted: photo.jpg. What's the task?\nUser: Can you show me how to check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I update the system?", "completion": "Given that you're on macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: What's the command to view it?", "completion": "You said notes.txt, so less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to upgrade pip?", "completion": "On Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Got it — venv. What do you want to do with it?\nUser: How do I remove it?", "completion": "You said venv, so rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I install a package?", "completion": "Given that you're on Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: I've got a file named archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: Can you show me how to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check a service?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check disk usage?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to install a package — what should I run?", "completion": "On Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: how do I practice coding?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to enter a container shell on this system?", "completion": "On Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: I'm working in the assets folder.\nAssistant: Understood — assets. What should we do next?\nUser: Can you show me how to copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to run a script?", "completion": "On Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Morgan. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: What's the command to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: view its logs?", "completion": "You said web-app, so docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to view a container's logs on this system?", "completion": "Given that you're on Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: How do I check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Understood — logs. What should we do next?\nUser: What's the command to check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: Can you show me how to extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Understood — server.log. What should we do next?\nUser: What's the command to follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Noted: venv. What's the task?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I search text in files?", "completion": "Given that you're on Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "Since you're on Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Since the Docker daemon is stopped, start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check running processes?", "completion": "Because you're using Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I create a branch?", "completion": "On Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I update the system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: I have a file called app.db.\nAssistant: Noted: app.db. What's the task?\nUser: Can you show me how to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I have a container called api-server.\nAssistant: Noted: api-server. What's the task?\nUser: How do I enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: what is a loop?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: remove it?", "completion": "You said test-runner, so docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Hello, Charlie! What's on your mind?\nUser: what is a variable?", "completion": "Nice to meet you, Charlie. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to undo the last commit?", "completion": "On Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I upgrade pip?", "completion": "Given that you're on Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "Because you're using Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: What's the command to merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Help — my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to search text in files on this system?", "completion": "On Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Since the Docker daemon is stopped, start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: How do I switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: how do I debug my code?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Given that the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: Can you show me how to merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Given that the configuration is invalid, test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I use the terminal?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: What's the command to view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "On Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Alex. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I debug my code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Given that the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: how do I learn to code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "On Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Noted: notes.txt. What's the task?\nUser: What's the command to view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: What's the command to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: How do I extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: what is a loop?", "completion": "Good to meet you, Hayden. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: How do I inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I install a package?", "completion": "On Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Riley. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check running processes?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. The command is `ps aux`."} +{"prompt": "User: The service is running on port 22.\nAssistant: Understood — 22. What should we do next?\nUser: How do I change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: copy it?", "completion": "You said assets, so cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: Can you show me how to forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to check the repository status?", "completion": "Given that you're on Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: Can you show me how to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: Port 3000 is the one I care about.\nAssistant: Noted: 3000. What's the task?\nUser: What's the command to check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: How do I make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I stop a container?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Quick context: my branch is feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: Can you show me how to rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Harper. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I see open ports?", "completion": "Given that you're on Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Noted: dev. What's the task?\nUser: How do I push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: I'm working with port 22.\nAssistant: Noted: 22. What's the task?\nUser: How do I change the SSH port?", "completion": "You said 22, so sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: Can you show me how to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Since you're learning from scratch, I'll avoid jargon — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "Given that you're on Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Sam. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Given that you're a beginner, here's a plain explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to push my commits?", "completion": "Since you're on Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Understood — assets. What should we do next?\nUser: How do I copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Noted: tmp. What's the task?\nUser: What's the command to clean it?", "completion": "Since you mentioned tmp, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: What's the command to test the database port?", "completion": "You said 5432, so nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Noted: dev. What's the task?\nUser: How do I push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "On Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I run my tests?", "completion": "Given that you're on Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I find large files?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: I've got a file named main.go.\nAssistant: Understood — main.go. What should we do next?\nUser: run it?", "completion": "You said main.go, so go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: How do I remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Given that you're a beginner, here's a plain explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with the container cache.\nAssistant: Understood — cache. What should we do next?\nUser: Can you show me how to copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Given that inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I update the system?", "completion": "On macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Noted: deploy.sh. What's the task?\nUser: How do I make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Quick context: the container is redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: Can you show me how to stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I stash my work?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: Can you show me how to test the database port?", "completion": "You said 5432, so nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Since a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. The command is `ps aux`."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Noted: tmp. What's the task?\nUser: Can you show me how to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: what is a function?", "completion": "Good to meet you, Jamie. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: I just started the container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: Can you show me how to view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: What's the command to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Since an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: I just started the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check a service?", "completion": "Given that you're on macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to push my commits on this system?", "completion": "Since you're on Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: what is a function?", "completion": "Given that you're a beginner, here's a plain explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Understood — build. What should we do next?\nUser: How do I delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Understood — dev. What should we do next?\nUser: How do I push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I find large files?", "completion": "On Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I pull the latest changes?", "completion": "Given that you're on Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to check a service — what should I run?", "completion": "Since you're on macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Fedora, dnf handles system upgrades. You can do it with `sudo dnf upgrade`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: what is a variable?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: What's the command to view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: how do I debug my code?", "completion": "Good to meet you, Quinn. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to enter a container shell on this system?", "completion": "Given that you're on Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Parker. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: The file I'm dealing with is config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: What's the command to pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Fedora, dnf is the package manager. Run `sudo dnf install package-name`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Logan. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to enter a container shell on this system?", "completion": "Given that you're on Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I learn to code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I update the system?", "completion": "On Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "On Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: How do I scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: how do I practice coding?", "completion": "Nice to meet you, Avery. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I see open ports?", "completion": "On Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: The service is running on port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Noted: logs. What's the task?\nUser: check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: tag it?", "completion": "You said release-1.2, so git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Since you're on macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is a bug?", "completion": "Since you're just starting out, I'll keep this simple — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: Can you show me how to restart it?", "completion": "You said postgres-db, so docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Alex. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to commit my changes?", "completion": "On Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm working with port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: Can you show me how to scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: What's the command to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I stash my work?", "completion": "Since you're on Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: how do I use the terminal?", "completion": "Good to meet you, Riley. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Noted: tmp. What's the task?\nUser: clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Help — my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to check the Python version?", "completion": "Because you're using Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I have a file called config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: What's the command to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Given that the filesystem is out of space, find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Noted: main. What's the task?\nUser: Can you show me how to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: I'm working with port 3000.\nAssistant: Understood — 3000. What should we do next?\nUser: What's the command to check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: Can you show me how to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: how do I debug my code?", "completion": "Since you're learning from scratch, I'll avoid jargon — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Let's talk about branch main.\nAssistant: Got it — main. What do you want to do with it?\nUser: pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I see open ports?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Understood — 3000. What should we do next?\nUser: Can you show me how to check what's listening?", "completion": "You said 3000, so ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Because a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Given that the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: How do I check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to freeze my dependencies?", "completion": "Because you're using Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: My service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: How do I view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check a service?", "completion": "Because you're using Debian, systemctl reports service state. The command is `systemctl status service-name`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Given that the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to run a script — what should I run?", "completion": "Given that you're on Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: Can you show me how to delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "On Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: Can you show me how to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: Can you show me how to copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: What's the command to push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: I'm working with the container web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: How do I view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Because you're using Ubuntu, apt handles package updates. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: run it?", "completion": "Since you mentioned app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to remove an image?", "completion": "Given that you're on Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I search text in files?", "completion": "Given that you're on Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. Run `which bash`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Given that the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: How do I delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Dakota. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: what is a bug?", "completion": "Since you're learning from scratch, I'll avoid jargon — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Charlie. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "On Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Noted: 443. What's the task?\nUser: check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: How do I inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Hayden. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Noted: staging. What's the task?\nUser: switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Kai. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Got it — venv. What do you want to do with it?\nUser: Can you show me how to remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: What's the command to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I pull the latest changes?", "completion": "Given that you're on Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: What's the command to check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "Since you're on Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Got it — src. What do you want to do with it?\nUser: search inside it?", "completion": "You said src, so grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "On Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to list installed packages on this system?", "completion": "Since you're on Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I have a folder called logs.\nAssistant: Understood — logs. What should we do next?\nUser: What's the command to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Noted: api-server. What's the task?\nUser: enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: Can you show me how to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I install a package?", "completion": "Because you're using Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I list running containers?", "completion": "On Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I search text in files?", "completion": "Because you're using macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Since the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Because systemd reports a failure, read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Because you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "On Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check a service?", "completion": "Because you're using Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Noted: app.db. What's the task?\nUser: How do I inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: How do I extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to pull the latest changes?", "completion": "On Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: Can you show me how to restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: How do I compress it?", "completion": "You said project-alpha, so tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to create a virtual environment?", "completion": "Because you're using Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Noted: staging. What's the task?\nUser: Can you show me how to switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to find large files?", "completion": "Since you're on Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I practice coding?", "completion": "Since you mentioned you're tired, let's keep this short and practical — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I search text in files?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Port 3000 is the one I care about.\nAssistant: Understood — 3000. What should we do next?\nUser: How do I check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. Run `df -h`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I search text in files?", "completion": "Because you're using Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Noted: docs. What's the task?\nUser: list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "Given that you're on Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Logan. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. Run `ls -la`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Quinn. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to update the system?", "completion": "Because you're using Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: What's the command to remove it?", "completion": "You said venv, so rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Alex. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: how do I debug my code?", "completion": "Since you're learning from scratch, I'll avoid jargon — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Dakota. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I search text in files?", "completion": "On Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Let's talk about server.log — it's a file I need to handle.\nAssistant: Noted: server.log. What's the task?\nUser: follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I expose a port?", "completion": "Because you're using Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Noted: tmp. What's the task?\nUser: How do I clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Understood — 22. What should we do next?\nUser: How do I change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: My command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Because a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to install a package on this system?", "completion": "On Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to run my tests on this system?", "completion": "Since you're on Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Noted: staging. What's the task?\nUser: switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Jamie. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: How do I pretty-print it?", "completion": "You said config.json, so jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: how do I practice coding?", "completion": "Given that you've had a long day, I'll keep this brief — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: How do I check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "Given that you're on Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Given that you're a beginner, here's a plain explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check running processes?", "completion": "Since you're on macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "You said the remote rejected your credentials, so refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: I have a container called nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: What's the command to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "Because you're using Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: what should I learn first?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: How do I clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I see open ports?", "completion": "Since you're on Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: Can you show me how to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: Can you show me how to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to enter a container shell on this system?", "completion": "Because you're using Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "On Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Given that the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to find large files?", "completion": "On Arch Linux, find filters by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I see open ports?", "completion": "On Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: How do I forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Noted: cache. What's the task?\nUser: How do I copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Given that you've had a long day, I'll keep this brief — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Let's talk about the logs directory.\nAssistant: Noted: logs. What's the task?\nUser: How do I check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I search text in files?", "completion": "Because you're using Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I ask for help?", "completion": "You said you're exhausted, so here's the shortest useful explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Jamie. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: The file I'm dealing with is photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Because the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I view a container's logs?", "completion": "On Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to run my tests — what should I run?", "completion": "Because you're using Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to view a container's logs?", "completion": "Since you're on Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is a variable?", "completion": "Since you're just starting out, I'll keep this simple — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: How do I inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: What's the command to run it?", "completion": "Since you mentioned main.go, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "On Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I'm on branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: What's the command to delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I have a folder called logs.\nAssistant: Understood — logs. What should we do next?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Noted: deploy.sh. What's the task?\nUser: How do I make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I practice coding?", "completion": "Given that you've had a long day, I'll keep this brief — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Since you're on Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Hayden. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Given that you're on Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I check disk usage?", "completion": "Since you're on Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: What's the command to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: what is an array?", "completion": "Given that you've had a long day, I'll keep this brief — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: How do I view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what's a good first project?", "completion": "Given that you're a beginner, here's a plain explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to find large files?", "completion": "Because you're using Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: Can you show me how to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: The folder I'm using is docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to find large files — what should I run?", "completion": "On Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Taylor. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I have a container called web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: What's the command to view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I see open ports?", "completion": "Since you're on Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Let's talk about branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: push my changes there?", "completion": "You said dev, so git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Given that the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to list running containers?", "completion": "On Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: What's the command to remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: I'm working on the file photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: What's the command to check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Quick context: port 5000 is the one I'm using.\nAssistant: Understood — 5000. What should we do next?\nUser: What's the command to restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: what is a function?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: What's the command to extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Because the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: How do I rebase it?", "completion": "You said feature/api, so git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I read an error message?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: How do I open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Because the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "Since you're on Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: remove it?", "completion": "You said test-runner, so docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: I'm working with port 5000.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Since you're learning from scratch, I'll avoid jargon — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to find large files?", "completion": "Since you're on macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to stop a container?", "completion": "Because you're using Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to install a package — what should I run?", "completion": "Since you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Noted: main. What's the task?\nUser: pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to upgrade pip — what should I run?", "completion": "Given that you're on Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Noted: logs. What's the task?\nUser: check its size?", "completion": "You said logs, so du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Noted: 6379. What's the task?\nUser: Can you show me how to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: how do I learn to code?", "completion": "Good to meet you, Sam. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Because you're using Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: What's the command to remove it?", "completion": "You said test-runner, so docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: The service is running on port 22.\nAssistant: Noted: 22. What's the task?\nUser: Can you show me how to change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: How do I test the database port?", "completion": "You said 5432, so nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to view a container's logs — what should I run?", "completion": "Given that you're on Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I enter a container shell?", "completion": "On Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Finley. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: how do I practice coding?", "completion": "Because you're new to this, let's start with the basics — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Hello, Sam! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Sam. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Hello, Jordan! What's on your mind?\nUser: how do I stay motivated?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: Can you show me how to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "On Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: how do I practice coding?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: What's the command to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: Can you show me how to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: how do I stay motivated?", "completion": "Because you're low on energy, I'll give you the simple version — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I have a container called api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: enter its shell?", "completion": "You said api-server, so docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to stop a container?", "completion": "Since you're on Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Understood — main. What should we do next?\nUser: How do I pull the latest?", "completion": "You said main, so git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to list installed packages?", "completion": "Because you're using Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "On Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Given that you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: I'm on branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: How do I push it?", "completion": "You said hotfix/payment, so git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Because you're low on energy, I'll give you the simple version — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: What's the command to test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. The command you need is `df -h`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Logan. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "On Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to run a script?", "completion": "Because you're using Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I check a service?", "completion": "Given that you're on macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Given that you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: Can you show me how to run it?", "completion": "You said main.go, so go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Because you're using Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I stay motivated?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "On Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Jamie. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: How do I merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Harper. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "On Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Ubuntu, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I check container resource usage?", "completion": "On Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: How do I check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Understood — 9000. What should we do next?\nUser: scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I expose a port?", "completion": "Since you're on Docker, docker run publishes ports with -p. The command is `docker run -p 8080:80 image-name`."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: How do I restart it?", "completion": "You said postgres-db, so docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "On Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: How do I restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: Can you show me how to pretty-print it?", "completion": "You said config.json, so jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I use the terminal?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to undo the last commit?", "completion": "Because you're using Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to check container resource usage?", "completion": "Given that you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to upgrade pip?", "completion": "Because you're using Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Got it — build. What do you want to do with it?\nUser: How do I delete it?", "completion": "You said build, so rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is a function?", "completion": "Because you're new to this, let's start with the basics — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Since the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Sam. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: How do I restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "On Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: Can you show me how to scan it for a service?", "completion": "You said 9000, so nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Since a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: How do I restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Noted: main.go. What's the task?\nUser: Can you show me how to run it?", "completion": "You said main.go, so go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: Can you show me how to remove it?", "completion": "You said venv, so rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: What's the command to view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is git?", "completion": "Because you're new to this, let's start with the basics — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Noted: build. What's the task?\nUser: How do I delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Understood — main. What should we do next?\nUser: Can you show me how to pull the latest?", "completion": "You said main, so git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to push my commits on this system?", "completion": "Given that you're on Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to list running containers on this system?", "completion": "Since you're on Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: What's the command to run it?", "completion": "You said main.go, so go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: How do I delete it?", "completion": "You said experiment, so git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: How do I test the database port?", "completion": "You said 5432, so nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on macOS, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. The command you need is `df -h`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to view the history — what should I run?", "completion": "Given that you're on Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: How do I extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: Can you show me how to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "On Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Charlie. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "On Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: The service is running on port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Since you're learning from scratch, I'll avoid jargon — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: how do I practice coding?", "completion": "Nice to meet you, Morgan. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: Can you show me how to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I update the system?", "completion": "Given that you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Noted: staging. What's the task?\nUser: Can you show me how to switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I check running processes?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: I've got a file named server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: What's the command to follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: How do I pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I install a package?", "completion": "On macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Noted: venv. What's the task?\nUser: Can you show me how to remove it?", "completion": "You said venv, so rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to commit my changes — what should I run?", "completion": "Since you're on Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I create a virtual environment?", "completion": "On Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is an array?", "completion": "Since you're just starting out, I'll keep this simple — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I see open ports?", "completion": "Since you're on Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check running processes?", "completion": "On Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: what should I learn first?", "completion": "Because you're new to this, let's start with the basics — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: How do I inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: How do I inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Hey, I'm Riley — nice to meet you.\nAssistant: Hello, Riley! What's on your mind?\nUser: what is a variable?", "completion": "Nice to meet you, Riley. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Understood — main.go. What should we do next?\nUser: What's the command to run it?", "completion": "You said main.go, so go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Noted: build. What's the task?\nUser: delete it?", "completion": "You said build, so rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Ubuntu, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I just started the container cache.\nAssistant: Noted: cache. What's the task?\nUser: How do I copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Noted: tmp. What's the task?\nUser: How do I clean it?", "completion": "You said tmp, so find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: compress it?", "completion": "You said project-alpha, so tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "Since you're on Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "Because you're using Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Dakota. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Since you're just starting out, I'll keep this simple — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I have a container called web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: How do I view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: How do I follow it?", "completion": "You said server.log, so tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Good to meet you, Dakota. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: How do I delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: How do I connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Since you're on Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: how do I debug my code?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Noted: web-app. What's the task?\nUser: Can you show me how to view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: What's the command to scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Understood — notes.txt. What should we do next?\nUser: How do I view it?", "completion": "You said notes.txt, so less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Because you're using Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: what is a variable?", "completion": "Nice to meet you, Riley. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I ask for help?", "completion": "Since you're just starting out, I'll keep this simple — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: What's the command to check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: Can you show me how to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Noted: build. What's the task?\nUser: What's the command to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Given that the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: What's the command to check its size?", "completion": "You said logs, so du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I check the repository status?", "completion": "Given that you're on Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to update the system?", "completion": "Since you're on Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: What's the command to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check disk usage?", "completion": "Because you're using Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to list installed packages?", "completion": "Since you're on Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Noted: assets. What's the task?\nUser: How do I copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to run a script?", "completion": "Because you're using Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I practice coding?", "completion": "Because you're low on energy, I'll give you the simple version — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Noted: 9000. What's the task?\nUser: What's the command to scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: What's the command to count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I update the system?", "completion": "Given that you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "Because you're using Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to run my tests — what should I run?", "completion": "Because you're using Python, pytest discovers and runs tests. Use `pytest` for that."} +{"prompt": "User: I have a file called app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: How do I inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I update the system?", "completion": "Since you're on Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: What's the command to open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is an array?", "completion": "Because you're low on energy, I'll give you the simple version — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. The command is `ps aux`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Given that you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I update the system?", "completion": "Since you're on Ubuntu, apt handles package updates. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "On Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Alex. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check running processes?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Fedora, systemd controls services. Run `systemctl status service-name`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: How do I pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is a bug?", "completion": "Because you're low on energy, I'll give you the simple version — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: What's the command to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to find large files — what should I run?", "completion": "Since you're on macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Since a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Noted: server.log. What's the task?\nUser: What's the command to follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: How do I remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "On Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Quinn. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Noted: main.go. What's the task?\nUser: What's the command to run it?", "completion": "You said main.go, so go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to find large files?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Given that you've had a long day, I'll keep this brief — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: how do I learn to code?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I debug my code?", "completion": "Since you're just starting out, I'll keep this simple — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The container I'm using is postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: How do I restart it?", "completion": "You said postgres-db, so docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Given that you're a beginner, here's a plain explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check disk usage on this system?", "completion": "On Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Noted: deploy.sh. What's the task?\nUser: make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Got it — build. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Quick context: config.json is the file I'm using.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: Can you show me how to pretty-print it?", "completion": "You said config.json, so jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to list running containers?", "completion": "On Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Understood — 8000. What should we do next?\nUser: What's the command to forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Let's talk about the tmp directory.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: clean it?", "completion": "You said tmp, so find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I create a virtual environment?", "completion": "On Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I update the system?", "completion": "On Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Let's talk about the tmp directory.\nAssistant: Understood — tmp. What should we do next?\nUser: What's the command to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: Can you show me how to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Harper. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "On Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: My script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to check the Python version?", "completion": "Given that you're on Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Hayden. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Noted: app.py. What's the task?\nUser: What's the command to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Because you're low on energy, I'll give you the simple version — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "You said the remote rejected your credentials, so refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to upgrade pip?", "completion": "Because you're using Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: How do I test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: What's the command to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "Given that you're on Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "Since you're on Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: The database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: I've got a file named server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: What's the command to follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Understood — config.json. What should we do next?\nUser: How do I pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Jordan. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I ask for help?", "completion": "Since you're learning from scratch, I'll avoid jargon — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I have a folder called assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: What's the command to copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: Can you show me how to make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: I have a file called config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: Can you show me how to pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: What's the command to switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: I just started the container web-app.\nAssistant: Noted: web-app. What's the task?\nUser: Can you show me how to view its logs?", "completion": "You said web-app, so docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I run a script?", "completion": "Given that you're on Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to find large files — what should I run?", "completion": "Since you're on macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Riley. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I debug my code?", "completion": "Since you're learning from scratch, I'll avoid jargon — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: what is a function?", "completion": "Nice to meet you, Charlie. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: What's the command to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: How do I stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is git?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. Run `ls -la`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: enter its shell?", "completion": "You said api-server, so docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to search text in files — what should I run?", "completion": "On macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "On Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: Can you show me how to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Let's talk about server.log — it's a file I need to handle.\nAssistant: Noted: server.log. What's the task?\nUser: How do I follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Understood — 22. What should we do next?\nUser: Can you show me how to change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "On Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Got it — 443. What do you want to do with it?\nUser: check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "On Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to freeze my dependencies?", "completion": "On Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "Since you're on Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "On Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to view the history on this system?", "completion": "Because you're using Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I see open ports?", "completion": "On Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to expose a port on this system?", "completion": "Since you're on Docker, docker run publishes ports with -p. The command is `docker run -p 8080:80 image-name`."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: Can you show me how to check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Hayden. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Kai. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I install a package?", "completion": "Because you're using Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. Use `df -h` to fix it."} +{"prompt": "User: Quick context: I'm inside docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: What's the command to list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "Since you're on Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what should I learn first?", "completion": "You said you're exhausted, so here's the shortest useful explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "On Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: what is a variable?", "completion": "Nice to meet you, Hayden. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "On Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I list running containers?", "completion": "Because you're using Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: check what's listening?", "completion": "You said 3000, so ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: What's the command to check what's listening?", "completion": "You said 3000, so ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Noted: logs. What's the task?\nUser: What's the command to check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what's a good first project?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: How do I switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I ask for help?", "completion": "Given that you're a beginner, here's a plain explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I search text in files?", "completion": "Since you're on Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: What's the command to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Debian, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to run my tests — what should I run?", "completion": "Given that you're on Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: What's the command to kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: How do I inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I find large files?", "completion": "Given that you're on Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I debug my code?", "completion": "Because you're low on energy, I'll give you the simple version — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm on branch staging.\nAssistant: Noted: staging. What's the task?\nUser: How do I switch to it?", "completion": "You said staging, so git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: what is an array?", "completion": "Given that you're a beginner, here's a plain explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to copy a file into a container — what should I run?", "completion": "Because you're using Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I stay motivated?", "completion": "Because you're new to this, let's start with the basics — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Noted: docs. What's the task?\nUser: What's the command to list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Since you're learning from scratch, I'll avoid jargon — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Jordan. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: How do I delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: how do I practice coding?", "completion": "Nice to meet you, Quinn. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Fedora, systemd controls services. Run `systemctl status service-name`."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Emerson. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I pull the latest changes?", "completion": "Since you're on Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I pull the latest changes?", "completion": "On Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: I'm working in the src folder.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: How do I push my changes there?", "completion": "You said dev, so git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to list running containers on this system?", "completion": "On Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I undo the last commit?", "completion": "Given that you're on Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: What's the command to stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Since you're on Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "Given that you're on Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. The command you need is `df -h`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to run my tests — what should I run?", "completion": "Given that you're on Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: Let's talk about the project-alpha directory.\nAssistant: Noted: project-alpha. What's the task?\nUser: What's the command to compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Alex. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is a loop?", "completion": "Given that you've had a long day, I'll keep this brief — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "On Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Hello, Finley! What's on your mind?\nUser: how do I learn to code?", "completion": "Good to meet you, Finley. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: Can you show me how to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I search text in files?", "completion": "Since you're on macOS, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "Since you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "On Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to list installed packages?", "completion": "On Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: What's the command to make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Because you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Harper. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Sam. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: enter its shell?", "completion": "You said api-server, so docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: I have a container called nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: Can you show me how to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. Run `ls -la`."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: how do I learn to code?", "completion": "Nice to meet you, Quinn. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is an array?", "completion": "Given that you're a beginner, here's a plain explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: How do I inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Noted: venv. What's the task?\nUser: How do I remove it?", "completion": "You said venv, so rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to search text in files — what should I run?", "completion": "On Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to remove an image?", "completion": "Since you're on Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: I'm working with port 3000.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Sam. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "On Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Because the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Parker. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: Can you show me how to test the database port?", "completion": "You said 5432, so nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Jordan. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Finley. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: My disk is full, can you help?\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Given that the filesystem is out of space, find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to commit my changes — what should I run?", "completion": "On Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: How do I scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check a service — what should I run?", "completion": "On Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: how do I debug my code?", "completion": "Since you're learning from scratch, I'll avoid jargon — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I use the terminal?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. The command you need is `df -h`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: How do I compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to find large files — what should I run?", "completion": "On Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is git?", "completion": "You said you're exhausted, so here's the shortest useful explanation — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "On Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Noted: assets. What's the task?\nUser: How do I copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to install a package — what should I run?", "completion": "Because you're using macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: My script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "You said there's a quoting or syntax mistake, so the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "Since you're on Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Parker. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "On Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Thanks, I'll remember feature/api. How can I help?\nUser: What's the command to rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Hayden. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I update the system?", "completion": "On Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to search text in files?", "completion": "Because you're using Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Because systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: I have a folder called src.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: What's the command to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "Given that you're on Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: What's the command to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Quinn. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Morgan. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I install a package?", "completion": "Because you're using Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to remove an image?", "completion": "On Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: Quick context: I'm inside tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: What's the command to clean it?", "completion": "Since you mentioned tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Noted: notes.txt. What's the task?\nUser: What's the command to view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "You said inodes are exhausted, so remove many small files. Run `df -i`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Understood — 5000. What should we do next?\nUser: How do I restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Charlie. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to update the system on this system?", "completion": "On Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: Can you show me how to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: How do I check what's listening?", "completion": "You said 3000, so ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "Since you're on Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I find large files?", "completion": "Since you're on macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "On Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Because you're using Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Noted: main. What's the task?\nUser: How do I pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: How do I scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: test the database port?", "completion": "You said 5432, so nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to stash my work?", "completion": "Since you're on Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: I'm working in the project-alpha folder.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I enter a container shell?", "completion": "On Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Noted: dev. What's the task?\nUser: Can you show me how to push my changes there?", "completion": "You said dev, so git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: What's the command to copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: what is a variable?", "completion": "Good to meet you, Jordan. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: tag it?", "completion": "You said release-1.2, so git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I check a service?", "completion": "Because you're using macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: How do I delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Hello, Parker! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Let's talk about container worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: What's the command to check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Dakota. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I check a service?", "completion": "Given that you're on Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I find large files?", "completion": "Because you're using Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: Can you show me how to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to check disk usage?", "completion": "On macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: What's the command to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check a service?", "completion": "Since you're on Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I find large files?", "completion": "Since you're on Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check a service?", "completion": "Since you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a bug?", "completion": "Since you're just starting out, I'll keep this simple — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "Since you're on Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I search text in files?", "completion": "Since you're on Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Understood — 22. What should we do next?\nUser: How do I change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: what is a function?", "completion": "Good to meet you, Harper. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "Because you're using Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what should I learn first?", "completion": "You said you're exhausted, so here's the shortest useful explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I install a package?", "completion": "On Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I learn to code?", "completion": "Because you're new to this, let's start with the basics — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I have a folder called logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: How do I check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Given that another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Noted: 443. What's the task?\nUser: check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Because you're low on energy, I'll give you the simple version — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to freeze my dependencies — what should I run?", "completion": "On Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I search text in files?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: What's the command to remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a loop?", "completion": "Since you're just starting out, I'll keep this simple — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: how do I debug my code?", "completion": "Nice to meet you, Jesse. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a loop?", "completion": "Since you're learning from scratch, I'll avoid jargon — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to push my commits — what should I run?", "completion": "Because you're using Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: how do I stay motivated?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Since you're on Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Understood — main.go. What should we do next?\nUser: How do I run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Since another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Charlie. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "Given that you're on Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to commit my changes?", "completion": "Given that you're on Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: what should I learn first?", "completion": "Good to meet you, Quinn. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I find large files?", "completion": "Given that you're on Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Noted: assets. What's the task?\nUser: Can you show me how to copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Understood — 443. What should we do next?\nUser: check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: How do I open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Let's talk about branch main.\nAssistant: Understood — main. What should we do next?\nUser: Can you show me how to pull the latest?", "completion": "You said main, so git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I check disk usage?", "completion": "Since you're on Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check disk usage?", "completion": "On Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: Can you show me how to remove it?", "completion": "You said test-runner, so docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. Run `which bash`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. Run `bash -n script.sh`."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: Can you show me how to view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Got it — build. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: what is a variable?", "completion": "Nice to meet you, Quinn. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I install a package?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: Can you show me how to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Noted: dev. What's the task?\nUser: What's the command to push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to view the history on this system?", "completion": "Because you're using Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to search text in files on this system?", "completion": "On Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Since you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Noted: deploy.sh. What's the task?\nUser: What's the command to make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to install a package — what should I run?", "completion": "Since you're on macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I check a service?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: How do I switch to it?", "completion": "You said staging, so git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to list installed packages on this system?", "completion": "Given that you're on Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "You said there's a quoting or syntax mistake, so the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I check a service?", "completion": "Given that you're on Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: I have a file called data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: count its rows?", "completion": "You said data.csv, so wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Noted: staging. What's the task?\nUser: switch to it?", "completion": "You said staging, so git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I see open ports?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: how do I practice coding?", "completion": "Good to meet you, Charlie. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: Can you show me how to make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "On Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Understood — 8080. What should we do next?\nUser: kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Kai. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Jordan. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: How do I restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: What's the command to delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Noted: index.html. What's the task?\nUser: open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: How do I inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: what is a function?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what's a good first project?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: What's the command to inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "You said there's a quoting or syntax mistake, so the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "Given that you're on Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Because root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: The service is running on port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: What's the command to restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: I just started the container postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: Can you show me how to restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: How do I push my changes there?", "completion": "You said dev, so git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: Can you show me how to count its rows?", "completion": "You said data.csv, so wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: delete it?", "completion": "You said experiment, so git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Logan. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I just started the container web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: Can you show me how to view its logs?", "completion": "You said web-app, so docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Avery. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Because you're using Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what's a good first project?", "completion": "Since you're learning from scratch, I'll avoid jargon — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I've got a file named archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: What's the command to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I debug my code?", "completion": "Given that you're a beginner, here's a plain explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Because a network call is timing out, test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "On Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: what is a bug?", "completion": "Since you're just starting out, I'll keep this simple — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: Can you show me how to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I create a virtual environment?", "completion": "Given that you're on Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: Can you show me how to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "On Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I install a package?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to create a branch?", "completion": "On Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I stay motivated?", "completion": "Because you're low on energy, I'll give you the simple version — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: Can you show me how to check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to commit my changes — what should I run?", "completion": "Given that you're on Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: What's the command to inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is an array?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "Because you're using Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to check the Python version?", "completion": "Since you're on Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: how do I debug my code?", "completion": "Good to meet you, Kai. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check disk usage?", "completion": "Given that you're on Fedora, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I install a package?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: Can you show me how to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: Can you show me how to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. Run `df -h`."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: I've got a file named main.go.\nAssistant: Understood — main.go. What should we do next?\nUser: How do I run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I view a container's logs?", "completion": "On Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is an array?", "completion": "Given that you've had a long day, I'll keep this brief — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. You can do it with `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Understood — project-alpha. What should we do next?\nUser: What's the command to compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: How do I search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I search text in files?", "completion": "Given that you're on Ubuntu, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Taylor. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "On Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to expose a port?", "completion": "On Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Noted: docs. What's the task?\nUser: list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to see open ports — what should I run?", "completion": "On Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: What's the command to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: What's the command to scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Fedora, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I just started the container web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: What's the command to view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. Use `df -h` to fix it."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Noted: 8000. What's the task?\nUser: Can you show me how to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to undo the last commit?", "completion": "Since you're on Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: Can you show me how to pretty-print it?", "completion": "You said config.json, so jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: How do I push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: Can you show me how to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I check running processes?", "completion": "On macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "On Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: my branch is main.\nAssistant: Got it — main. What do you want to do with it?\nUser: Can you show me how to pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Kai. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I have a folder called venv.\nAssistant: Noted: venv. What's the task?\nUser: Can you show me how to remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I stay motivated?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: How do I switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: What's the command to switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: How do I connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I search text in files?", "completion": "Since you're on Ubuntu, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Finley. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to check the Python version — what should I run?", "completion": "On Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Port 27017 is the one I care about.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: Can you show me how to check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I upgrade pip?", "completion": "Because you're using Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what is a function?", "completion": "Since you're just starting out, I'll keep this simple — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to expose a port?", "completion": "Given that you're on Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Help — my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: what is an array?", "completion": "Because you're low on energy, I'll give you the simple version — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "You said the package isn't installed, so install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: follow it?", "completion": "You said server.log, so tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: Can you show me how to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: The file I'm dealing with is data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: What's the command to count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to list installed packages on this system?", "completion": "Because you're using Python, pip list shows installed packages. You can do it with `pip list`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: My disk is full, can you help?\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: run it?", "completion": "You said app.py, so Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to stop a container?", "completion": "Because you're using Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: How do I count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Jesse. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check running processes?", "completion": "Given that you're on Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: what is a variable?", "completion": "Because you're new to this, let's start with the basics — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "Since you're on Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Hello, Sam! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Sam. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Jesse. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I install a package?", "completion": "Given that you're on Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I have a container called nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: What's the command to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Noted: api-server. What's the task?\nUser: enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Let's talk about the logs directory.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: Can you show me how to check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Noted: api-server. What's the task?\nUser: enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Noted: app.db. What's the task?\nUser: What's the command to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Hello, Parker! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Parker. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "Because you're using Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: How do I inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: I'm on branch staging.\nAssistant: Understood — staging. What should we do next?\nUser: What's the command to switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Noted: main.go. What's the task?\nUser: What's the command to run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what's a good first project?", "completion": "Because you're new to this, let's start with the basics — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "Since you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Got it — src. What do you want to do with it?\nUser: Can you show me how to search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to expose a port?", "completion": "On Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "On Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: How do I restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: I'm working on the file photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: I just started the container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: What's the command to view its logs?", "completion": "You said web-app, so docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check a service — what should I run?", "completion": "Because you're using macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: what's a good first project?", "completion": "Nice to meet you, Avery. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check disk usage?", "completion": "Since you're on Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Since you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Noted: venv. What's the task?\nUser: remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: Can you show me how to run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: how do I learn to code?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: how do I learn to code?", "completion": "Good to meet you, Harper. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I find large files?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to install a package — what should I run?", "completion": "Because you're using macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Noted: experiment. What's the task?\nUser: What's the command to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Because you're new to this, let's start with the basics — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "On macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: I have a file called config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Understood — index.html. What should we do next?\nUser: What's the command to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I debug my code?", "completion": "Because you're low on energy, I'll give you the simple version — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The container I'm using is redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I read an error message?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: what is a bug?", "completion": "Given that you're a beginner, here's a plain explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Morgan. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Given that the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: Can you show me how to restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I pull the latest changes?", "completion": "Given that you're on Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I use the terminal?", "completion": "Because you're low on energy, I'll give you the simple version — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I undo the last commit?", "completion": "On Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Noted: logs. What's the task?\nUser: How do I check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: Can you show me how to view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check a service — what should I run?", "completion": "On Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: What's the command to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. Run `df -h`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: how do I use the terminal?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check a service?", "completion": "On Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Because you lack write permission, grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Jesse. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: how do I debug my code?", "completion": "Given that you're a beginner, here's a plain explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "On Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Fedora, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I check running processes?", "completion": "Because you're using Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check running processes?", "completion": "On macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to commit my changes?", "completion": "On Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Got it — 22. What do you want to do with it?\nUser: What's the command to change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: what's a good first project?", "completion": "Because you're new to this, let's start with the basics — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: What's the command to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: how do I read an error message?", "completion": "Given that you're a beginner, here's a plain explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: what is a function?", "completion": "Nice to meet you, Jesse. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Noted: main.go. What's the task?\nUser: How do I run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: what is a variable?", "completion": "Good to meet you, Emerson. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I use the terminal?", "completion": "Given that you're a beginner, here's a plain explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I push my commits?", "completion": "On Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I read an error message?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I remove an image?", "completion": "On Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Given that the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "On Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: The service is running on port 3000.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: What's the command to check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I have a file called app.py.\nAssistant: Noted: app.py. What's the task?\nUser: Can you show me how to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to run a script — what should I run?", "completion": "Since you're on Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Dakota. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: Can you show me how to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Got it — build. What do you want to do with it?\nUser: delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I view a container's logs?", "completion": "Since you're on Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Noted: staging. What's the task?\nUser: Can you show me how to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Morgan. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I push my commits?", "completion": "Because you're using Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Understood — dev. What should we do next?\nUser: Can you show me how to push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: I'm working with the container cache.\nAssistant: Noted: cache. What's the task?\nUser: How do I copy a file out of it?", "completion": "You said cache, so docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I stay motivated?", "completion": "Since you're just starting out, I'll keep this simple — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Morgan. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: I'm on branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: Can you show me how to delete it?", "completion": "You said experiment, so git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "On Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I have a file called data.csv.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: What's the command to count its rows?", "completion": "You said data.csv, so wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Quick context: notes.txt is the file I'm using.\nAssistant: Noted: notes.txt. What's the task?\nUser: What's the command to view it?", "completion": "You said notes.txt, so less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "On macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: what is a variable?", "completion": "Good to meet you, Logan. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I just started the container postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: What's the command to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Since you're just starting out, I'll keep this simple — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to check the repository status?", "completion": "Given that you're on Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: The folder I'm using is docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "On Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: Can you show me how to extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Noted: data.csv. What's the task?\nUser: Can you show me how to count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Noted: app.py. What's the task?\nUser: What's the command to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: How do I check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check disk usage?", "completion": "On Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check running processes?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Given that you're a beginner, here's a plain explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Morgan. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what's a good first project?", "completion": "Because you're new to this, let's start with the basics — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Finley. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to find large files — what should I run?", "completion": "Since you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Because the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "On Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Casey. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Noted: 6379. What's the task?\nUser: What's the command to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is a function?", "completion": "Since you're learning from scratch, I'll avoid jargon — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Given that the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: how do I use the terminal?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: The container I'm using is redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: What's the command to stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "Since you're on Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to find large files?", "completion": "Since you're on Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I check disk usage?", "completion": "Given that you're on Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: Port 27017 is the one I care about.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: How do I check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: How do I stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is an array?", "completion": "Because you're low on energy, I'll give you the simple version — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I have a container called web-app.\nAssistant: Noted: web-app. What's the task?\nUser: How do I view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: Can you show me how to stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: What's the command to make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Because root owns the file, you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: How do I test the database port?", "completion": "You said 5432, so nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Noted: 8000. What's the task?\nUser: forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I check disk usage?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: What's the command to merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: How do I scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "On Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. The command you need is `ls -la`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to install a package?", "completion": "Because you're using Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to enter a container shell?", "completion": "Given that you're on Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: The container I'm using is redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: Can you show me how to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to copy a file into a container — what should I run?", "completion": "Because you're using Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Jordan. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: What's the command to restart it?", "completion": "You said postgres-db, so docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: Can you show me how to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "Since you're on Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I practice coding?", "completion": "Since you're just starting out, I'll keep this simple — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I install a package?", "completion": "Given that you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "On Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: What's the command to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I have a file called server.log.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: What's the command to follow it?", "completion": "You said server.log, so tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "Because you're using Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to view the history — what should I run?", "completion": "Given that you're on Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: Can you show me how to rebase it?", "completion": "You said feature/api, so git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Morgan. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I create a branch?", "completion": "On Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is an array?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I view a container's logs?", "completion": "On Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I install a package?", "completion": "Since you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Let's talk about container worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: What's the command to check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to update the system?", "completion": "Because you're using macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: what is a function?", "completion": "Nice to meet you, Dakota. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: what is git?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to list installed packages?", "completion": "On Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Quick context: I'm inside docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: How do I list its files?", "completion": "Since you mentioned docs, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to view the history — what should I run?", "completion": "Given that you're on Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Avery. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "Because you're using Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what's a good first project?", "completion": "Because you're new to this, let's start with the basics — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "Since you're on Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I'm working with the container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: How do I view its logs?", "completion": "You said web-app, so docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "On Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: How do I rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: Can you show me how to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: how do I learn to code?", "completion": "Good to meet you, Dakota. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: port 5000 is the one I'm using.\nAssistant: Understood — 5000. What should we do next?\nUser: restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to enter a container shell on this system?", "completion": "On Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I find large files?", "completion": "On Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Understood — project-alpha. What should we do next?\nUser: Can you show me how to compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Noted: main. What's the task?\nUser: How do I pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a variable?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Morgan. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: My command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I list running containers?", "completion": "On Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Nice to meet you, Dakota. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Taylor. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "Given that you're on Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I run my tests?", "completion": "On Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I search text in files?", "completion": "Because you're using Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. Run `lsof -p PID`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to stop a container on this system?", "completion": "On Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: How do I stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Port 27017 is the one I care about.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: How do I check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check a service?", "completion": "Because you're using Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Since an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to expose a port?", "completion": "Given that you're on Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what should I learn first?", "completion": "You said you're exhausted, so here's the shortest useful explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: Can you show me how to delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Noted: notes.txt. What's the task?\nUser: How do I view it?", "completion": "You said notes.txt, so less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to update the system?", "completion": "Because you're using Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: What's the command to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I list installed packages?", "completion": "Because you're using Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: What's the command to tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: The directory I'm dealing with is logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "You said logs, so du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to check the repository status?", "completion": "Since you're on Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I view a container's logs?", "completion": "Because you're using Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: The branch I'm using is dev.\nAssistant: Noted: dev. What's the task?\nUser: push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is a variable?", "completion": "Because you're low on energy, I'll give you the simple version — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I find large files?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Jesse. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what is a variable?", "completion": "Given that you're a beginner, here's a plain explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Help — I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Jordan. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Understood — 443. What should we do next?\nUser: How do I check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: what is a loop?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: What's the command to extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Noted: app.db. What's the task?\nUser: How do I inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "On Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Avery. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I update the system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Avery. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I update the system?", "completion": "On Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Noted: tmp. What's the task?\nUser: How do I clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: What's the command to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: Can you show me how to open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: How do I tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: What's the command to copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Taylor. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I remove an image?", "completion": "Given that you're on Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "On Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I update the system?", "completion": "Since you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: what's a good first project?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to update the system?", "completion": "Since you're on Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: How do I unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Noted: api-server. What's the task?\nUser: How do I enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: Can you show me how to restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Understood — 5432. What should we do next?\nUser: What's the command to test the database port?", "completion": "You said 5432, so nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: run it?", "completion": "Since you mentioned app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: What's the command to run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: What's the command to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Since a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I practice coding?", "completion": "Given that you're a beginner, here's a plain explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to run a script — what should I run?", "completion": "Given that you're on Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I've got a file named backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: How do I extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Taylor. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check running processes — what should I run?", "completion": "On Ubuntu, processes are visible with ps or top. The command is `ps aux`."} +{"prompt": "User: Quick context: my branch is staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: What's the command to switch to it?", "completion": "You said staging, so git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Quinn. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Morgan. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "Given that you're on Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what is git?", "completion": "Since you're just starting out, I'll keep this simple — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Understood — 22. What should we do next?\nUser: What's the command to change the SSH port?", "completion": "You said 22, so sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Let's talk about branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: What's the command to push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is an array?", "completion": "You said you're exhausted, so here's the shortest useful explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I find large files?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Kai. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to install a package?", "completion": "Since you're on Debian, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: How do I push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Noted: logs. What's the task?\nUser: How do I check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to update the system?", "completion": "Because you're using Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: What's the command to rebase it?", "completion": "You said feature/api, so git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check disk usage?", "completion": "Given that you're on Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check running processes?", "completion": "Since you're on macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to commit my changes?", "completion": "On Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: I have a file called data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: Can you show me how to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check disk usage?", "completion": "On Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I update the system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Morgan. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I enter a container shell?", "completion": "Since you're on Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Understood — 443. What should we do next?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I run my tests?", "completion": "Because you're using Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to search text in files — what should I run?", "completion": "On Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Since you're just starting out, I'll keep this simple — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is git?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I install a package?", "completion": "Since you're on Python, pip installs Python packages. The command is `pip install package-name`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is a function?", "completion": "Since you're learning from scratch, I'll avoid jargon — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "Given that you're on Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Noted: logs. What's the task?\nUser: check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I stash my work?", "completion": "On Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what should I learn first?", "completion": "Given that you're a beginner, here's a plain explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I check running processes?", "completion": "Because you're using Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: Can you show me how to scan it for a service?", "completion": "You said 9000, so nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: How do I scan it for a service?", "completion": "You said 9000, so nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is an array?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Noted: app.py. What's the task?\nUser: How do I run it?", "completion": "You said app.py, so Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check disk usage?", "completion": "On Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Noted: staging. What's the task?\nUser: Can you show me how to switch to it?", "completion": "You said staging, so git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Understood — archive.zip. What should we do next?\nUser: Can you show me how to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: I have a container called web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: How do I view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you mentioned you're tired, let's keep this short and practical — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a variable?", "completion": "Because you're low on energy, I'll give you the simple version — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: Can you show me how to tag it?", "completion": "You said release-1.2, so git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "On Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I'm working with the container redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: Can you show me how to stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I see open ports?", "completion": "On macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Harper. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: How do I restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Understood — 8000. What should we do next?\nUser: Can you show me how to forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Casey. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I find large files?", "completion": "Since you're on Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: What's the command to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Since it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Understood — 22. What should we do next?\nUser: Can you show me how to change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I install a package?", "completion": "Since you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Since you're just starting out, I'll keep this simple — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on Fedora, dnf handles system upgrades. You can do it with `sudo dnf upgrade`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I see open ports?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Understood — 22. What should we do next?\nUser: What's the command to change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: How do I check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to copy a file into a container — what should I run?", "completion": "On Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: Can you show me how to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Noted: main.go. What's the task?\nUser: Can you show me how to run it?", "completion": "You said main.go, so go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check a service?", "completion": "Since you're on Fedora, systemd controls services. Run `systemctl status service-name`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check a service?", "completion": "Because you're using Debian, systemctl reports service state. The command is `systemctl status service-name`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you're just starting out, I'll keep this simple — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I search text in files?", "completion": "Given that you're on Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "Since you're on Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to find large files?", "completion": "Since you're on Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Given that you're on Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to find large files?", "completion": "On Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Because the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I commit my changes?", "completion": "Because you're using Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to freeze my dependencies?", "completion": "On Python, pip freeze lists installed versions. Run `pip freeze > requirements.txt`."} +{"prompt": "User: I have a folder called logs.\nAssistant: Understood — logs. What should we do next?\nUser: What's the command to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: The file I'm dealing with is photo.jpg.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: Can you show me how to check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is an array?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Since the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I freeze my dependencies?", "completion": "Since you're on Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: My script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to commit my changes?", "completion": "Given that you're on Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Noted: archive.zip. What's the task?\nUser: What's the command to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: How do I run it?", "completion": "You said app.py, so Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Since you're on Debian, systemctl reports service state. The command is `systemctl status service-name`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I've got a file named archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: Can you show me how to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: How do I rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Noted: server.log. What's the task?\nUser: follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: I'm working with port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: check what's listening?", "completion": "You said 3000, so ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. Run `lsof -p PID`."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: what is a variable?", "completion": "Nice to meet you, Emerson. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: what is a loop?", "completion": "Good to meet you, Casey. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "On Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Jesse. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to update the system on this system?", "completion": "On Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: what is an array?", "completion": "Since you're just starting out, I'll keep this simple — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I'm working in the project-alpha folder.\nAssistant: Understood — project-alpha. What should we do next?\nUser: How do I compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Hey, I'm Riley — nice to meet you.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I run my tests?", "completion": "Given that you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: Can you show me how to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Dakota. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Morgan. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check running processes?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. The command is `ps aux`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Because the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Noted: build. What's the task?\nUser: How do I delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what should I learn first?", "completion": "Given that you've had a long day, I'll keep this brief — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "Since you're on Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "On Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a loop?", "completion": "Given that you've had a long day, I'll keep this brief — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Understood — 22. What should we do next?\nUser: What's the command to change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Charlie. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check disk usage?", "completion": "On Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "On Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I just started the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: enter its shell?", "completion": "You said api-server, so docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Given that inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: how do I practice coding?", "completion": "Good to meet you, Dakota. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what is a loop?", "completion": "Because you're new to this, let's start with the basics — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: What's the command to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to upgrade pip on this system?", "completion": "Since you're on Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I have a container called nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to find large files?", "completion": "On Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "You said root owns the file, so you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: The service is running on port 3000.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: Can you show me how to check what's listening?", "completion": "You said 3000, so ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "On Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: Can you show me how to follow it?", "completion": "You said server.log, so tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: Can you show me how to merge it into main?", "completion": "You said feature/login, so git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Fedora, dnf is the package manager. Run `sudo dnf install package-name`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to run my tests?", "completion": "Given that you're on Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: What's the command to open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: What's the command to check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: What's the command to check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "Since you're on Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Because the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: How do I push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: What's the command to clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "On Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Since the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check disk usage?", "completion": "Since you're on Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "On Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I'm working with the container web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: The service is running on port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Given that you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I install a package?", "completion": "On Python, pip installs Python packages. The command is `pip install package-name`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Understood — docs. What should we do next?\nUser: Can you show me how to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what's a good first project?", "completion": "Because you're low on energy, I'll give you the simple version — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Understood — assets. What should we do next?\nUser: How do I copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I've got a file named main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: How do I run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Noted: app.py. What's the task?\nUser: How do I run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: How do I push my changes there?", "completion": "You said dev, so git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to remove an image on this system?", "completion": "On Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Understood — staging. What should we do next?\nUser: How do I switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: How do I merge it into main?", "completion": "You said feature/login, so git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I find large files?", "completion": "Given that you're on macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I ask for help?", "completion": "Given that you've had a long day, I'll keep this brief — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is git?", "completion": "Given that you're a beginner, here's a plain explanation — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "On Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: How do I tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I install a package?", "completion": "Since you're on Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: What's the command to switch to it?", "completion": "You said staging, so git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I pull the latest changes?", "completion": "Because you're using Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: Help — my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Understood — 6379. What should we do next?\nUser: What's the command to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Logan. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: How do I open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: I'm working with the container web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: Can you show me how to stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: what is a function?", "completion": "Good to meet you, Jamie. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to copy a file into a container — what should I run?", "completion": "Given that you're on Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "On Fedora, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I have a file called data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: What's the command to count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: How do I rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: Can you show me how to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: I have a folder called docs.\nAssistant: Noted: docs. What's the task?\nUser: Can you show me how to list its files?", "completion": "Since you mentioned docs, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: I'm working with port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Noted: main. What's the task?\nUser: What's the command to pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Understood — assets. What should we do next?\nUser: How do I copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: How do I view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I undo the last commit?", "completion": "Given that you're on Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: What's the command to enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: Quick context: config.json is the file I'm using.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: What's the command to pretty-print it?", "completion": "You said config.json, so jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Alex. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "Because you're using Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Given that the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: What's the command to restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: remove it?", "completion": "You said test-runner, so docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check disk usage?", "completion": "Because you're using Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I see open ports?", "completion": "Given that you're on macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Jordan. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Noted: 5000. What's the task?\nUser: Can you show me how to restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Since you're on Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I copy a file into a container?", "completion": "Since you're on Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "Since you're on Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Can you help me understand this: what should I learn first?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Since you're on Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: The database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: what is a function?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "Because you're using Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "On Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to push my commits?", "completion": "On Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Noted: index.html. What's the task?\nUser: Can you show me how to open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to undo the last commit on this system?", "completion": "Because you're using Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Since the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Kai. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: What's the command to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: Can you show me how to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to find large files?", "completion": "Since you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to check running processes?", "completion": "Because you're using macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: The folder I'm using is docs.\nAssistant: Understood — docs. What should we do next?\nUser: Can you show me how to list its files?", "completion": "You said docs, so ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Understood — tmp. What should we do next?\nUser: How do I clean it?", "completion": "Since you mentioned tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: what is a loop?", "completion": "Good to meet you, Casey. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check a service?", "completion": "Because you're using Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Understood — 8080. What should we do next?\nUser: Can you show me how to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I see open ports?", "completion": "Since you're on Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: How do I copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I install a package?", "completion": "Since you're on Python, pip installs Python packages. The command is `pip install package-name`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I search text in files?", "completion": "On Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Noted: 22. What's the task?\nUser: Can you show me how to change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: What's the command to make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: The directory I'm dealing with is logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: Can you show me how to extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: How do I inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I install a package?", "completion": "Since you're on Fedora, dnf is the package manager. Run `sudo dnf install package-name`."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: how do I use the terminal?", "completion": "Good to meet you, Jamie. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: How do I merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I search text in files?", "completion": "Because you're using Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I check container resource usage?", "completion": "On Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: I'm working with the container cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to run my tests on this system?", "completion": "Because you're using Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Noted: logs. What's the task?\nUser: How do I check its size?", "completion": "You said logs, so du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to update the system — what should I run?", "completion": "On Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to enter a container shell on this system?", "completion": "On Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: Quick context: the container is redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: How do I stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I search text in files?", "completion": "On macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I check disk usage?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: Can you show me how to check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Noted: api-server. What's the task?\nUser: Can you show me how to enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Logan. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Jamie. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Understood — 6379. What should we do next?\nUser: How do I connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Fedora, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I read an error message?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: Can you show me how to view it?", "completion": "You said notes.txt, so less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "Since you're on Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Logan. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: What's the command to compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: What's the command to rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to view a container's logs on this system?", "completion": "Since you're on Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check disk usage?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to list installed packages?", "completion": "Given that you're on Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Dakota. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Avery. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: How do I view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Got it — build. What do you want to do with it?\nUser: How do I delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check a service?", "completion": "Because you're using Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: How do I check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "On Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Hello, Jesse! What's on your mind?\nUser: what is a variable?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: How do I view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to stop a container?", "completion": "Since you're on Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: Can you show me how to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Since your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: The directory I'm dealing with is logs.\nAssistant: Noted: logs. What's the task?\nUser: check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: What's the command to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Debian, apt performs the upgrade. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check running processes — what should I run?", "completion": "On Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to push my commits — what should I run?", "completion": "Given that you're on Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what's a good first project?", "completion": "Because you're new to this, let's start with the basics — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "On Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: Hey, I'm Riley — nice to meet you.\nAssistant: Hello, Riley! What's on your mind?\nUser: how do I learn to code?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: what is git?", "completion": "You said you're exhausted, so here's the shortest useful explanation — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "Since you're on Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "You said app.py, so Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Given that the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: Can you show me how to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to freeze my dependencies — what should I run?", "completion": "Since you're on Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: What's the command to kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: Can you show me how to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: The file I'm dealing with is config.json.\nAssistant: Noted: config.json. What's the task?\nUser: What's the command to pretty-print it?", "completion": "You said config.json, so jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: How do I merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check running processes — what should I run?", "completion": "On macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Understood — logs. What should we do next?\nUser: check its size?", "completion": "You said logs, so du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: How do I tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: The file I'm dealing with is photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: remove it?", "completion": "You said test-runner, so docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Hello, Logan! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Help — my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: My command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Understood — assets. What should we do next?\nUser: copy it?", "completion": "Since you mentioned assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "On Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I see open ports?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is a bug?", "completion": "Because you're new to this, let's start with the basics — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "Because you're using Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I undo the last commit?", "completion": "Given that you're on Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Noted: 6379. What's the task?\nUser: How do I connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Given that you're a beginner, here's a plain explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Given that the filesystem is out of space, find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: Port 3000 is the one I care about.\nAssistant: Noted: 3000. What's the task?\nUser: check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Emerson. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I undo the last commit?", "completion": "Because you're using Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "On Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: Can you show me how to connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Parker. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to update the system on this system?", "completion": "On macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to check the Python version on this system?", "completion": "Because you're using Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: What's the command to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: how do I practice coding?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I have a folder called logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: Can you show me how to check its size?", "completion": "You said logs, so du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Noted: dev. What's the task?\nUser: push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I update the system?", "completion": "On macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I install a package?", "completion": "Given that you're on Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: What's the command to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I check running processes?", "completion": "Since you're on macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to search text in files — what should I run?", "completion": "On Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to check the Python version?", "completion": "Since you're on Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: push my changes there?", "completion": "You said dev, so git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Since an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: how do I debug my code?", "completion": "Since you're just starting out, I'll keep this simple — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to freeze my dependencies?", "completion": "Since you're on Python, pip freeze lists installed versions. Run `pip freeze > requirements.txt`."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: The file I'm dealing with is photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: what's a good first project?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. Run `df -h`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: I have a container called cache.\nAssistant: Understood — cache. What should we do next?\nUser: What's the command to copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm on branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: What's the command to tag it?", "completion": "You said release-1.2, so git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. Use `df -h` to fix it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: How do I switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Logan. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: How do I remove it?", "completion": "You said test-runner, so docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: Can you show me how to inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "You said inodes are exhausted, so remove many small files. The command you need is `df -i`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Since an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Quick context: data.csv is the file I'm using.\nAssistant: Noted: data.csv. What's the task?\nUser: What's the command to count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Understood �� postgres-db. What should we do next?\nUser: How do I restart it?", "completion": "You said postgres-db, so docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: Can you show me how to check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: What's the command to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check disk usage?", "completion": "On Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Understood — 8000. What should we do next?\nUser: Can you show me how to forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: What's the command to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "On Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I expose a port?", "completion": "Since you're on Docker, docker run publishes ports with -p. The command is `docker run -p 8080:80 image-name`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Kai. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: I just started the container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: enter its shell?", "completion": "You said api-server, so docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what should I learn first?", "completion": "Since you're just starting out, I'll keep this simple — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Understood — build. What should we do next?\nUser: Can you show me how to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a loop?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Noted: main. What's the task?\nUser: What's the command to pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I check container resource usage?", "completion": "Because you're using Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Noted: index.html. What's the task?\nUser: Can you show me how to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: merge it into main?", "completion": "You said feature/login, so git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I ask for help?", "completion": "Since you mentioned you're tired, let's keep this short and practical — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to push my commits?", "completion": "Since you're on Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Let's talk about the tmp directory.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: How do I clean it?", "completion": "Since you mentioned tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Since your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Taylor. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what is a function?", "completion": "You said you're exhausted, so here's the shortest useful explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Understood — docs. What should we do next?\nUser: list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: What's the command to check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Fedora, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "On Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I check running processes?", "completion": "Since you're on Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Debian, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I stash my work?", "completion": "On Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to run a script?", "completion": "On Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "On Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Given that another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: I've got a file named archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: Can you show me how to unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to commit my changes — what should I run?", "completion": "Because you're using Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I list running containers?", "completion": "Since you're on Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to update the system?", "completion": "On macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: what is a variable?", "completion": "Nice to meet you, Casey. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Given that you're a beginner, here's a plain explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: How do I remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Because you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to undo the last commit?", "completion": "On Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Quick context: port 27017 is the one I'm using.\nAssistant: Understood — 27017. What should we do next?\nUser: What's the command to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I search text in files?", "completion": "Since you're on Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: I have a file called main.go.\nAssistant: Understood — main.go. What should we do next?\nUser: run it?", "completion": "You said main.go, so go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: Can you show me how to inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Dakota. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: Can you show me how to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to see open ports?", "completion": "Since you're on macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: what is a loop?", "completion": "Given that you're a beginner, here's a plain explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to update the system?", "completion": "On Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Understood — build. What should we do next?\nUser: What's the command to delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is git?", "completion": "Given that you've had a long day, I'll keep this brief — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Since you're just starting out, I'll keep this simple — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I check the repository status?", "completion": "Because you're using Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Jesse. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I pull the latest changes?", "completion": "Because you're using Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to list installed packages on this system?", "completion": "On Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "On Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: What's the command to rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Since a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Hayden. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: Can you show me how to pretty-print it?", "completion": "You said config.json, so jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: How do I restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to copy a file into a container — what should I run?", "completion": "Given that you're on Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to check container resource usage?", "completion": "Since you're on Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I see open ports?", "completion": "Because you're using Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. Run `df -h`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check running processes?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: I just checked out the branch feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I check the repository status?", "completion": "Because you're using Git, git status summarizes changes. You can do it with `git status`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I read an error message?", "completion": "Because you're low on energy, I'll give you the simple version — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: What's the command to push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Noted: deploy.sh. What's the task?\nUser: make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I stop a container?", "completion": "On Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: The directory I'm dealing with is logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Parker. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Kai. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: I have a file called app.py.\nAssistant: Noted: app.py. What's the task?\nUser: What's the command to run it?", "completion": "You said app.py, so Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "Given that you're on Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: How do I kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to list installed packages?", "completion": "Because you're using Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I install a package?", "completion": "Since you're on Python, pip installs Python packages. The command is `pip install package-name`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: How do I test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: How do I copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to enter a container shell?", "completion": "Since you're on Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: What's the command to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I read an error message?", "completion": "Since you're learning from scratch, I'll avoid jargon — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I check disk usage?", "completion": "Given that you're on Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is an array?", "completion": "Because you're low on energy, I'll give you the simple version — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check running processes?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to update the system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Noted: 443. What's the task?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: What's the command to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Understood — 8080. What should we do next?\nUser: How do I kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: I have a file called index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: How do I open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: What's the command to remove it?", "completion": "You said test-runner, so docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Noted: 5000. What's the task?\nUser: What's the command to restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: How do I delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Noted: build. What's the task?\nUser: How do I delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "On Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Understood — project-alpha. What should we do next?\nUser: What's the command to compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: The service is running on port 5000.\nAssistant: Understood — 5000. What should we do next?\nUser: Can you show me how to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I check disk usage?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I enter a container shell?", "completion": "Because you're using Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: I have a file called index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: How do I open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: rebase it?", "completion": "You said feature/api, so git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I install a package?", "completion": "On Debian, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I stay motivated?", "completion": "Given that you've had a long day, I'll keep this brief — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to list running containers on this system?", "completion": "Given that you're on Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "On Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. Run `ping host-name`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "On Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what should I learn first?", "completion": "Since you mentioned you're tired, let's keep this short and practical — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: Can you help me understand this: what is a variable?", "completion": "Good to meet you, Harper. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Hello, Harper! What's on your mind?\nUser: how do I practice coding?", "completion": "Good to meet you, Harper. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I just started the container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: How do I enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to enter a container shell on this system?", "completion": "Since you're on Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: How do I follow it?", "completion": "You said server.log, so tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: what is a variable?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I search text in files?", "completion": "Since you're on Fedora, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to find large files?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I read an error message?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Because you lack write permission, grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: I have a file called config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: Can you show me how to pretty-print it?", "completion": "You said config.json, so jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Got it — venv. What do you want to do with it?\nUser: remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: How do I restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: check its size?", "completion": "You said logs, so du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: what should I learn first?", "completion": "Good to meet you, Charlie. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: How do I push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is a loop?", "completion": "Given that you're a beginner, here's a plain explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "You said the package isn't installed, so install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Understood — 5000. What should we do next?\nUser: How do I restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to check the Python version?", "completion": "On Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Dakota. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Quick context: port 5000 is the one I'm using.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: How do I restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Got it — main. What do you want to do with it?\nUser: How do I pull the latest?", "completion": "You said main, so git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: I've got a file named backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: How do I extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I stay motivated?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to stop a container on this system?", "completion": "On Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to run a script on this system?", "completion": "Because you're using Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what should I learn first?", "completion": "Since you mentioned you're tired, let's keep this short and practical — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Given that you're a beginner, here's a plain explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. The command you need is `df -h`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "Since you're on Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I create a branch?", "completion": "Because you're using Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: Can you show me how to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I just started the container api-server.\nAssistant: Noted: api-server. What's the task?\nUser: enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Jordan. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a variable?", "completion": "Because you're low on energy, I'll give you the simple version — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Understood — assets. What should we do next?\nUser: What's the command to copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is a loop?", "completion": "Given that you're a beginner, here's a plain explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Dakota. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I have a folder called logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: How do I check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to check disk usage on this system?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to create a branch?", "completion": "Since you're on Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to list running containers?", "completion": "Since you're on Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "On Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: What's the command to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to list installed packages on this system?", "completion": "Given that you're on Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "On Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I see open ports?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. Run `df -h`."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Given that you're a beginner, here's a plain explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Understood — venv. What should we do next?\nUser: What's the command to remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is a loop?", "completion": "Because you're new to this, let's start with the basics — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: how do I ask for help?", "completion": "Given that you're a beginner, here's a plain explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: Can you show me how to check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Given that the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I install a package?", "completion": "On macOS, Homebrew is the usual package manager. You can do it with `brew install package-name`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: How do I run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Avery. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Since another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. Run `df -h`."} +{"prompt": "User: I'm working in the src folder.\nAssistant: Got it — src. What do you want to do with it?\nUser: What's the command to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: I have a file called app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: How do I run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: What's the command to remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check running processes?", "completion": "Since you're on Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: The folder I'm using is tmp.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: What's the command to clean it?", "completion": "You said tmp, so find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: Can you show me how to scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: how do I stay motivated?", "completion": "Good to meet you, Logan. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to run my tests?", "completion": "On Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: I just started the container web-app.\nAssistant: Noted: web-app. What's the task?\nUser: Can you show me how to view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Jordan. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: what should I learn first?", "completion": "Good to meet you, Avery. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to check the Python version on this system?", "completion": "Since you're on Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: Can you show me how to extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: I'm working with the container redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm working with the container cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: Can you show me how to copy a file out of it?", "completion": "You said cache, so docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check a service?", "completion": "Given that you're on Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Parker. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: What's the command to check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to run a script on this system?", "completion": "Because you're using Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Since your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "On Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I see open ports?", "completion": "Since you're on Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Help — npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "Because you're using Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: Can you show me how to clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to pull the latest changes?", "completion": "Because you're using Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: I've got a file named main.go.\nAssistant: Understood — main.go. What should we do next?\nUser: How do I run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Understood — config.json. What should we do next?\nUser: Can you show me how to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "On Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "Given that you're on Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: Can you show me how to inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to view the history?", "completion": "Because you're using Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: How do I test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: How do I count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: What's the command to restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: Can you show me how to scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "Because you're using Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to undo the last commit?", "completion": "Given that you're on Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: what is a variable?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check running processes?", "completion": "Because you're using Debian, ps gives a process snapshot. Run `ps aux`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I create a virtual environment?", "completion": "Since you're on Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Hello, Sam! What's on your mind?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Since you're on Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: What's the command to view it?", "completion": "You said notes.txt, so less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check running processes?", "completion": "Since you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: What's the command to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Let's talk about branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: push my changes there?", "completion": "You said dev, so git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what should I learn first?", "completion": "Given that you're a beginner, here's a plain explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Casey. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Dakota. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: How do I compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I debug my code?", "completion": "Since you're just starting out, I'll keep this simple — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: Can you show me how to copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I run a script?", "completion": "On Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: I'm working with port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: What's the command to restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I update the system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you're just starting out, I'll keep this simple — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I check a service?", "completion": "Given that you're on macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: Help — my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Parker. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: test the database port?", "completion": "You said 5432, so nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Hi, I'm Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: how do I debug my code?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: Can you show me how to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Understood — 443. What should we do next?\nUser: What's the command to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Help — my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Given that the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Since you're on Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Morgan. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "Because you're using Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to run a script?", "completion": "Since you're on Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "On Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to commit my changes — what should I run?", "completion": "Given that you're on Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "Since you're on Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "On Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I see open ports?", "completion": "Because you're using Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I find large files?", "completion": "On macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Since an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "Given that you're on Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Since the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Given that the filesystem is out of space, find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "On Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Debian, ps gives a process snapshot. Run `ps aux`."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: What's the command to merge it into main?", "completion": "You said feature/login, so git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I ask for help?", "completion": "Because you're new to this, let's start with the basics — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check running processes?", "completion": "On Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: How do I inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: What's the command to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to update the system — what should I run?", "completion": "Because you're using macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to check the repository status on this system?", "completion": "Because you're using Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I update the system?", "completion": "On Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I search text in files?", "completion": "On Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Understood — venv. What should we do next?\nUser: remove it?", "completion": "You said venv, so rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Noted: dev. What's the task?\nUser: Can you show me how to push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: what's a good first project?", "completion": "Good to meet you, Emerson. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I see open ports?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Since you're learning from scratch, I'll avoid jargon — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Got it — logs. What do you want to do with it?\nUser: How do I check its size?", "completion": "You said logs, so du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: Can you show me how to make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: Can you show me how to copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Because you're new to this, let's start with the basics — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I install a package?", "completion": "On Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Charlie. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: How do I view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Got it — build. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "You said build, so rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: I have a folder called src.\nAssistant: Noted: src. What's the task?\nUser: How do I search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: Can you show me how to switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check running processes?", "completion": "Since you're on Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Jordan. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The branch I'm using is release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: What's the command to view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Morgan. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I see open ports?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: What's the command to compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check a service?", "completion": "Because you're using Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Noted: assets. What's the task?\nUser: copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check a service?", "completion": "Given that you're on Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: What's the command to open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: How do I scan it for a service?", "completion": "You said 9000, so nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I check disk usage?", "completion": "On Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: What's the command to check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: Can you show me how to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Noted: experiment. What's the task?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: Can you show me how to unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: I'm working on the file photo.jpg.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Understood — docs. What should we do next?\nUser: What's the command to list its files?", "completion": "Since you mentioned docs, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I have a file called config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: What's the command to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "Because you're using Fedora, dnf handles system upgrades. You can do it with `sudo dnf upgrade`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Casey. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: what is a function?", "completion": "Since you're learning from scratch, I'll avoid jargon — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Kai. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Jordan. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Got it — docs. What do you want to do with it?\nUser: What's the command to list its files?", "completion": "You said docs, so ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: how do I stay motivated?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I update the system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to commit my changes — what should I run?", "completion": "Because you're using Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "You said inodes are exhausted, so remove many small files. The command you need is `df -i`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Taylor. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: Quick context: data.csv is the file I'm using.\nAssistant: Noted: data.csv. What's the task?\nUser: count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: what's a good first project?", "completion": "Good to meet you, Quinn. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "Given that you're on Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "On Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I see open ports?", "completion": "Because you're using Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Understood — assets. What should we do next?\nUser: What's the command to copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to check container resource usage?", "completion": "On Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is git?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: what is a variable?", "completion": "Because you're new to this, let's start with the basics — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to stash my work?", "completion": "On Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Fedora, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to view a container's logs on this system?", "completion": "On Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to commit my changes — what should I run?", "completion": "Given that you're on Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "Because you're using Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check a service?", "completion": "On Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "On Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to view the history on this system?", "completion": "Because you're using Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Understood — staging. What should we do next?\nUser: switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: Can you show me how to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Noted: 9000. What's the task?\nUser: How do I scan it for a service?", "completion": "You said 9000, so nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Got it — venv. What do you want to do with it?\nUser: remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: How do I view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: how do I stay motivated?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Morgan. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: How do I copy it?", "completion": "Since you mentioned assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to find large files?", "completion": "On macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to list installed packages?", "completion": "Because you're using Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to expose a port?", "completion": "On Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check running processes?", "completion": "On Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: remove it?", "completion": "You said test-runner, so docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I see open ports?", "completion": "On Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: How do I check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I have a container called cache.\nAssistant: Understood — cache. What should we do next?\nUser: What's the command to copy a file out of it?", "completion": "You said cache, so docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Thanks, I'll remember feature/api. How can I help?\nUser: Can you show me how to rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I ask for help?", "completion": "Given that you've had a long day, I'll keep this brief — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: How do I push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to run my tests — what should I run?", "completion": "On Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to check the Python version?", "completion": "Since you're on Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: The service is running on port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "Because you're using Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm working on the file photo.jpg.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: What's the command to check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: The directory I'm dealing with is logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: Can you show me how to check its size?", "completion": "You said logs, so du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Given that the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: I just started the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: enter its shell?", "completion": "You said api-server, so docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: Can you show me how to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I remove an image?", "completion": "On Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: Can you show me how to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what should I learn first?", "completion": "Given that you're a beginner, here's a plain explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I install a package?", "completion": "Since you're on Fedora, dnf is the package manager. Run `sudo dnf install package-name`."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: Can you show me how to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: How do I test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Let's talk about the project-alpha directory.\nAssistant: Understood — project-alpha. What should we do next?\nUser: What's the command to compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Given that the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Since you're just starting out, I'll keep this simple — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "On Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to run my tests on this system?", "completion": "Because you're using Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: The directory I'm dealing with is src.\nAssistant: Understood — src. What should we do next?\nUser: search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "Since you're on Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: The file I'm dealing with is photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm inside project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: Can you show me how to compress it?", "completion": "You said project-alpha, so tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Emerson. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Noted: cache. What's the task?\nUser: Can you show me how to copy a file out of it?", "completion": "You said cache, so docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Taylor. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Understood — index.html. What should we do next?\nUser: open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Quick context: I'm inside tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: What's the command to clean it?", "completion": "Since you mentioned tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Charlie. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: I have a folder called venv.\nAssistant: Understood — venv. What should we do next?\nUser: What's the command to remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to list running containers on this system?", "completion": "Since you're on Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I learn to code?", "completion": "Because you're low on energy, I'll give you the simple version — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with the container cache.\nAssistant: Understood — cache. What should we do next?\nUser: Can you show me how to copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I push my commits?", "completion": "Since you're on Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: Can you show me how to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I search text in files?", "completion": "Since you're on Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you're just starting out, I'll keep this simple — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: what is a bug?", "completion": "Because you're new to this, let's start with the basics — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I'm working in the project-alpha folder.\nAssistant: Noted: project-alpha. What's the task?\nUser: How do I compress it?", "completion": "You said project-alpha, so tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: I'm working in the assets folder.\nAssistant: Understood — assets. What should we do next?\nUser: copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. Run `lsof -p PID`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check disk usage?", "completion": "Since you're on Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: I've got a file named main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: How do I run it?", "completion": "You said main.go, so go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Understood — notes.txt. What should we do next?\nUser: What's the command to view it?", "completion": "You said notes.txt, so less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: How do I extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I commit my changes?", "completion": "Given that you're on Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: what should I learn first?", "completion": "Nice to meet you, Avery. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I update the system?", "completion": "Because you're using Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: What's the command to view it?", "completion": "You said notes.txt, so less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I check running processes?", "completion": "Given that you're on macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Noted: cache. What's the task?\nUser: Can you show me how to copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is git?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I learn to code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is a loop?", "completion": "Since you're learning from scratch, I'll avoid jargon — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Noted: assets. What's the task?\nUser: How do I copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: Quick context: I'm inside docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: How do I list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Understood — 5000. What should we do next?\nUser: How do I restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I debug my code?", "completion": "Because you're low on energy, I'll give you the simple version — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: what should I learn first?", "completion": "Good to meet you, Riley. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: What's the command to inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "Given that you're on Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: Can you show me how to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I find large files?", "completion": "Since you're on macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: how do I debug my code?", "completion": "Nice to meet you, Avery. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I update the system?", "completion": "Because you're using macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Noted: dev. What's the task?\nUser: Can you show me how to push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I view the history?", "completion": "Since you're on Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: My service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Given that the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I check a service?", "completion": "On Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to install a package?", "completion": "Since you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I install a package?", "completion": "Because you're using Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to update the system on this system?", "completion": "On Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "Since you're on Git, git status summarizes changes. You can do it with `git status`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: how do I stay motivated?", "completion": "Good to meet you, Riley. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "Given that you're on Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to check the repository status — what should I run?", "completion": "Because you're using Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: The file I'm dealing with is config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: How do I pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Since you're just starting out, I'll keep this simple — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to check container resource usage?", "completion": "Given that you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: I just started the container api-server.\nAssistant: Noted: api-server. What's the task?\nUser: How do I enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to enter a container shell?", "completion": "Given that you're on Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to check the repository status on this system?", "completion": "Since you're on Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: How do I restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Noted: index.html. What's the task?\nUser: Can you show me how to open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: how do I learn to code?", "completion": "Good to meet you, Charlie. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is a loop?", "completion": "Since you're learning from scratch, I'll avoid jargon — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check a service?", "completion": "On Debian, systemctl reports service state. The command is `systemctl status service-name`."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: Can you show me how to stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I practice coding?", "completion": "Given that you've had a long day, I'll keep this brief — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Noted: 9000. What's the task?\nUser: Can you show me how to scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I search text in files?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I undo the last commit?", "completion": "Since you're on Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to update the system?", "completion": "Since you're on Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to see open ports — what should I run?", "completion": "On macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Since it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: How do I open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: what is a loop?", "completion": "Nice to meet you, Charlie. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Got it — 22. What do you want to do with it?\nUser: What's the command to change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I update the system?", "completion": "On macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I ask for help?", "completion": "Since you mentioned you're tired, let's keep this short and practical — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: how do I practice coding?", "completion": "Nice to meet you, Taylor. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: compress it?", "completion": "You said project-alpha, so tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Sam. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "On Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I check a service?", "completion": "Given that you're on Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: Can you show me how to make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: The folder I'm using is docs.\nAssistant: Noted: docs. What's the task?\nUser: How do I list its files?", "completion": "Since you mentioned docs, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: I have a container called cache.\nAssistant: Understood — cache. What should we do next?\nUser: Can you show me how to copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to view the history — what should I run?", "completion": "On Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "On Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: I have a container called nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: What's the command to inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Given that the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: What's the command to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: how do I read an error message?", "completion": "Since you're learning from scratch, I'll avoid jargon — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I see open ports?", "completion": "Given that you're on macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: how do I practice coding?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I just started the container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: Can you show me how to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to expose a port?", "completion": "Because you're using Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "On macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: How do I check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Dakota. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Given that the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to create a branch?", "completion": "On Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: What's the command to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Because a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Because you're low on energy, I'll give you the simple version — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is a function?", "completion": "Since you're just starting out, I'll keep this simple — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Understood — 8000. What should we do next?\nUser: How do I forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "Since you're on Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Morgan. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working with the container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: Can you show me how to view its logs?", "completion": "You said web-app, so docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: Can you show me how to rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Understood — config.json. What should we do next?\nUser: What's the command to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Fedora, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "On Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I check the repository status?", "completion": "On Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: What's the command to scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: Can you show me how to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Ubuntu, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Given that the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to copy a file into a container — what should I run?", "completion": "On Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "On Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "Because you're using Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Harper. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to upgrade pip?", "completion": "Because you're using Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a variable?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Understood — notes.txt. What should we do next?\nUser: view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: how do I learn to code?", "completion": "Nice to meet you, Harper. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Because you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I check the Python version?", "completion": "Because you're using Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "Since you're on Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I run a script?", "completion": "Because you're using Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: Can you show me how to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Logan. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Noted: src. What's the task?\nUser: search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Because you're using Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to search text in files — what should I run?", "completion": "On Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Jordan. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Understood — app.py. What should we do next?\nUser: What's the command to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Got it — logs. What do you want to do with it?\nUser: How do I check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: what should I learn first?", "completion": "Nice to meet you, Parker. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is a bug?", "completion": "You said you're exhausted, so here's the shortest useful explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: What's the command to connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: Can you show me how to pretty-print it?", "completion": "You said config.json, so jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Port 3000 is the one I care about.\nAssistant: Understood — 3000. What should we do next?\nUser: check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "Since you're on Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to enter a container shell on this system?", "completion": "On Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Given that you're a beginner, here's a plain explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Casey. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Noted: logs. What's the task?\nUser: check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: What's the command to view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: My command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Noted: web-app. What's the task?\nUser: Can you show me how to view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: My command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: how do I debug my code?", "completion": "Nice to meet you, Finley. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to list running containers?", "completion": "Because you're using Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I learn to code?", "completion": "Given that you're a beginner, here's a plain explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I update the system?", "completion": "Since you're on Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Nice to meet you, Riley. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I need help because my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Nice to meet you, Charlie. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: what's a good first project?", "completion": "Good to meet you, Morgan. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I check disk usage?", "completion": "Since you're on macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what should I learn first?", "completion": "Because you're low on energy, I'll give you the simple version — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Logan. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Finley. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Hey, I'm Riley — nice to meet you.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Riley. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: The container I'm using is redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: Can you show me how to stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: delete it?", "completion": "You said experiment, so git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I see open ports?", "completion": "Because you're using macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: How do I pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Charlie. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is git?", "completion": "Since you're just starting out, I'll keep this simple — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to stop a container?", "completion": "Since you're on Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what is a loop?", "completion": "Since you're learning from scratch, I'll avoid jargon — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: how do I debug my code?", "completion": "Nice to meet you, Emerson. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Help — npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to list running containers?", "completion": "Because you're using Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Hello, Sam! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Sam. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I install a package?", "completion": "Because you're using macOS, Homebrew is the usual package manager. You can do it with `brew install package-name`."} +{"prompt": "User: Let's talk about branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I search text in files?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: What's the command to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Given that you're using a different virtual environment, activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: What's the command to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Understood — archive.zip. What should we do next?\nUser: unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Debian, ps gives a process snapshot. Run `ps aux`."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I install a package?", "completion": "On Debian, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what's a good first project?", "completion": "Given that you've had a long day, I'll keep this brief — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Given that the filesystem is out of space, find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "On macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I install a package?", "completion": "On Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to check disk usage on this system?", "completion": "On Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Parker. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a bug?", "completion": "Given that you've had a long day, I'll keep this brief — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Parker. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: how do I debug my code?", "completion": "Good to meet you, Hayden. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: what's a good first project?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Noted: 6379. What's the task?\nUser: How do I connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Fedora, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to undo the last commit?", "completion": "Given that you're on Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Noted: 443. What's the task?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I use the terminal?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to list running containers — what should I run?", "completion": "Because you're using Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: How do I make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I see open ports?", "completion": "Since you're on macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Understood — 22. What should we do next?\nUser: How do I change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: What's the command to copy a file out of it?", "completion": "You said cache, so docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to commit my changes — what should I run?", "completion": "On Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Riley. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to view the history — what should I run?", "completion": "Since you're on Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a bug?", "completion": "Since you're just starting out, I'll keep this simple — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: How do I inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is a function?", "completion": "Given that you've had a long day, I'll keep this brief — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: How do I push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check disk usage?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I stay motivated?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "On Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: The file I'm dealing with is data.csv.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: Can you show me how to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: Can you show me how to view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check running processes?", "completion": "On Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: I have a container called nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: What's the command to inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Noted: docs. What's the task?\nUser: Can you show me how to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Understood — app.py. What should we do next?\nUser: Can you show me how to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: What's the command to scan it for a service?", "completion": "You said 9000, so nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I ask for help?", "completion": "Since you mentioned you're tired, let's keep this short and practical — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to copy a file into a container — what should I run?", "completion": "On Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: How do I unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Jordan. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: How do I inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Because you're low on energy, I'll give you the simple version — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a variable?", "completion": "Given that you've had a long day, I'll keep this brief — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: Can you show me how to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: Help — my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Because systemd reports a failure, read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "On Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I have a folder called build.\nAssistant: Understood — build. What should we do next?\nUser: delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: What's the command to push it?", "completion": "You said hotfix/payment, so git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Jamie. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I need help because my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: push my changes there?", "completion": "You said dev, so git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I commit my changes?", "completion": "On Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a variable?", "completion": "Since you're learning from scratch, I'll avoid jargon — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I have a folder called venv.\nAssistant: Got it — venv. What do you want to do with it?\nUser: Can you show me how to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I search text in files?", "completion": "On Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: How do I merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: Can you show me how to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "On Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Noted: 6379. What's the task?\nUser: connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Let's talk about container cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: How do I copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: Can you show me how to restart it?", "completion": "You said postgres-db, so docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: Port 3000 is the one I care about.\nAssistant: Understood — 3000. What should we do next?\nUser: What's the command to check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I practice coding?", "completion": "Because you're low on energy, I'll give you the simple version — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: Can you show me how to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: I have a file called app.py.\nAssistant: Noted: app.py. What's the task?\nUser: What's the command to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: Can you show me how to unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Noted: archive.zip. What's the task?\nUser: How do I unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Charlie. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check running processes?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: what is a loop?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: run it?", "completion": "You said app.py, so Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: Can you show me how to count its rows?", "completion": "You said data.csv, so wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Noted: staging. What's the task?\nUser: How do I switch to it?", "completion": "Since you mentioned staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Quick context: data.csv is the file I'm using.\nAssistant: Noted: data.csv. What's the task?\nUser: What's the command to count its rows?", "completion": "You said data.csv, so wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I expose a port?", "completion": "Because you're using Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: How do I merge it into main?", "completion": "You said feature/login, so git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I check a service?", "completion": "Given that you're on macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Given that another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to see open ports — what should I run?", "completion": "On macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Morgan. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: Can you show me how to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check a service?", "completion": "Because you're using macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on macOS, Homebrew is the usual package manager. You can do it with `brew install package-name`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is a bug?", "completion": "Since you're learning from scratch, I'll avoid jargon — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: Can you show me how to open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: My command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to enter a container shell on this system?", "completion": "On Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to view the history?", "completion": "Given that you're on Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check disk usage?", "completion": "On Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Understood — assets. What should we do next?\nUser: copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I've got a file named backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I have a folder called docs.\nAssistant: Understood — docs. What should we do next?\nUser: Can you show me how to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check a service?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: What's the command to run it?", "completion": "You said main.go, so go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Avery. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: How do I clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: What's the command to restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. Use `docker cp file.txt container-name:/path/` for that."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Understood — app.db. What should we do next?\nUser: How do I inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Noted: staging. What's the task?\nUser: switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Given that the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: What's the command to copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I search text in files?", "completion": "Since you're on macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I install a package?", "completion": "Given that you're on Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: How do I change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Understood — server.log. What should we do next?\nUser: What's the command to follow it?", "completion": "You said server.log, so tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to view the history?", "completion": "Given that you're on Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: I'm working with port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: How do I scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Noted: assets. What's the task?\nUser: How do I copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check a service?", "completion": "Because you're using Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Understood — staging. What should we do next?\nUser: What's the command to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: what is a function?", "completion": "Good to meet you, Hayden. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Charlie. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Given that the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I update the system?", "completion": "Since you're on macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Nice to meet you, Quinn. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: port 6379 is the one I'm using.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: What's the command to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "On Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: How do I enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: How do I stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to run a script — what should I run?", "completion": "Since you're on Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: Can you show me how to stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: Can you show me how to scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: How do I make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: How do I push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: What's the command to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: Can you show me how to scan it for a service?", "completion": "You said 9000, so nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Kai. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Hello, Logan! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Logan. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: what is a variable?", "completion": "Nice to meet you, Jamie. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I check disk usage?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: Can you show me how to check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "On Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Noted: 443. What's the task?\nUser: What's the command to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "On macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about container cache.\nAssistant: Understood — cache. What should we do next?\nUser: copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check disk usage — what should I run?", "completion": "On Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Understood — app.py. What should we do next?\nUser: What's the command to run it?", "completion": "You said app.py, so Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: how do I learn to code?", "completion": "Given that you're a beginner, here's a plain explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to run a script?", "completion": "Because you're using Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: How do I check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: Can you show me how to follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "Since you're on Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I check disk usage?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: I have a folder called logs.\nAssistant: Noted: logs. What's the task?\nUser: What's the command to check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I install a package?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. Run `df -h`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: What's the command to tag it?", "completion": "You said release-1.2, so git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I upgrade pip?", "completion": "On Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: How do I check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: Let's talk about container worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: How do I check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Because you're new to this, let's start with the basics — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to stash my work?", "completion": "On Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: I'm working with port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to list installed packages — what should I run?", "completion": "Given that you're on Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: Can you show me how to merge it into main?", "completion": "You said feature/login, so git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I check a service?", "completion": "Because you're using Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "On macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to undo the last commit on this system?", "completion": "On Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: The service is running on port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to freeze my dependencies?", "completion": "Since you're on Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "On Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Noted: deploy.sh. What's the task?\nUser: How do I make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what's a good first project?", "completion": "Given that you've had a long day, I'll keep this brief — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to search text in files?", "completion": "Because you're using macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "Since you're on Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to expose a port on this system?", "completion": "Because you're using Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is an array?", "completion": "Since you're just starting out, I'll keep this simple — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a function?", "completion": "Because you're new to this, let's start with the basics — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Understood — docs. What should we do next?\nUser: How do I list its files?", "completion": "You said docs, so ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to view a container's logs — what should I run?", "completion": "Since you're on Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: run it?", "completion": "You said main.go, so go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: I've got a file named server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: How do I follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: What's the command to push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "Since you're on Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: What's the command to view its logs?", "completion": "You said web-app, so docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "On Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Given that you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "On Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "On Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to create a branch — what should I run?", "completion": "On Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check a service?", "completion": "Because you're using Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: How do I change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: I'm inside tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: How do I clean it?", "completion": "Since you mentioned tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: Can you show me how to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Understood — 8000. What should we do next?\nUser: forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: How do I delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to view a container's logs on this system?", "completion": "Since you're on Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I view the history?", "completion": "Since you're on Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "Because you're using Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Hello, Jesse! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I run a script?", "completion": "On Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "Since you're on Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a bug?", "completion": "Because you're new to this, let's start with the basics — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "On Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Jesse. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I create a branch?", "completion": "Because you're using Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: switch to it?", "completion": "You said staging, so git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what is git?", "completion": "Since you're just starting out, I'll keep this simple — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: The container I'm using is postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: Can you show me how to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: What's the command to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Jamie. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Because you're low on energy, I'll give you the simple version — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I find large files?", "completion": "On macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I have a folder called docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: What's the command to list its files?", "completion": "Since you mentioned docs, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check disk usage?", "completion": "On Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Thanks, I'll remember feature/api. How can I help?\nUser: rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Given that the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Arch Linux, find filters by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: Can you show me how to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: How do I check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: I'm working with the container web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: what is a variable?", "completion": "Good to meet you, Quinn. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: Can you show me how to change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I create a branch?", "completion": "On Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is a function?", "completion": "You said you're exhausted, so here's the shortest useful explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Understood — src. What should we do next?\nUser: How do I search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check disk usage on this system?", "completion": "On Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "On Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: what is a loop?", "completion": "Good to meet you, Quinn. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "Since you're on Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Understood — 8080. What should we do next?\nUser: How do I kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: I'm on branch main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: pull the latest?", "completion": "You said main, so git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is an array?", "completion": "Because you're new to this, let's start with the basics — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is an array?", "completion": "Because you're new to this, let's start with the basics — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I find large files?", "completion": "Since you're on Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: Can you show me how to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I upgrade pip?", "completion": "Because you're using Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I create a virtual environment?", "completion": "On Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "You said the remote rejected your credentials, so refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: I have a container called web-app.\nAssistant: Noted: web-app. What's the task?\nUser: Can you show me how to view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: Can you show me how to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: What's the command to clean it?", "completion": "You said tmp, so find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "On Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Nice to meet you, Emerson. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "You said the remote rejected your credentials, so refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. Run `pip install --user package-name`."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Noted: api-server. What's the task?\nUser: enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Harper. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Because you're low on energy, I'll give you the simple version — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "On Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: What's the command to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to run my tests?", "completion": "Because you're using Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: What's the command to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Understood — main.go. What should we do next?\nUser: How do I run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I list installed packages?", "completion": "On Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to see open ports — what should I run?", "completion": "On Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Quinn. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to install a package on this system?", "completion": "On Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Riley. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Alex. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check a service?", "completion": "Since you're on Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to find large files?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to stash my work?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to pull the latest changes — what should I run?", "completion": "On Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Got it — main. What do you want to do with it?\nUser: pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Understood — assets. What should we do next?\nUser: Can you show me how to copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Jamie. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "On Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Let's talk about branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: What's the command to push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hi, I'm Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Got it — docs. What do you want to do with it?\nUser: list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: Can you show me how to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm on branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: How do I push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Because you're low on energy, I'll give you the simple version — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I create a virtual environment?", "completion": "On Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "On Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: I'm working with port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: How do I check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Parker. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: What's the command to inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Understood — main. What should we do next?\nUser: What's the command to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: Can you show me how to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check disk usage on this system?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: How do I stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: The file I'm dealing with is photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: How do I check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to list running containers on this system?", "completion": "Given that you're on Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "On macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check a service?", "completion": "On Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "Since you're on Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I enter a container shell?", "completion": "Given that you're on Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: I've got a file named backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: What's the command to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "On Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I find large files?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: what is a loop?", "completion": "Good to meet you, Hayden. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Because you're using Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check a service?", "completion": "Because you're using Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to remove an image?", "completion": "Given that you're on Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Given that the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to check a service?", "completion": "Because you're using macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to install a package — what should I run?", "completion": "Since you're on macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm on branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: What's the command to delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: what should I learn first?", "completion": "Nice to meet you, Jordan. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I check a service?", "completion": "On macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to check the repository status on this system?", "completion": "Given that you're on Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: Can you show me how to extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: What's the command to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: what is a bug?", "completion": "Given that you're a beginner, here's a plain explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to check the repository status?", "completion": "Since you're on Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Got it — venv. What do you want to do with it?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "On Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I undo the last commit?", "completion": "On Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to install a package on this system?", "completion": "On Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: Can you show me how to rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I search text in files?", "completion": "Given that you're on Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: How do I open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I view the history?", "completion": "On Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a loop?", "completion": "Because you're new to this, let's start with the basics — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I have a folder called assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: How do I copy it?", "completion": "Since you mentioned assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check a service?", "completion": "Since you're on Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Dakota. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to list running containers on this system?", "completion": "Because you're using Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Finley. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: How do I clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Ubuntu, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: My script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to search text in files on this system?", "completion": "On Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is an array?", "completion": "You said you're exhausted, so here's the shortest useful explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to check the Python version?", "completion": "Since you're on Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check a service?", "completion": "On Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: What's the command to unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Thanks, Avery. What would you like to know?\nUser: how do I use the terminal?", "completion": "Good to meet you, Avery. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I need help because my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Noted: build. What's the task?\nUser: delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I've got a file named server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: What's the command to follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I remove an image?", "completion": "Given that you're on Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: What's the command to rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: What's the command to view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: What's the command to tag it?", "completion": "You said release-1.2, so git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "On Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "On Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I find large files?", "completion": "On Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: how do I debug my code?", "completion": "Nice to meet you, Logan. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: How do I delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Because the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to run a script on this system?", "completion": "Given that you're on Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "On Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: Can you show me how to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I check running processes?", "completion": "On Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: I'm on branch main.\nAssistant: Noted: main. What's the task?\nUser: What's the command to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. You can do it with `brew install package-name`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "On Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I commit my changes?", "completion": "On Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is git?", "completion": "Since you're just starting out, I'll keep this simple — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check a service on this system?", "completion": "On Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: Can you show me how to enter its shell?", "completion": "You said api-server, so docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: The branch I'm using is dev.\nAssistant: Noted: dev. What's the task?\nUser: What's the command to push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I enter a container shell?", "completion": "On Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Debian, ps gives a process snapshot. Run `ps aux`."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: What's the command to unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. Run `ls -la`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I see open ports?", "completion": "On Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "On Ubuntu, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Got it — 443. What do you want to do with it?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "Because you're using Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: How do I unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: How do I view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: how do I learn to code?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: how do I learn to code?", "completion": "Since you're just starting out, I'll keep this simple — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: How do I copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "On Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: Help — my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Given that inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "Given that you're on Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to search text in files on this system?", "completion": "On Windows PowerShell, Select-String searches file contents. You can do it with `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: What's the command to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Let's talk about branch main.\nAssistant: Got it — main. What do you want to do with it?\nUser: Can you show me how to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Jordan. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Let's talk about main.go — it's a file I need to handle.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check a service?", "completion": "Given that you're on Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to run a script on this system?", "completion": "Since you're on Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: What's the command to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what should I learn first?", "completion": "Given that you're a beginner, here's a plain explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Morgan. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check a service?", "completion": "Because you're using Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: what is a variable?", "completion": "Nice to meet you, Finley. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: How do I check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "On Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to see open ports?", "completion": "On macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: How do I make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Understood — build. What should we do next?\nUser: Can you show me how to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I check disk usage?", "completion": "Because you're using Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I stay motivated?", "completion": "Because you're low on energy, I'll give you the simple version — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Understood — notes.txt. What should we do next?\nUser: What's the command to view it?", "completion": "You said notes.txt, so less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check disk usage?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: I have a folder called build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: Can you show me how to delete it?", "completion": "You said build, so rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Jesse. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I list installed packages?", "completion": "Because you're using Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. Run `df -h`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "Because you're using Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Python, pip installs Python packages. The command is `pip install package-name`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Ubuntu, apt handles package updates. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Noted: data.csv. What's the task?\nUser: What's the command to count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to search text in files on this system?", "completion": "On Fedora, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: How do I compress it?", "completion": "You said project-alpha, so tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check disk usage?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "On Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Because the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "On Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: I'm on branch release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: Can you show me how to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: Can you show me how to count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what's a good first project?", "completion": "Since you're learning from scratch, I'll avoid jargon — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "You said root owns the file, so you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to create a branch?", "completion": "Since you're on Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "On Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I view a container's logs?", "completion": "Since you're on Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Given that the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Morgan. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Understood — src. What should we do next?\nUser: How do I search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: What's the command to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Alex. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Noted: 6379. What's the task?\nUser: How do I connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Jesse. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Fedora, dnf is the package manager. Run `sudo dnf install package-name`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to find large files?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: What's the command to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "On Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "You said the remote rejected your credentials, so refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I list installed packages?", "completion": "Since you're on Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to update the system?", "completion": "On macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: I have something listening on port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: Can you show me how to check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a function?", "completion": "You said you're exhausted, so here's the shortest useful explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I install a package?", "completion": "Given that you're on Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Since your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: how do I use the terminal?", "completion": "Since you're learning from scratch, I'll avoid jargon — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: what is a variable?", "completion": "Nice to meet you, Taylor. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: Can you show me how to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: What's the command to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: Can you help me understand this: what should I learn first?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: What's the command to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to stash my work — what should I run?", "completion": "Since you're on Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to check container resource usage?", "completion": "Because you're using Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: How do I push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: What's the command to test the database port?", "completion": "You said 5432, so nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Let's talk about branch main.\nAssistant: Understood — main. What should we do next?\nUser: What's the command to pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: what should I learn first?", "completion": "Good to meet you, Parker. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: the container is test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: What's the command to remove it?", "completion": "You said test-runner, so docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: I'm working with port 3000.\nAssistant: Understood — 3000. What should we do next?\nUser: Can you show me how to check what's listening?", "completion": "You said 3000, so ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: how do I learn to code?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to check the repository status — what should I run?", "completion": "On Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to freeze my dependencies — what should I run?", "completion": "On Python, pip freeze lists installed versions. Run `pip freeze > requirements.txt`."} +{"prompt": "User: Quick context: the container is redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "On Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a variable?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "On Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I search text in files?", "completion": "Given that you're on Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: what's a good first project?", "completion": "Good to meet you, Finley. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Noted: src. What's the task?\nUser: search inside it?", "completion": "You said src, so grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: Can you show me how to clean it?", "completion": "You said tmp, so find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "Given that you're on Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: How do I forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to expose a port?", "completion": "On Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I expose a port?", "completion": "Because you're using Docker, docker run publishes ports with -p. The command is `docker run -p 8080:80 image-name`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: What's the command to run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: how do I stay motivated?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "On Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "You said app.py, so Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: I'm working with port 443.\nAssistant: Understood — 443. What should we do next?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I check the repository status?", "completion": "Because you're using Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I check the Python version?", "completion": "Because you're using Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to stop a container?", "completion": "Since you're on Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Given that the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "Since you're on Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: Help — my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "On Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check running processes?", "completion": "Because you're using Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: Can you show me how to delete it?", "completion": "You said experiment, so git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Since you're just starting out, I'll keep this simple — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: how do I debug my code?", "completion": "Good to meet you, Jordan. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Noted: build. What's the task?\nUser: delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to upgrade pip — what should I run?", "completion": "On Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: What's the command to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: I'm working with port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: What's the command to restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I undo the last commit?", "completion": "Since you're on Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "On Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: I've got a file named server.log.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: Can you show me how to follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: The service is running on port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: How do I change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I search text in files?", "completion": "Because you're using macOS, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to update the system?", "completion": "On macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Understood — app.py. What should we do next?\nUser: How do I run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: How do I check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: What's the command to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: what is a variable?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I update the system?", "completion": "Because you're using macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I find large files?", "completion": "Because you're using Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I practice coding?", "completion": "Given that you've had a long day, I'll keep this brief — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: Can you show me how to view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I enter a container shell?", "completion": "Since you're on Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: what is a loop?", "completion": "Nice to meet you, Finley. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: how do I practice coding?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: What's the command to change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: check its size?", "completion": "You said logs, so du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is an array?", "completion": "Because you're new to this, let's start with the basics — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Debian, ps gives a process snapshot. Run `ps aux`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I push my commits?", "completion": "Since you're on Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Understood — 443. What should we do next?\nUser: check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to upgrade pip on this system?", "completion": "Given that you're on Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "On Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I see open ports?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Because you're using Python, pytest discovers and runs tests. Use `pytest` for that."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Since your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "On Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: Can you show me how to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Given that the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Quick context: the container is redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: Can you show me how to stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Hello, Jamie! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Jamie. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to check container resource usage?", "completion": "On Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I create a virtual environment?", "completion": "On Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Hayden. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I have a file called app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: How do I inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Understood — 6379. What should we do next?\nUser: Can you show me how to connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: How do I check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Understood — assets. What should we do next?\nUser: How do I copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Avery. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what should I learn first?", "completion": "Since you're learning from scratch, I'll avoid jargon — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Jesse. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "On Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check a service — what should I run?", "completion": "Since you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: How do I check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to undo the last commit?", "completion": "Because you're using Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: What's the command to check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Understood — build. What should we do next?\nUser: How do I delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "On Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: what should I learn first?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to check a service on this system?", "completion": "On Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: How do I restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Charlie. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: The branch I'm using is release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: What's the command to tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I learn to code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: how do I learn to code?", "completion": "Good to meet you, Kai. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: What's the command to extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: I just started the container cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I install a package?", "completion": "Because you're using Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Noted: app.db. What's the task?\nUser: Can you show me how to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "On Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: The container I'm using is redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: Can you show me how to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: How do I stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "On Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I create a virtual environment?", "completion": "Since you're on Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Understood — 443. What should we do next?\nUser: check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Since the Docker daemon is stopped, start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. The command you need is `df -h`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: What's the command to unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Harper. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "On Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Noted: server.log. What's the task?\nUser: What's the command to follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: Can you show me how to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "On Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to remove an image?", "completion": "Given that you're on Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: Can you show me how to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Since you're on Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I check the repository status?", "completion": "Given that you're on Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "On Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I see open ports?", "completion": "On Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "On Ubuntu, apt handles package updates. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: Can you show me how to enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Noted: app.db. What's the task?\nUser: Can you show me how to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Got it — main. What do you want to do with it?\nUser: What's the command to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: Can you show me how to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Quick context: my branch is main.\nAssistant: Noted: main. What's the task?\nUser: Can you show me how to pull the latest?", "completion": "You said main, so git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Port 3000 is the one I care about.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: How do I check what's listening?", "completion": "You said 3000, so ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. The command you need is `ls -la`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Emerson. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: What's the command to restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Given that the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Because the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to install a package on this system?", "completion": "On Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Noted: staging. What's the task?\nUser: How do I switch to it?", "completion": "You said staging, so git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: Can you show me how to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Noted: 9000. What's the task?\nUser: scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Hello, Taylor! What's on your mind?\nUser: how do I learn to code?", "completion": "Nice to meet you, Taylor. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Jesse. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I see open ports?", "completion": "Because you're using Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is a function?", "completion": "Because you're low on energy, I'll give you the simple version — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: how do I practice coding?", "completion": "Since you're learning from scratch, I'll avoid jargon — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Got it — src. What do you want to do with it?\nUser: Can you show me how to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: Can you show me how to list its files?", "completion": "Since you mentioned docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I search text in files?", "completion": "On Windows PowerShell, Select-String searches file contents. You can do it with `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I search text in files?", "completion": "Because you're using Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Understood — assets. What should we do next?\nUser: How do I copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Dakota. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Because you're using Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: How do I check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Because root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is git?", "completion": "Given that you're a beginner, here's a plain explanation — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: what should I learn first?", "completion": "Nice to meet you, Quinn. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: How do I inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: what is a variable?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check a service?", "completion": "On Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: What's the command to scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: Can you show me how to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I check a service?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I update the system?", "completion": "Given that you're on macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: What's the command to push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I pull the latest changes?", "completion": "Because you're using Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I install a package?", "completion": "Since you're on Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Noted: deploy.sh. What's the task?\nUser: make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: How do I push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "Since you're on Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I update the system?", "completion": "On Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: What's the command to pretty-print it?", "completion": "You said config.json, so jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "On Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Since you're on Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. Run `service-name --test-config`."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I debug my code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I have a folder called docs.\nAssistant: Understood — docs. What should we do next?\nUser: What's the command to list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Let's talk about the project-alpha directory.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: How do I compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: My command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: Can you show me how to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "On Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I find large files?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Understood — build. What should we do next?\nUser: How do I delete it?", "completion": "You said build, so rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "On Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to run a script — what should I run?", "completion": "Since you're on Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Parker. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to remove an image?", "completion": "On Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I enter a container shell?", "completion": "Because you're using Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: I'm working with port 443.\nAssistant: Noted: 443. What's the task?\nUser: How do I check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Casey. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Noted: docs. What's the task?\nUser: list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I learn to code?", "completion": "Because you're new to this, let's start with the basics — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I pull the latest changes?", "completion": "Because you're using Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: How do I merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: Can you show me how to count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to expose a port on this system?", "completion": "Given that you're on Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to check disk usage?", "completion": "On macOS, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Jamie. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Got it — main. What do you want to do with it?\nUser: Can you show me how to pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Noted: venv. What's the task?\nUser: remove it?", "completion": "You said venv, so rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "Given that you're on Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Noted: app.py. What's the task?\nUser: What's the command to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "On Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Got it — 22. What do you want to do with it?\nUser: How do I change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I practice coding?", "completion": "Because you're low on energy, I'll give you the simple version — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I search text in files?", "completion": "Since you're on Ubuntu, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what should I learn first?", "completion": "Since you're just starting out, I'll keep this simple — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: tag it?", "completion": "You said release-1.2, so git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "Given that you're on Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: What's the command to tag it?", "completion": "You said release-1.2, so git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: What's the command to restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: Can you show me how to unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I'm working with the container cache.\nAssistant: Understood — cache. What should we do next?\nUser: How do I copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is a function?", "completion": "Because you're new to this, let's start with the basics — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I have something listening on port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: What's the command to check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to install a package on this system?", "completion": "On Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Given that the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I have a container called api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Nice to meet you, Jordan. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Let's talk about main.go — it's a file I need to handle.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: What's the command to run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: I have a file called index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to run my tests — what should I run?", "completion": "On Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I practice coding?", "completion": "Since you mentioned you're tired, let's keep this short and practical — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Given that you've had a long day, I'll keep this brief — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: What's the command to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to run a script?", "completion": "Because you're using Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I search text in files?", "completion": "On Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is a variable?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: how do I debug my code?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: how do I stay motivated?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: How do I inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "On Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: What's the command to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I list running containers?", "completion": "Given that you're on Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Got it — src. What do you want to do with it?\nUser: What's the command to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I use the terminal?", "completion": "Because you're new to this, let's start with the basics — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Got it — build. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Emerson. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Because a network call is timing out, test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Morgan. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Ubuntu, apt handles package updates. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Debian, apt performs the upgrade. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Parker. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: Quick context: the container is redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. Run `ping host-name`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "Because you're using Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is a bug?", "completion": "Because you're new to this, let's start with the basics — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I update the system?", "completion": "Since you're on Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Noted: deploy.sh. What's the task?\nUser: How do I make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check disk usage?", "completion": "On Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: What's the command to check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. Run `pip install package-name`."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: What's the command to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Since you're just starting out, I'll keep this simple — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The folder I'm using is tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "On macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to search text in files?", "completion": "On macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Noted: data.csv. What's the task?\nUser: What's the command to count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: I'm working with port 443.\nAssistant: Noted: 443. What's the task?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Because a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: What's the command to check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: I have a container called cache.\nAssistant: Noted: cache. What's the task?\nUser: Can you show me how to copy a file out of it?", "completion": "You said cache, so docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I check the repository status?", "completion": "Since you're on Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "On Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to run my tests?", "completion": "Since you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I update the system?", "completion": "Given that you're on Ubuntu, apt handles package updates. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: Can you show me how to pretty-print it?", "completion": "You said config.json, so jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Given that you're on Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: The folder I'm using is docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: What's the command to list its files?", "completion": "You said docs, so ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: what is a function?", "completion": "You said you're exhausted, so here's the shortest useful explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "Given that you're on Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Understood — 5000. What should we do next?\nUser: How do I restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Sam. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Understood — app.db. What should we do next?\nUser: How do I inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: Can you show me how to restart it?", "completion": "You said postgres-db, so docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check running processes?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to push my commits — what should I run?", "completion": "Given that you're on Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is git?", "completion": "Given that you've had a long day, I'll keep this brief — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: How do I enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I see open ports?", "completion": "Because you're using Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Noted: deploy.sh. What's the task?\nUser: What's the command to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Fedora, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: Can you show me how to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Thanks, I'll remember feature/api. How can I help?\nUser: How do I rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to check a service on this system?", "completion": "On Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Can you help me understand this: what is a variable?", "completion": "Good to meet you, Taylor. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Help — my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "You said there's a quoting or syntax mistake, so the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Dakota. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Finley. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I see open ports?", "completion": "On Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I'm working with the container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: What's the command to stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Alex. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: My script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I check the Python version?", "completion": "On Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: how do I debug my code?", "completion": "Nice to meet you, Taylor. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: The file I'm dealing with is config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: What's the command to pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Because you're new to this, let's start with the basics — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I see open ports?", "completion": "On Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Given that the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I have a file called config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: How do I pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to view the history — what should I run?", "completion": "Since you're on Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is git?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: How do I check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: What's the command to merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "On Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I ask for help?", "completion": "Given that you've had a long day, I'll keep this brief — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is a loop?", "completion": "Since you're learning from scratch, I'll avoid jargon — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I ask for help?", "completion": "Since you're learning from scratch, I'll avoid jargon — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "Because you're using Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: I have a file called index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Since you're just starting out, I'll keep this simple — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a bug?", "completion": "You said you're exhausted, so here's the shortest useful explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: Can you show me how to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Help — my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Since you're just starting out, I'll keep this simple — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Let's talk about container cache.\nAssistant: Understood — cache. What should we do next?\nUser: Can you show me how to copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to find large files?", "completion": "Since you're on macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm on branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Noted: 3000. What's the task?\nUser: What's the command to check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Since you're just starting out, I'll keep this simple — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: Can you show me how to make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: Can you show me how to check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Python, pip installs Python packages. The command is `pip install package-name`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "Because you're using Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to stop a container on this system?", "completion": "Since you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to copy a file into a container on this system?", "completion": "Because you're using Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Noted: archive.zip. What's the task?\nUser: Can you show me how to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Given that the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Can you help me understand this: what should I learn first?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. Run `command | less`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: what is a loop?", "completion": "Given that you're a beginner, here's a plain explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on macOS, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: how do I learn to code?", "completion": "Nice to meet you, Morgan. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Quinn. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Given that the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Noted: 443. What's the task?\nUser: What's the command to check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: what is a loop?", "completion": "Because you're low on energy, I'll give you the simple version — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: I have a folder called venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to create a branch on this system?", "completion": "Since you're on Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: what is a function?", "completion": "Nice to meet you, Jesse. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "On Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: How do I forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Parker. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "Given that you're on Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check disk usage?", "completion": "Because you're using Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to view the history — what should I run?", "completion": "Because you're using Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Emerson. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check running processes?", "completion": "Because you're using Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Noted: index.html. What's the task?\nUser: How do I open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Noted: dev. What's the task?\nUser: push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: I have something listening on port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: What's the command to check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: How do I make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: How do I push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Given that the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I search text in files?", "completion": "Because you're using Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I update the system?", "completion": "Given that you're on Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Casey. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: The container I'm using is redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I check running processes?", "completion": "On Ubuntu, processes are visible with ps or top. The command is `ps aux`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I install a package?", "completion": "On macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: How do I delete it?", "completion": "You said experiment, so git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Since you're just starting out, I'll keep this simple — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: The file I'm dealing with is config.json.\nAssistant: Noted: config.json. What's the task?\nUser: pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: How do I rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Understood — src. What should we do next?\nUser: search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: I have a folder called docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: Can you show me how to list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a function?", "completion": "Given that you've had a long day, I'll keep this brief — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I just started the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: Can you show me how to enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "On Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: What's the command to follow it?", "completion": "You said server.log, so tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Alex. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to update the system?", "completion": "On Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to search text in files on this system?", "completion": "On Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "On Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Let's talk about main.go — it's a file I need to handle.\nAssistant: Understood — main.go. What should we do next?\nUser: How do I run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Harper. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: What's the command to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "Because you're using Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: How do I push my changes there?", "completion": "You said dev, so git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Avery. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I use the terminal?", "completion": "Given that you're a beginner, here's a plain explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I learn to code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Understood — main. What should we do next?\nUser: Can you show me how to pull the latest?", "completion": "You said main, so git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: What's the command to remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: How do I extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: How do I inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to stash my work — what should I run?", "completion": "Since you're on Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I check running processes?", "completion": "On Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: Can you show me how to rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "Given that you're on Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Understood — venv. What should we do next?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to check the Python version on this system?", "completion": "Given that you're on Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: I'm working with port 22.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: How do I change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I upgrade pip?", "completion": "Because you're using Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to stop a container?", "completion": "Since you're on Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Charlie. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: The service is running on port 22.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: Can you show me how to change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Since you're on macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: Can you show me how to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Harper. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: I have a folder called src.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: Can you show me how to search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to list running containers?", "completion": "On Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Thanks, Sam. What would you like to know?\nUser: how do I debug my code?", "completion": "Nice to meet you, Sam. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The folder I'm using is tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: Can you show me how to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: The service is running on port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: Can you show me how to tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "Because you're using Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I check running processes?", "completion": "On Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: Quick context: notes.txt is the file I'm using.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: How do I view it?", "completion": "You said notes.txt, so less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Emerson. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "On Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: what's a good first project?", "completion": "Good to meet you, Hayden. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "On Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "Because you're using Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Understood — data.csv. What should we do next?\nUser: Can you show me how to count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what's a good first project?", "completion": "Since you're learning from scratch, I'll avoid jargon — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: what is a bug?", "completion": "Since you're just starting out, I'll keep this simple — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: compress it?", "completion": "You said project-alpha, so tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Noted: main.go. What's the task?\nUser: What's the command to run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to view a container's logs on this system?", "completion": "On Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to create a branch?", "completion": "Because you're using Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what's a good first project?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Kai. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "On Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: The container I'm using is postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: What's the command to restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Given that you're a beginner, here's a plain explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what's a good first project?", "completion": "Because you're new to this, let's start with the basics — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I find large files?", "completion": "Since you're on Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: My git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I find large files?", "completion": "Because you're using Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is a function?", "completion": "Since you mentioned you're tired, let's keep this short and practical — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Given that another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Because the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: The branch I'm using is release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: Can you show me how to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to run a script — what should I run?", "completion": "On Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. The command is `ps aux`."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: What's the command to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: The service is running on port 3000.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: What's the command to check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I search text in files?", "completion": "Since you're on macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: Can you show me how to scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Hello, Charlie! What's on your mind?\nUser: how do I debug my code?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: What's the command to check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: I'm on branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Since you're learning from scratch, I'll avoid jargon — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I read an error message?", "completion": "Because you're new to this, let's start with the basics — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check running processes?", "completion": "Since you're on Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: How do I remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: Can you show me how to merge it into main?", "completion": "You said feature/login, so git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: what should I learn first?", "completion": "Given that you've had a long day, I'll keep this brief — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: how do I debug my code?", "completion": "Nice to meet you, Jesse. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "On Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: I'm on branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "You said experiment, so git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "On Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Since you're on macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I install a package?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on macOS, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: I have a folder called src.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: What's the command to search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I upgrade pip?", "completion": "On Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "On Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: how do I debug my code?", "completion": "Because you're new to this, let's start with the basics — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to run a script — what should I run?", "completion": "On Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I update the system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "On Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "On Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Noted: src. What's the task?\nUser: Can you show me how to search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: How do I rebase it?", "completion": "You said feature/api, so git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I see open ports?", "completion": "Since you're on Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "You said the remote rejected your credentials, so refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "Since you're on Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Because you're new to this, let's start with the basics — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Dakota. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to check the repository status — what should I run?", "completion": "On Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "You said experiment, so git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I freeze my dependencies?", "completion": "Since you're on Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I install a package?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: What's the command to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: I have a folder called src.\nAssistant: Noted: src. What's the task?\nUser: search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: What's the command to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on macOS, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is an array?", "completion": "Given that you've had a long day, I'll keep this brief — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Dakota. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Noted: main. What's the task?\nUser: Can you show me how to pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: what is a function?", "completion": "Good to meet you, Quinn. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "On Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Jordan. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Taylor. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: merge it into main?", "completion": "You said feature/login, so git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: Can you show me how to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I read an error message?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Because you're new to this, let's start with the basics — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check disk usage?", "completion": "Because you're using Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. Run `command | less`."} +{"prompt": "User: I just started the container web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: How do I view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to freeze my dependencies?", "completion": "Because you're using Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: How do I delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Fedora, dnf is the package manager. Run `sudo dnf install package-name`."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: What's the command to view its logs?", "completion": "You said web-app, so docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to push my commits?", "completion": "On Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: what is a variable?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "Because you're using Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: What's the command to merge it into main?", "completion": "You said feature/login, so git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to freeze my dependencies?", "completion": "On Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: what is a loop?", "completion": "Nice to meet you, Morgan. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Noted: src. What's the task?\nUser: What's the command to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Understood — docs. What should we do next?\nUser: list its files?", "completion": "Since you mentioned docs, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is a function?", "completion": "Because you're low on energy, I'll give you the simple version — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Given that the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: What's the command to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to stash my work?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Because you're new to this, let's start with the basics — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check a service?", "completion": "On Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is an array?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Since it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: Can you show me how to rebase it?", "completion": "You said feature/api, so git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: Can you show me how to compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick context: the container is redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: Can you show me how to stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to check running processes — what should I run?", "completion": "On macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: I have a file called server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: Can you show me how to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Since the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I check disk usage?", "completion": "Because you're using Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: How do I tag it?", "completion": "You said release-1.2, so git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "On Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: What's the command to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I stay motivated?", "completion": "Because you're new to this, let's start with the basics — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: Can you show me how to scan it for a service?", "completion": "You said 9000, so nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Noted: api-server. What's the task?\nUser: What's the command to enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Jordan. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: The container I'm using is postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: How do I restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to copy a file into a container on this system?", "completion": "Because you're using Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "On Fedora, dnf handles system upgrades. You can do it with `sudo dnf upgrade`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is git?", "completion": "Because you're new to this, let's start with the basics — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Since your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: Quick context: config.json is the file I'm using.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: Can you show me how to pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: How do I view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: What's the command to extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: How do I enter its shell?", "completion": "You said api-server, so docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I learn to code?", "completion": "Given that you're a beginner, here's a plain explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: how do I read an error message?", "completion": "Given that you're a beginner, here's a plain explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Understood — main. What should we do next?\nUser: How do I pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I find large files?", "completion": "Since you're on macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what should I learn first?", "completion": "Given that you're a beginner, here's a plain explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: how do I practice coding?", "completion": "Good to meet you, Morgan. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "Given that you're on Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: How do I run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: How do I inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: Can you show me how to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: How do I copy it?", "completion": "Since you mentioned assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: The service is running on port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: What's the command to change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to check the repository status on this system?", "completion": "Since you're on Git, git status summarizes changes. You can do it with `git status`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Noted: venv. What's the task?\nUser: How do I remove it?", "completion": "You said venv, so rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check disk usage?", "completion": "Given that you're on Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: Can you show me how to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: How do I restart it?", "completion": "You said postgres-db, so docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to list installed packages?", "completion": "Given that you're on Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: What's the command to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I search text in files?", "completion": "Given that you're on macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I read an error message?", "completion": "Since you're learning from scratch, I'll avoid jargon — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to upgrade pip?", "completion": "On Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Parker. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Because the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check disk usage on this system?", "completion": "On Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: Can you show me how to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Morgan. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: how do I debug my code?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Dakota. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to install a package?", "completion": "Since you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "On Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to stop a container?", "completion": "On Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: what is a loop?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Understood — server.log. What should we do next?\nUser: How do I follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: What's the command to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Because you're using Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. The command you need is `df -h`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "On Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: Can you show me how to merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: What's the command to check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Hey, I'm Riley — nice to meet you.\nAssistant: Thanks, Riley. What would you like to know?\nUser: how do I practice coding?", "completion": "Nice to meet you, Riley. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to expose a port — what should I run?", "completion": "On Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Noted: build. What's the task?\nUser: What's the command to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I create a virtual environment?", "completion": "Given that you're on Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I install a package?", "completion": "On Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "You said root owns the file, so you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: What's the command to pull the latest?", "completion": "You said main, so git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: The database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: How do I make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I check a service?", "completion": "Since you're on macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: I have a folder called src.\nAssistant: Understood — src. What should we do next?\nUser: search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Understood — app.py. What should we do next?\nUser: What's the command to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Since another process owns the port, find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to copy a file into a container — what should I run?", "completion": "Because you're using Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: How do I enter its shell?", "completion": "You said api-server, so docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Got it — src. What do you want to do with it?\nUser: How do I search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "Because you're using Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Given that you're a beginner, here's a plain explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Noted: venv. What's the task?\nUser: How do I remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is a loop?", "completion": "Given that you're a beginner, here's a plain explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "On Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I push my commits?", "completion": "Because you're using Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: What's the command to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: how do I practice coding?", "completion": "Given that you've had a long day, I'll keep this brief — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Alex. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I update the system?", "completion": "Since you're on Debian, apt performs the upgrade. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: what is a function?", "completion": "Nice to meet you, Hayden. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to update the system?", "completion": "Since you're on macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Since you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "On Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I stop a container?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: What's the command to restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I learn to code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I install a package?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Understood — 443. What should we do next?\nUser: How do I check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Noted: 22. What's the task?\nUser: change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Got it — venv. What do you want to do with it?\nUser: remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to view a container's logs?", "completion": "Given that you're on Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: What's the command to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: Can you show me how to pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Hello, Quinn! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Quinn. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to update the system?", "completion": "On Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: how do I read an error message?", "completion": "Since you're learning from scratch, I'll avoid jargon — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I have a folder called build.\nAssistant: Understood — build. What should we do next?\nUser: What's the command to delete it?", "completion": "You said build, so rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Nice to meet you, Parker. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to copy a file into a container — what should I run?", "completion": "On Docker, docker cp copies files in and out. Use `docker cp file.txt container-name:/path/` for that."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: Let's talk about branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I check the Python version?", "completion": "Given that you're on Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: What's the command to view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: How do I remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Harper. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I create a branch?", "completion": "Since you're on Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Because you're new to this, let's start with the basics — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: How do I restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to install a package on this system?", "completion": "On Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Understood — venv. What should we do next?\nUser: remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: I'm on branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: What's the command to delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "Since you're on Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: The directory I'm dealing with is src.\nAssistant: Got it — src. What do you want to do with it?\nUser: How do I search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Given that the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Riley. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Parker. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to copy a file into a container — what should I run?", "completion": "Since you're on Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: What's the command to merge it into main?", "completion": "You said feature/login, so git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Since you're just starting out, I'll keep this simple — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check a service?", "completion": "Given that you're on Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "On macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Understood — logs. What should we do next?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: Can you show me how to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I update the system?", "completion": "Since you're on macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: I have a container called cache.\nAssistant: Understood — cache. What should we do next?\nUser: How do I copy a file out of it?", "completion": "You said cache, so docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: Can you show me how to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I update the system?", "completion": "On Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: How do I merge it into main?", "completion": "You said feature/login, so git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: The folder I'm using is docs.\nAssistant: Understood — docs. What should we do next?\nUser: list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: Can you show me how to forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm on branch main.\nAssistant: Understood — main. What should we do next?\nUser: What's the command to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: Can you show me how to rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you're learning from scratch, I'll avoid jargon — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "Given that you're on Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: How do I check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is an array?", "completion": "Because you're new to this, let's start with the basics — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: What's the command to switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Jordan. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: what's a good first project?", "completion": "Good to meet you, Jordan. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I check the Python version?", "completion": "Given that you're on Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: I'm on branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: How do I push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Quick context: I'm inside project-alpha.\nAssistant: Understood — project-alpha. What should we do next?\nUser: Can you show me how to compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to upgrade pip?", "completion": "Given that you're on Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I see open ports?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I learn to code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "On Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I find large files?", "completion": "Given that you're on Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I create a branch?", "completion": "Given that you're on Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Sam. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: What's the command to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to list running containers — what should I run?", "completion": "Given that you're on Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Since another process owns the port, find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. Run `df -h`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "You said inodes are exhausted, so remove many small files. Run `df -i`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to see open ports — what should I run?", "completion": "On Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Port 27017 is the one I care about.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: Can you show me how to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I update the system?", "completion": "Since you're on macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I check running processes?", "completion": "Since you're on macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Given that the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I debug my code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: What's the command to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what should I learn first?", "completion": "You said you're exhausted, so here's the shortest useful explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Morgan. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to install a package?", "completion": "Since you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to search text in files?", "completion": "On Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: remove it?", "completion": "You said test-runner, so docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: how do I learn to code?", "completion": "Good to meet you, Jamie. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "On Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "On Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: How do I kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Noted: 8000. What's the task?\nUser: Can you show me how to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I check running processes?", "completion": "Given that you're on Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: I have a container called cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: What's the command to copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: What's the command to check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: What's the command to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to run my tests?", "completion": "Since you're on Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Noted: cache. What's the task?\nUser: Can you show me how to copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is a loop?", "completion": "Because you're new to this, let's start with the basics — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I check the Python version?", "completion": "Given that you're on Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: Can you show me how to remove it?", "completion": "You said test-runner, so docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "You said there's a quoting or syntax mistake, so the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I stay motivated?", "completion": "Because you're new to this, let's start with the basics — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: What's the command to copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: Can you show me how to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Quick context: the container is test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: Can you show me how to view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Because you're new to this, let's start with the basics — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: how do I practice coding?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "On Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: The branch I'm using is release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: What's the command to tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Jordan. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: What's the command to restart it?", "completion": "You said postgres-db, so docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check running processes?", "completion": "On Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: Can you show me how to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Because you're using Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Hayden. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "On Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "Since you're on Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I check disk usage?", "completion": "On Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: How do I push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I install a package?", "completion": "Since you're on Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I ask for help?", "completion": "Given that you've had a long day, I'll keep this brief — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Given that inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Hayden. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "Because you're using Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Alex. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Dakota. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I check the Python version?", "completion": "Because you're using Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. Run `lsof file-name`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I check a service?", "completion": "Given that you're on Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Understood — cache. What should we do next?\nUser: How do I copy a file out of it?", "completion": "You said cache, so docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: What's the command to rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Help — I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Morgan. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on macOS, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I find large files?", "completion": "Given that you're on Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Noted: app.py. What's the task?\nUser: Can you show me how to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Given that the filesystem is out of space, find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "On Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "Given that you're on Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: Quick context: port 27017 is the one I'm using.\nAssistant: Noted: 27017. What's the task?\nUser: check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: how do I use the terminal?", "completion": "Good to meet you, Taylor. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Jesse. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Logan. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is a bug?", "completion": "Because you're low on energy, I'll give you the simple version — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "Given that you're on Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to enter a container shell on this system?", "completion": "Since you're on Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Understood — app.py. What should we do next?\nUser: run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to check the Python version — what should I run?", "completion": "Given that you're on Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "On Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Since you're just starting out, I'll keep this simple — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: How do I check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I check disk usage?", "completion": "Because you're using Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Noted: experiment. What's the task?\nUser: Can you show me how to delete it?", "completion": "You said experiment, so git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: What's the command to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I find large files?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Thanks, Logan. What would you like to know?\nUser: how do I use the terminal?", "completion": "Good to meet you, Logan. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to see open ports?", "completion": "Because you're using macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I install a package?", "completion": "On Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: Can you show me how to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I use the terminal?", "completion": "Given that you're a beginner, here's a plain explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: I'm working with port 3000.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: Can you show me how to check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to stash my work?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: What's the command to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Fedora, dnf is the package manager. Run `sudo dnf install package-name`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: What's the command to extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Hayden. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Understood — 8000. What should we do next?\nUser: Can you show me how to forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to check a service?", "completion": "Because you're using Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Because you're using Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: how do I learn to code?", "completion": "Nice to meet you, Morgan. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Understood — assets. What should we do next?\nUser: How do I copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: What's the command to run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Given that you're a beginner, here's a plain explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I check running processes?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: How do I extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I ask for help?", "completion": "Since you're just starting out, I'll keep this simple — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to update the system on this system?", "completion": "On macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to list running containers on this system?", "completion": "On Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: how do I use the terminal?", "completion": "Good to meet you, Avery. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I'm on branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: tag it?", "completion": "You said release-1.2, so git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Quinn. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "Because you're using Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: Can you show me how to pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: I have a folder called src.\nAssistant: Noted: src. What's the task?\nUser: Can you show me how to search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Jordan. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to commit my changes on this system?", "completion": "Given that you're on Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I commit my changes?", "completion": "Given that you're on Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: I'm working with port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I ask for help?", "completion": "Since you mentioned you're tired, let's keep this short and practical — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Noted: notes.txt. What's the task?\nUser: view it?", "completion": "You said notes.txt, so less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Quinn. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Noted: tmp. What's the task?\nUser: clean it?", "completion": "Since you mentioned tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. You can do it with `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: What's the command to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: What's the command to restart it?", "completion": "You said postgres-db, so docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what's a good first project?", "completion": "Because you're low on energy, I'll give you the simple version — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Because you're using Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I install a package?", "completion": "Since you're on Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to view a container's logs on this system?", "completion": "Since you're on Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Given that you're a beginner, here's a plain explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Understood — 3000. What should we do next?\nUser: Can you show me how to check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: I have a file called server.log.\nAssistant: Noted: server.log. What's the task?\nUser: Can you show me how to follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Got it — src. What do you want to do with it?\nUser: search inside it?", "completion": "You said src, so grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Understood — venv. What should we do next?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "On Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to commit my changes?", "completion": "Because you're using Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "On Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Got it — src. What do you want to do with it?\nUser: How do I search inside it?", "completion": "You said src, so grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: What's the command to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Since you're learning from scratch, I'll avoid jargon — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "On Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to push my commits on this system?", "completion": "On Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: Can you show me how to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I run my tests?", "completion": "Since you're on Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: What's the command to remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: Can you show me how to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Sam. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I update the system?", "completion": "On Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what should I learn first?", "completion": "Since you mentioned you're tired, let's keep this short and practical — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Noted: 443. What's the task?\nUser: How do I check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: what should I learn first?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I find large files?", "completion": "Since you're on Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what is git?", "completion": "Given that you've had a long day, I'll keep this brief — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Because root owns the file, you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to list running containers on this system?", "completion": "Because you're using Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: how do I practice coding?", "completion": "Good to meet you, Jesse. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Jordan. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to create a virtual environment?", "completion": "On Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to enter a container shell?", "completion": "Because you're using Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a loop?", "completion": "Given that you've had a long day, I'll keep this brief — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what should I learn first?", "completion": "Since you're learning from scratch, I'll avoid jargon — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: I have a folder called docs.\nAssistant: Noted: docs. What's the task?\nUser: Can you show me how to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "On Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "On Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Understood — 22. What should we do next?\nUser: change the SSH port?", "completion": "You said 22, so sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Given that the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: I have a folder called src.\nAssistant: Noted: src. What's the task?\nUser: search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Because the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Quinn. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: I'm working in the project-alpha folder.\nAssistant: Understood — project-alpha. What should we do next?\nUser: Can you show me how to compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Given that inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Dakota. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: Can you show me how to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: How do I extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Nice to meet you, Taylor. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "Because you're using Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: what is a function?", "completion": "Good to meet you, Quinn. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is a loop?", "completion": "Given that you're a beginner, here's a plain explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to search text in files — what should I run?", "completion": "On Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: What's the command to inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "Because you're using Fedora, dnf handles system upgrades. You can do it with `sudo dnf upgrade`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: I'm on branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: What's the command to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Let's talk about container worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: How do I check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I've got a file named main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: run it?", "completion": "Since you mentioned main.go, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: I have a folder called src.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: Can you show me how to test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Hello, Sam! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Sam. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Charlie. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "Given that you're on Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Quick context: my branch is feature/api.\nAssistant: Thanks, I'll remember feature/api. How can I help?\nUser: What's the command to rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: Can you show me how to copy it?", "completion": "Since you mentioned assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I commit my changes?", "completion": "Given that you're on Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "On macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to freeze my dependencies?", "completion": "Because you're using Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Taylor. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Finley. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. Run `command | less`."} +{"prompt": "User: I have a folder called src.\nAssistant: Understood — src. What should we do next?\nUser: How do I search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: What's the command to run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I install a package?", "completion": "Given that you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to list installed packages on this system?", "completion": "Since you're on Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to check the repository status — what should I run?", "completion": "Since you're on Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: Can you show me how to count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "Given that you're on Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Help — my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm on branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: What's the command to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is an array?", "completion": "Because you're new to this, let's start with the basics — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is a function?", "completion": "Since you're learning from scratch, I'll avoid jargon — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: what is a variable?", "completion": "Since you're learning from scratch, I'll avoid jargon — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to expose a port — what should I run?", "completion": "On Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Jesse. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Understood — build. What should we do next?\nUser: delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: What's the command to check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: Can you show me how to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Emerson. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I have a file called app.py.\nAssistant: Noted: app.py. What's the task?\nUser: What's the command to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: I have a folder called venv.\nAssistant: Noted: venv. What's the task?\nUser: What's the command to remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Because you're low on energy, I'll give you the simple version — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Because you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Taylor. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I see open ports?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is a function?", "completion": "Because you're low on energy, I'll give you the simple version — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: What's the command to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to list running containers?", "completion": "Since you're on Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Debian, systemctl reports service state. The command is `systemctl status service-name`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: What's the command to push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check running processes?", "completion": "On Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I stash my work?", "completion": "Because you're using Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I see open ports?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Avery. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: how do I learn to code?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: The file I'm dealing with is data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: What's the command to count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: How do I delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: Can you help me understand this: what should I learn first?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: What's the command to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: How do I compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: How do I restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I install a package?", "completion": "Given that you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to undo the last commit?", "completion": "On Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I search text in files?", "completion": "Given that you're on Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Since your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I freeze my dependencies?", "completion": "Since you're on Python, pip freeze lists installed versions. Run `pip freeze > requirements.txt`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I debug my code?", "completion": "Given that you're a beginner, here's a plain explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check disk usage?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: I have a folder called venv.\nAssistant: Understood — venv. What should we do next?\nUser: remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is a loop?", "completion": "Given that you're a beginner, here's a plain explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm Riley — nice to meet you.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Riley. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: what is a function?", "completion": "Nice to meet you, Finley. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "On Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "Because you're using Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is a variable?", "completion": "Given that you've had a long day, I'll keep this brief — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: How do I view its logs?", "completion": "You said web-app, so docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "Because you're using Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: How do I restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I use the terminal?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to expose a port?", "completion": "Since you're on Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to run my tests — what should I run?", "completion": "Since you're on Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Noted: logs. What's the task?\nUser: check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I search text in files?", "completion": "Because you're using macOS, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: The service is running on port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: How do I check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: how do I use the terminal?", "completion": "Since you're just starting out, I'll keep this simple — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: what should I learn first?", "completion": "Good to meet you, Taylor. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "On Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to stop a container?", "completion": "On Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: Port 27017 is the one I care about.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Because root owns the file, you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to list running containers?", "completion": "Because you're using Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Given that the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: How do I tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I have a folder called build.\nAssistant: Noted: build. What's the task?\nUser: What's the command to delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "You said inodes are exhausted, so remove many small files. Use `df -i` to fix it."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: Can you show me how to restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to list running containers?", "completion": "On Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: How do I test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "On Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I push my commits?", "completion": "On Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: how do I stay motivated?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to see open ports — what should I run?", "completion": "On macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "On Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: Quick context: data.csv is the file I'm using.\nAssistant: Noted: data.csv. What's the task?\nUser: What's the command to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I check disk usage?", "completion": "On Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I search text in files?", "completion": "Because you're using Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Jordan. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: what should I learn first?", "completion": "Nice to meet you, Logan. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Understood — 3000. What should we do next?\nUser: What's the command to check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I check running processes?", "completion": "Given that you're on macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I practice coding?", "completion": "Since you mentioned you're tired, let's keep this short and practical — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "You said inodes are exhausted, so remove many small files. Use `df -i` to fix it."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: Can you show me how to search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "Given that you're on Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Hello, Quinn! What's on your mind?\nUser: what's a good first project?", "completion": "Nice to meet you, Quinn. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "Because you're using Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what should I learn first?", "completion": "Given that you're a beginner, here's a plain explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Hello, Kai! What's on your mind?\nUser: how do I debug my code?", "completion": "Good to meet you, Kai. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I stop a container?", "completion": "Since you're on Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "On Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: Quick context: I'm inside tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: Can you show me how to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: what is a loop?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "On Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "Since you're on Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: Can you show me how to check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Hayden. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I have a folder called src.\nAssistant: Noted: src. What's the task?\nUser: How do I search inside it?", "completion": "You said src, so grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: How do I stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "Since you're on Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to stop a container?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm inside tmp.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: Can you show me how to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: How do I merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: what should I learn first?", "completion": "Good to meet you, Alex. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Got it — 443. What do you want to do with it?\nUser: check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I commit my changes?", "completion": "On Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to view the history?", "completion": "Given that you're on Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is a bug?", "completion": "Because you're low on energy, I'll give you the simple version — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to find large files?", "completion": "Given that you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: How do I test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: I have a folder called src.\nAssistant: Got it — src. What do you want to do with it?\nUser: search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Noted: dev. What's the task?\nUser: What's the command to push my changes there?", "completion": "You said dev, so git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: What's the command to view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: What's the command to test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "Because you're using Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check a service?", "completion": "Because you're using Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm working in the project-alpha folder.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: What's the command to compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I see open ports?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: My command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Since you're just starting out, I'll keep this simple — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Noted: api-server. What's the task?\nUser: Can you show me how to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: The directory I'm dealing with is src.\nAssistant: Noted: src. What's the task?\nUser: How do I search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check disk usage?", "completion": "On Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Hello, Logan! What's on your mind?\nUser: what is a loop?", "completion": "Nice to meet you, Logan. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Since it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I check running processes?", "completion": "On Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I list running containers?", "completion": "Given that you're on Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check running processes?", "completion": "Because you're using Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check a service — what should I run?", "completion": "Because you're using macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check a service?", "completion": "Because you're using Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to create a virtual environment on this system?", "completion": "On Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: Can you show me how to inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Noted: api-server. What's the task?\nUser: What's the command to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Quick context: my branch is staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: How do I switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Logan. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: What's the command to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: restart it?", "completion": "You said postgres-db, so docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Noted: assets. What's the task?\nUser: How do I copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: I'm working with port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: What's the command to scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Logan. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Noted: build. What's the task?\nUser: Can you show me how to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to run a script?", "completion": "On Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I find large files?", "completion": "Since you're on Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I've got a file named backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: Can you show me how to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to undo the last commit — what should I run?", "completion": "Since you're on Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: how do I debug my code?", "completion": "Nice to meet you, Jamie. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Understood — archive.zip. What should we do next?\nUser: Can you show me how to unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to list installed packages?", "completion": "Since you're on Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "Because you're using Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is git?", "completion": "You said you're exhausted, so here's the shortest useful explanation — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: I'm working in the src folder.\nAssistant: Understood — src. What should we do next?\nUser: search inside it?", "completion": "You said src, so grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "Since you're on Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to push my commits — what should I run?", "completion": "Since you're on Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I search text in files?", "completion": "Given that you're on Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Sam. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I check a service?", "completion": "Since you're on Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: I'm on branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: What's the command to push my changes there?", "completion": "You said dev, so git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "Because you're using Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to run my tests?", "completion": "Because you're using Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: how do I debug my code?", "completion": "Good to meet you, Sam. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "On macOS, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Noted: logs. What's the task?\nUser: What's the command to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Alex. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "On Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "On Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: What's the command to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Understood — 443. What should we do next?\nUser: What's the command to check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: What's the command to test the database port?", "completion": "You said 5432, so nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I just started the container web-app.\nAssistant: Noted: web-app. What's the task?\nUser: What's the command to view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "Because you're using Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Since you're on macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to copy a file into a container — what should I run?", "completion": "On Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Quick context: I'm inside project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: Can you show me how to compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. The command is `ps aux`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I see open ports?", "completion": "Given that you're on Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: Quick context: the container is test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: remove it?", "completion": "You said test-runner, so docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Casey. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: how do I debug my code?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: Can you show me how to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: How do I tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what is an array?", "completion": "Since you're just starting out, I'll keep this simple — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: what is a loop?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what should I learn first?", "completion": "Since you're just starting out, I'll keep this simple — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: What's the command to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Noted: deploy.sh. What's the task?\nUser: How do I make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: Quick context: notes.txt is the file I'm using.\nAssistant: Understood — notes.txt. What should we do next?\nUser: How do I view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: I have a folder called src.\nAssistant: Got it — src. What do you want to do with it?\nUser: Can you show me how to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I use the terminal?", "completion": "Since you're learning from scratch, I'll avoid jargon — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "Given that you're on Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I find large files?", "completion": "Because you're using Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to check disk usage on this system?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: I have a file called index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: How do I open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I run my tests?", "completion": "Because you're using Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: How do I open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: Can you show me how to enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I've got a file named server.log.\nAssistant: Noted: server.log. What's the task?\nUser: Can you show me how to follow it?", "completion": "You said server.log, so tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I ask for help?", "completion": "Since you mentioned you're tired, let's keep this short and practical — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to run a script — what should I run?", "completion": "Since you're on Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Noted: archive.zip. What's the task?\nUser: What's the command to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to expose a port on this system?", "completion": "Because you're using Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: I have a container called api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: What's the command to enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Got it — 22. What do you want to do with it?\nUser: How do I change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: what should I learn first?", "completion": "Nice to meet you, Logan. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: What's the command to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "On Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: What's the command to follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Understood — 3000. What should we do next?\nUser: What's the command to check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I stop a container?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I check a service?", "completion": "On Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: How do I enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: The file I'm dealing with is config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: Can you show me how to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I view the history?", "completion": "On Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I expose a port?", "completion": "Since you're on Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "On Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: What's the command to check its size?", "completion": "You said logs, so du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check a service?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Hello, Casey! What's on your mind?\nUser: what should I learn first?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to see open ports — what should I run?", "completion": "On Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "Because you're using Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check running processes?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: What's the command to pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: How do I compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I read an error message?", "completion": "Given that you've had a long day, I'll keep this brief — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "Since you're on Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Quick context: port 5000 is the one I'm using.\nAssistant: Noted: 5000. What's the task?\nUser: What's the command to restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: what is a function?", "completion": "Since you're learning from scratch, I'll avoid jargon — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Noted: main.go. What's the task?\nUser: Can you show me how to run it?", "completion": "Since you mentioned main.go, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: I just checked out the branch feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: Can you show me how to merge it into main?", "completion": "You said feature/login, so git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Because the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check running processes?", "completion": "Because you're using Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: what is a variable?", "completion": "Nice to meet you, Morgan. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: What's the command to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: Can you show me how to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "On Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: what is a function?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "On Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I run a script?", "completion": "Because you're using Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: Quick context: my branch is main.\nAssistant: Got it — main. What do you want to do with it?\nUser: What's the command to pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Noted: cache. What's the task?\nUser: Can you show me how to copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I enter a container shell?", "completion": "On Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: How do I run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Quick question: what's a good first project?", "completion": "Nice to meet you, Sam. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I undo the last commit?", "completion": "Because you're using Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: What's the command to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: Can you show me how to view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: What's the command to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: what is a variable?", "completion": "Because you're new to this, let's start with the basics — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what is a loop?", "completion": "Since you're learning from scratch, I'll avoid jargon — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I view a container's logs?", "completion": "Since you're on Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: How do I scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: Can you show me how to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I upgrade pip?", "completion": "Since you're on Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Kai. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: Can you show me how to follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: How do I inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Hello, Kai! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Kai. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what's a good first project?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I view a container's logs?", "completion": "Given that you're on Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: what is a function?", "completion": "Good to meet you, Hayden. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to see open ports?", "completion": "On Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "Because you're using Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I see open ports?", "completion": "Since you're on Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Taylor. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Understood — project-alpha. What should we do next?\nUser: compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "Given that you're on Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: What's the command to delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Casey. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I update the system?", "completion": "Given that you're on Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: Let's talk about the tmp directory.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: Can you show me how to clean it?", "completion": "Since you mentioned tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to search text in files?", "completion": "On Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to check the repository status on this system?", "completion": "Since you're on Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I stash my work?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Logan. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I check the repository status?", "completion": "Given that you're on Git, git status summarizes changes. You can do it with `git status`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: how do I read an error message?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is a bug?", "completion": "Given that you're a beginner, here's a plain explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: Can you show me how to connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "On Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "Given that you're on Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: what should I learn first?", "completion": "Given that you've had a long day, I'll keep this brief — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: how do I debug my code?", "completion": "Nice to meet you, Kai. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Since the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Noted: 6379. What's the task?\nUser: Can you show me how to connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "On Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I see open ports?", "completion": "Because you're using Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "Because you're using Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: Can you show me how to pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to expose a port?", "completion": "Given that you're on Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to copy a file into a container on this system?", "completion": "Because you're using Docker, docker cp copies files in and out. Use `docker cp file.txt container-name:/path/` for that."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "Given that you're on Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I update the system?", "completion": "Since you're on Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Given that the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to create a branch — what should I run?", "completion": "On Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "On Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to check running processes?", "completion": "Since you're on macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Thanks, Avery. What would you like to know?\nUser: what's a good first project?", "completion": "Good to meet you, Avery. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: How do I extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to see open ports on this system?", "completion": "On Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I install a package?", "completion": "On Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Noted: cache. What's the task?\nUser: copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: how do I stay motivated?", "completion": "Because you're low on energy, I'll give you the simple version — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Got it — venv. What do you want to do with it?\nUser: Can you show me how to remove it?", "completion": "You said venv, so rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: how do I learn to code?", "completion": "Since you're just starting out, I'll keep this simple — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I'm working with port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: Can you show me how to scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I read an error message?", "completion": "Given that you've had a long day, I'll keep this brief — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Since the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Finley. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Because you're using Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to view the history — what should I run?", "completion": "On Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: Can you show me how to make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Dakota. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: How do I forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to view the history — what should I run?", "completion": "On Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "On Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: how do I stay motivated?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to find large files on this system?", "completion": "On macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a variable?", "completion": "Because you're low on energy, I'll give you the simple version — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Noted: app.db. What's the task?\nUser: inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is a function?", "completion": "You said you're exhausted, so here's the shortest useful explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Alex. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: I'm working on the file photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: Can you show me how to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: How do I rebase it?", "completion": "You said feature/api, so git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: The container I'm using is postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: How do I restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Riley. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a loop?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Logan. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: Can you show me how to run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to search text in files?", "completion": "Since you're on macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Jesse. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: How do I list its files?", "completion": "Since you mentioned docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I install a package?", "completion": "Because you're using Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: How do I inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Noted: venv. What's the task?\nUser: Can you show me how to remove it?", "completion": "You said venv, so rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to run my tests?", "completion": "Because you're using Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Given that you're a beginner, here's a plain explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I copy a file into a container?", "completion": "Given that you're on Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: what's a good first project?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: I'm on branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to install a package on this system?", "completion": "On Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Because the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "On Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: what's a good first project?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: How do I check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Jordan. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "On Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I run my tests?", "completion": "On Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Noted: index.html. What's the task?\nUser: Can you show me how to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to run my tests — what should I run?", "completion": "Since you're on Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I pull the latest changes?", "completion": "Since you're on Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to update the system — what should I run?", "completion": "Because you're using macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is a variable?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: How do I open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I read an error message?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "On Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to check running processes — what should I run?", "completion": "On macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: what is a variable?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: what is a function?", "completion": "Nice to meet you, Jesse. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: what is a variable?", "completion": "Given that you've had a long day, I'll keep this brief — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Since you're learning from scratch, I'll avoid jargon — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: What's the command to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Harper. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: How do I scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: Can you show me how to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: how do I read an error message?", "completion": "Since you're learning from scratch, I'll avoid jargon — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I freeze my dependencies?", "completion": "Because you're using Python, pip freeze lists installed versions. Run `pip freeze > requirements.txt`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "Because you're using Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. Run `df -h`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Understood — index.html. What should we do next?\nUser: Can you show me how to open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Got it — src. What do you want to do with it?\nUser: What's the command to search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: What's the command to remove it?", "completion": "You said test-runner, so docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: how do I learn to code?", "completion": "Because you're new to this, let's start with the basics — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: How do I check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: What's the command to check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Understood — 443. What should we do next?\nUser: What's the command to check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is a function?", "completion": "Given that you're a beginner, here's a plain explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: How do I connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "Since you're on Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what is a loop?", "completion": "Since you're just starting out, I'll keep this simple — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I run my tests?", "completion": "Since you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to run a script?", "completion": "Because you're using Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I install a package?", "completion": "Given that you're on Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Understood — assets. What should we do next?\nUser: What's the command to copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "Because you're using Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: what is a variable?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check running processes?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: What's the command to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what is git?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Noted: build. What's the task?\nUser: What's the command to delete it?", "completion": "You said build, so rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: What's the command to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Dakota. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: What's the command to remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: I have a container called cache.\nAssistant: Noted: cache. What's the task?\nUser: How do I copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Since your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what should I learn first?", "completion": "Given that you've had a long day, I'll keep this brief — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: what's a good first project?", "completion": "Good to meet you, Dakota. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "On Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Got it — 22. What do you want to do with it?\nUser: change the SSH port?", "completion": "You said 22, so sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Because the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I check a service?", "completion": "Because you're using Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to install a package — what should I run?", "completion": "Since you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: What's the command to kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: How do I check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Because you're new to this, let's start with the basics — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: What's the command to pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I see open ports?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: My script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "On Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Hello, Kai! What's on your mind?\nUser: what is a variable?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. The command you need is `df -h`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: I'm on branch main.\nAssistant: Understood — main. What should we do next?\nUser: pull the latest?", "completion": "You said main, so git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Understood — staging. What should we do next?\nUser: Can you show me how to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: Can you show me how to check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is a loop?", "completion": "Given that you've had a long day, I'll keep this brief — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Given that you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I stay motivated?", "completion": "Because you're new to this, let's start with the basics — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: How do I restart it?", "completion": "You said postgres-db, so docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "Since you're on Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Hey, I'm Riley — nice to meet you.\nAssistant: Hello, Riley! What's on your mind?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Riley. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "On Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check disk usage?", "completion": "Given that you're on Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is git?", "completion": "Because you're new to this, let's start with the basics — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: what is a loop?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Charlie. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Taylor. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I update the system?", "completion": "On Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I install a package?", "completion": "Because you're using Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: how do I learn to code?", "completion": "Given that you're a beginner, here's a plain explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to view a container's logs — what should I run?", "completion": "On Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Parker. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to push my commits on this system?", "completion": "On Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Ubuntu, apt handles package updates. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I run my tests?", "completion": "Given that you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Because systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: How do I delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine ��� everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is an array?", "completion": "Given that you're a beginner, here's a plain explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: Can you show me how to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Noted: tmp. What's the task?\nUser: Can you show me how to clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: Can you show me how to kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: how do I practice coding?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: delete it?", "completion": "You said experiment, so git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: How do I scan it for a service?", "completion": "You said 9000, so nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. The command you need is `df -h`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: what is a loop?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Jamie. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "On Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. Run `ping host-name`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I check a service?", "completion": "Because you're using macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: What's the command to view it?", "completion": "You said notes.txt, so less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Understood — build. What should we do next?\nUser: What's the command to delete it?", "completion": "You said build, so rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Avery. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: How do I test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "Because you're using Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: how do I stay motivated?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Got it — venv. What do you want to do with it?\nUser: remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Noted: build. What's the task?\nUser: How do I delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: Can you show me how to push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: What's the command to check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Got it — build. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: I have a folder called logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: What's the command to check its size?", "completion": "You said logs, so du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I undo the last commit?", "completion": "Given that you're on Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: How do I switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: I'm working with the container web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: what is a variable?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to install a package?", "completion": "Because you're using macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to check container resource usage?", "completion": "Given that you're on Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: I just checked out the branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: merge it into main?", "completion": "You said feature/login, so git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: How do I unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I learn to code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Noted: web-app. What's the task?\nUser: Can you show me how to view its logs?", "completion": "You said web-app, so docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: I've got a file named archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I use the terminal?", "completion": "Given that you're a beginner, here's a plain explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "Since you're on Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what should I learn first?", "completion": "Since you're just starting out, I'll keep this simple — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I create a virtual environment?", "completion": "Because you're using Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Understood — logs. What should we do next?\nUser: What's the command to check its size?", "completion": "You said logs, so du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Since you're just starting out, I'll keep this simple — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working in the assets folder.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: How do I copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Let's talk about main.go — it's a file I need to handle.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: What's the command to run it?", "completion": "You said main.go, so go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check disk usage?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Alex. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I see open ports?", "completion": "Because you're using Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on macOS, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: The file I'm dealing with is config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: How do I pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to remove an image — what should I run?", "completion": "On Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "On Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Since you're on Fedora, dnf is the package manager. Run `sudo dnf install package-name`."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: Can you show me how to push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Noted: docs. What's the task?\nUser: How do I list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Noted: 6379. What's the task?\nUser: connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: Can you show me how to test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to list installed packages?", "completion": "On Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I see open ports?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Since the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Understood — main.go. What should we do next?\nUser: Can you show me how to run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to enter a container shell on this system?", "completion": "Since you're on Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I create a virtual environment?", "completion": "Given that you're on Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I check the repository status?", "completion": "Since you're on Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "Since you're on Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: What's the command to push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: The file I'm dealing with is photo.jpg.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: How do I unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I list installed packages?", "completion": "Because you're using Python, pip list shows installed packages. You can do it with `pip list`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I update the system?", "completion": "Given that you're on Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: What's the command to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is a function?", "completion": "Because you're new to this, let's start with the basics — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: What's the command to unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: restart it?", "completion": "You said postgres-db, so docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to run a script on this system?", "completion": "On Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Nice to meet you, Dakota. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to see open ports?", "completion": "Since you're on macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I'm working with the container web-app.\nAssistant: Noted: web-app. What's the task?\nUser: What's the command to view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to find large files — what should I run?", "completion": "Because you're using macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: How do I restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Alex. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: What's the command to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "On Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Python, pip installs Python packages. The command is `pip install package-name`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "On Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I install a package?", "completion": "On macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Jesse. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Understood — 443. What should we do next?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I update the system?", "completion": "Since you're on Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: Can you show me how to change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I have a container called nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: How do I compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: Can you show me how to scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I see open ports?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: How do I restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: The file I'm dealing with is config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: Can you show me how to pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: What's the command to make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: Can you show me how to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Taylor. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to view the history?", "completion": "Because you're using Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: The file I'm dealing with is config.json.\nAssistant: Noted: config.json. What's the task?\nUser: What's the command to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I'm on branch release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: Can you show me how to tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is git?", "completion": "Given that you've had a long day, I'll keep this brief — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "On Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: Can you show me how to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: Can you show me how to check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Noted: 5432. What's the task?\nUser: Can you show me how to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I check running processes?", "completion": "Because you're using macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I install a package?", "completion": "Since you're on Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: How do I check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Understood — src. What should we do next?\nUser: search inside it?", "completion": "You said src, so grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: What's the command to test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. Run `ping host-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I check running processes?", "completion": "Since you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "Because you're using Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Jesse. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Understood — assets. What should we do next?\nUser: How do I copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Since an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I freeze my dependencies?", "completion": "Given that you're on Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: Can you show me how to pull the latest?", "completion": "You said main, so git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I debug my code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: Can you show me how to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: I have a folder called venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: Can you show me how to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Avery. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "Given that you're on Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check a service?", "completion": "Given that you're on Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: What's the command to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to install a package?", "completion": "On Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: I have something listening on port 3000.\nAssistant: Understood — 3000. What should we do next?\nUser: Can you show me how to check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Because you're new to this, let's start with the basics — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Noted: index.html. What's the task?\nUser: What's the command to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Quick context: I'm inside docs.\nAssistant: Noted: docs. What's the task?\nUser: What's the command to list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "On Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I ask for help?", "completion": "Because you're low on energy, I'll give you the simple version — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I just started the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: What's the command to enter its shell?", "completion": "You said api-server, so docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Noted: 8000. What's the task?\nUser: How do I forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "On macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "Since you're on Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: What's the command to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I stay motivated?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Given that inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: Can you show me how to delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Harper. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: the container is test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: How do I remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is git?", "completion": "You said you're exhausted, so here's the shortest useful explanation — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Harper. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Noted: archive.zip. What's the task?\nUser: What's the command to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check disk usage?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "Given that you're on Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Noted: staging. What's the task?\nUser: How do I switch to it?", "completion": "Since you mentioned staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Charlie. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I search text in files?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. You can do it with `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: I'm working with port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: How do I check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: I'm on branch release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Noted: docs. What's the task?\nUser: What's the command to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Fedora, dnf handles system upgrades. You can do it with `sudo dnf upgrade`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: The service is running on port 5000.\nAssistant: Understood — 5000. What should we do next?\nUser: restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: I have a folder called logs.\nAssistant: Noted: logs. What's the task?\nUser: Can you show me how to check its size?", "completion": "You said logs, so du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I check the repository status?", "completion": "On Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is git?", "completion": "Since you're just starting out, I'll keep this simple — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I see open ports?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Noted: docs. What's the task?\nUser: Can you show me how to list its files?", "completion": "You said docs, so ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Alex. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Given that the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Noted: main.go. What's the task?\nUser: run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Since you're on macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Understood — cache. What should we do next?\nUser: copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Noted: main.go. What's the task?\nUser: What's the command to run it?", "completion": "You said main.go, so go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is a loop?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check disk usage?", "completion": "Because you're using Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: Can you show me how to unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "Given that you're on Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Quick question: what's a good first project?", "completion": "Nice to meet you, Finley. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with port 443.\nAssistant: Noted: 443. What's the task?\nUser: What's the command to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: What's the command to change the SSH port?", "completion": "You said 22, so sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Understood — app.py. What should we do next?\nUser: Can you show me how to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: What's the command to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to push my commits — what should I run?", "completion": "On Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I read an error message?", "completion": "Given that you've had a long day, I'll keep this brief — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I check disk usage?", "completion": "Since you're on macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to check the repository status?", "completion": "Given that you're on Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: Can you show me how to pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to install a package?", "completion": "On macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "On Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I ask for help?", "completion": "Given that you're a beginner, here's a plain explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to find large files?", "completion": "Because you're using Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I have a folder called assets.\nAssistant: Noted: assets. What's the task?\nUser: copy it?", "completion": "You said assets, so cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Noted: src. What's the task?\nUser: How do I search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: My script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: What's the command to copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Understood — config.json. What should we do next?\nUser: Can you show me how to pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Because the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: how do I use the terminal?", "completion": "Good to meet you, Charlie. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: Can you show me how to check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: What's the command to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Alex. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Noted: 6379. What's the task?\nUser: What's the command to connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: Can you show me how to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I see open ports?", "completion": "On macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: how do I use the terminal?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I update the system?", "completion": "On Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I search text in files?", "completion": "Because you're using macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I install a package?", "completion": "On Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Sam. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "On Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: How do I push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check disk usage?", "completion": "Since you're on macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: what is a variable?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I update the system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to commit my changes — what should I run?", "completion": "Given that you're on Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Noted: staging. What's the task?\nUser: switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Help — my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "On Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Parker. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Since you're on Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "Given that you're on Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Noted: index.html. What's the task?\nUser: How do I open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Noted: 443. What's the task?\nUser: What's the command to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Finley. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "On Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. Run `df -h`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. Run `lsof file-name`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: How do I stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: what is a variable?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: How do I push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: Can you show me how to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: How do I scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: How do I push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: Can you show me how to kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Logan. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I pull the latest changes?", "completion": "Because you're using Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: What's the command to compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I update the system?", "completion": "On Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: Can you show me how to forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a variable?", "completion": "Given that you've had a long day, I'll keep this brief — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Understood — app.py. What should we do next?\nUser: What's the command to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I have a folder called build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: Can you show me how to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is a bug?", "completion": "You said you're exhausted, so here's the shortest useful explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: how do I learn to code?", "completion": "Nice to meet you, Hayden. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: What's the command to remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: What's the command to follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to run a script?", "completion": "Since you're on Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check a service?", "completion": "Given that you're on Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: I have a folder called venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: How do I remove it?", "completion": "You said venv, so rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. The command you need is `df -h`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: Can you show me how to make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Got it — src. What do you want to do with it?\nUser: search inside it?", "completion": "You said src, so grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to stash my work?", "completion": "Since you're on Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Noted: assets. What's the task?\nUser: Can you show me how to copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to list running containers on this system?", "completion": "On Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: I have a container called cache.\nAssistant: Noted: cache. What's the task?\nUser: What's the command to copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "On Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. Run `df -h`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Because the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I see open ports?", "completion": "Since you're on macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Given that the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to stash my work on this system?", "completion": "Because you're using Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check a service — what should I run?", "completion": "Since you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: I have a folder called build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: Can you show me how to delete it?", "completion": "You said build, so rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: I'm working with the container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: Can you show me how to view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I learn to code?", "completion": "Because you're new to this, let's start with the basics — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: Can you show me how to rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "On macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: What's the command to unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Hello, Kai! What's on your mind?\nUser: what is a loop?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: How do I scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Quick question: how do I debug my code?", "completion": "Nice to meet you, Taylor. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Hello, Finley! What's on your mind?\nUser: what is a function?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: what is a function?", "completion": "Nice to meet you, Taylor. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is a function?", "completion": "Since you mentioned you're tired, let's keep this short and practical — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: How do I remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "Since you're on Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what should I learn first?", "completion": "Given that you've had a long day, I'll keep this brief — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Parker. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Since you're learning from scratch, I'll avoid jargon — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Since you're on macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Hello, Logan! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Logan. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "Given that you're on Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Because you're using Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Hello, Emerson! What's on your mind?\nUser: what is a loop?", "completion": "Good to meet you, Emerson. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. You can do it with `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Nice to meet you, Logan. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Since you're learning from scratch, I'll avoid jargon — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: What's the command to view its logs?", "completion": "You said web-app, so docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: Can you show me how to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Understood — notes.txt. What should we do next?\nUser: How do I view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Quick context: notes.txt is the file I'm using.\nAssistant: Noted: notes.txt. What's the task?\nUser: view it?", "completion": "You said notes.txt, so less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: I have a container called nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I stop a container?", "completion": "On Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Since the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I list running containers?", "completion": "Since you're on Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I create a virtual environment?", "completion": "Since you're on Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I read an error message?", "completion": "Because you're low on energy, I'll give you the simple version — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: How do I count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Fedora, ps lists running processes. Run `ps aux`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a bug?", "completion": "Since you're just starting out, I'll keep this simple — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check running processes?", "completion": "Because you're using macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Quick context: my branch is feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: What's the command to rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "On macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "On Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to enter a container shell — what should I run?", "completion": "Since you're on Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Since the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I update the system?", "completion": "On macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Understood — 22. What should we do next?\nUser: How do I change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Sam. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "Since you're on Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to check a service — what should I run?", "completion": "Because you're using macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to create a branch on this system?", "completion": "Because you're using Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Because a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check running processes — what should I run?", "completion": "On macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: Can you show me how to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: What's the command to open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Quick question: what's a good first project?", "completion": "Nice to meet you, Kai. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to check the repository status — what should I run?", "completion": "On Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: How do I connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: Let's talk about the logs directory.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I search text in files?", "completion": "Because you're using Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: What's the command to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to push my commits on this system?", "completion": "Given that you're on Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Got it — build. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Logan. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Quick context: I'm inside docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: Can you show me how to list its files?", "completion": "Since you mentioned docs, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Quick context: my branch is staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: How do I switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "You said root owns the file, so you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Charlie. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I upgrade pip?", "completion": "Given that you're on Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: What's the command to stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you mentioned you're tired, let's keep this short and practical — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: What's the command to make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: Can you show me how to connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Given that you're a beginner, here's a plain explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Alex. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I search text in files?", "completion": "Given that you're on Fedora, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Jamie. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Alex. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: Can you show me how to check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: what is a loop?", "completion": "Nice to meet you, Jamie. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "Given that you're on Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: what is an array?", "completion": "Because you're new to this, let's start with the basics — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to copy a file into a container — what should I run?", "completion": "Given that you're on Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Noted: deploy.sh. What's the task?\nUser: make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Understood — venv. What should we do next?\nUser: What's the command to remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what's a good first project?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check disk usage on this system?", "completion": "On Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to search text in files — what should I run?", "completion": "On macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: My command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Understood — data.csv. What should we do next?\nUser: Can you show me how to count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Hello, Quinn! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: What's the command to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to run a script?", "completion": "Since you're on Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: How do I merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: I have a container called web-app.\nAssistant: Noted: web-app. What's the task?\nUser: What's the command to view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: what is a loop?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to install a package on this system?", "completion": "On Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what should I learn first?", "completion": "Because you're low on energy, I'll give you the simple version — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: Can you show me how to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "On Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Understood — main.go. What should we do next?\nUser: Can you show me how to run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I search text in files?", "completion": "On Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Riley. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Charlie. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I search text in files?", "completion": "On Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: How do I follow it?", "completion": "You said server.log, so tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I practice coding?", "completion": "Because you're new to this, let's start with the basics — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: How do I kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: Can you show me how to restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to check the Python version?", "completion": "Since you're on Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Since an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: I'm working in the project-alpha folder.\nAssistant: Noted: project-alpha. What's the task?\nUser: compress it?", "completion": "You said project-alpha, so tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I find large files?", "completion": "Given that you're on Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: I'm working on the file app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what should I learn first?", "completion": "Given that you've had a long day, I'll keep this brief — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I use the terminal?", "completion": "Given that you've had a long day, I'll keep this brief — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: What's the command to view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to check disk usage?", "completion": "On macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: what is a variable?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Let's talk about container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: What's the command to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to see open ports?", "completion": "Since you're on macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: Quick context: I'm inside tmp.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: How do I clean it?", "completion": "Since you mentioned tmp, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what's a good first project?", "completion": "Since you're just starting out, I'll keep this simple — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "On Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Because you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I update the system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: clean it?", "completion": "You said tmp, so find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: What's the command to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: I'm on branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: Can you show me how to delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: What's the command to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Since it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is a variable?", "completion": "Given that you've had a long day, I'll keep this brief — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: what should I learn first?", "completion": "Nice to meet you, Emerson. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I install a package?", "completion": "Given that you're on Python, pip installs Python packages. The command is `pip install package-name`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Noted: 6379. What's the task?\nUser: Can you show me how to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Emerson. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "On Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: I have a folder called docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Hello, Finley! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Finley. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The service is running on port 22.\nAssistant: Understood — 22. What should we do next?\nUser: change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is a bug?", "completion": "You said you're exhausted, so here's the shortest useful explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Dakota. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Noted: 5432. What's the task?\nUser: Can you show me how to test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: How do I view its logs?", "completion": "You said web-app, so docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I find large files?", "completion": "Since you're on Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check a service?", "completion": "Since you're on Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Quick question: how do I debug my code?", "completion": "Nice to meet you, Taylor. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to run a script — what should I run?", "completion": "On Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Given that the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: Can you show me how to push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: What's the command to forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: what is a loop?", "completion": "Good to meet you, Casey. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "On macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. Run `pip install package-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "On Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Noted: 6379. What's the task?\nUser: How do I connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to check container resource usage?", "completion": "Since you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to remove an image?", "completion": "Since you're on Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: How do I clean it?", "completion": "You said tmp, so find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Understood — notes.txt. What should we do next?\nUser: Can you show me how to view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Jamie. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Since the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: Quick context: the container is redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: What's the command to stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hi, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Kai. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: Can you show me how to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I undo the last commit?", "completion": "Because you're using Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: What's the command to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check running processes?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to install a package?", "completion": "On Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Since you're on Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "On Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I practice coding?", "completion": "Given that you've had a long day, I'll keep this brief — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "Given that you're on Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "On Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "You said the remote rejected your credentials, so refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I check container resource usage?", "completion": "Because you're using Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: how do I ask for help?", "completion": "Given that you're a beginner, here's a plain explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I use the terminal?", "completion": "Since you're learning from scratch, I'll avoid jargon — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: How do I restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Understood — main. What should we do next?\nUser: How do I pull the latest?", "completion": "You said main, so git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Jesse. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: the container is redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: Can you show me how to stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I search text in files?", "completion": "Because you're using macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: what is a function?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The file I'm dealing with is data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: How do I count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Ubuntu, apt handles package updates. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to view a container's logs on this system?", "completion": "Because you're using Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I practice coding?", "completion": "You said you're exhausted, so here's the shortest useful explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is a function?", "completion": "Since you mentioned you're tired, let's keep this short and practical — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Hayden. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "Given that you're on Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I have a file called data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: Can you show me how to count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: what is a loop?", "completion": "Good to meet you, Harper. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a function?", "completion": "Because you're low on energy, I'll give you the simple version — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I list running containers?", "completion": "Because you're using Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I view the history?", "completion": "On Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I read an error message?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: what is a function?", "completion": "Nice to meet you, Charlie. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Jordan. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: What's the command to push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: What's the command to clean it?", "completion": "Since you mentioned tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: what should I learn first?", "completion": "Nice to meet you, Taylor. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I check disk usage?", "completion": "On Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm on branch main.\nAssistant: Noted: main. What's the task?\nUser: pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I install a package?", "completion": "Since you're on Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: how do I debug my code?", "completion": "Good to meet you, Taylor. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: How do I follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I check a service?", "completion": "On macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I install a package?", "completion": "Given that you're on Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to list installed packages?", "completion": "Given that you're on Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: Port 3000 is the one I care about.\nAssistant: Noted: 3000. What's the task?\nUser: check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "On Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: What's the command to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to commit my changes?", "completion": "Because you're using Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Understood — assets. What should we do next?\nUser: Can you show me how to copy it?", "completion": "You said assets, so cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: Can you show me how to rebase it?", "completion": "You said feature/api, so git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: How do I forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I check running processes?", "completion": "On Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: What's the command to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I read an error message?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "On Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is git?", "completion": "Since you're just starting out, I'll keep this simple — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I use the terminal?", "completion": "Since you're just starting out, I'll keep this simple — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check running processes — what should I run?", "completion": "On Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Riley. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: My script won't run, can you help?\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to push my commits?", "completion": "Given that you're on Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to find large files?", "completion": "On Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: Can you show me how to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: Can you show me how to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to check the Python version on this system?", "completion": "Because you're using Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: What's the command to view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is a loop?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: Quick question: what's a good first project?", "completion": "Nice to meet you, Emerson. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: Can you show me how to scan it for a service?", "completion": "You said 9000, so nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: I have a folder called src.\nAssistant: Got it — src. What do you want to do with it?\nUser: How do I search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Fedora, systemd controls services. Run `systemctl status service-name`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: Can you show me how to tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: I have a folder called assets.\nAssistant: Understood — assets. What should we do next?\nUser: What's the command to copy it?", "completion": "Since you mentioned assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Understood — index.html. What should we do next?\nUser: Can you show me how to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is an array?", "completion": "Since you're just starting out, I'll keep this simple — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to run a script — what should I run?", "completion": "Given that you're on Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to create a virtual environment?", "completion": "Given that you're on Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: Can you show me how to stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I list installed packages?", "completion": "Since you're on Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: Quick context: the container is test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: Can you show me how to remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I practice coding?", "completion": "You said you're exhausted, so here's the shortest useful explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: How do I view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "On Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "On Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Noted: 443. What's the task?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check running processes?", "completion": "Because you're using Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: I'm working with port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Because you're new to this, let's start with the basics — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I freeze my dependencies?", "completion": "On Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I check running processes?", "completion": "Because you're using macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "On Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what should I learn first?", "completion": "Since you're learning from scratch, I'll avoid jargon — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Noted: build. What's the task?\nUser: What's the command to delete it?", "completion": "You said build, so rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: What's the command to count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: Can you show me how to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I find large files?", "completion": "On Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: what is a variable?", "completion": "Nice to meet you, Emerson. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I search text in files?", "completion": "Given that you're on macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I search text in files?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Noted: src. What's the task?\nUser: search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: I have a folder called docs.\nAssistant: Noted: docs. What's the task?\nUser: How do I list its files?", "completion": "You said docs, so ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Quick context: I'm inside project-alpha.\nAssistant: Understood — project-alpha. What should we do next?\nUser: Can you show me how to compress it?", "completion": "You said project-alpha, so tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I install a package?", "completion": "Given that you're on Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "On macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "On Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. Run `df -h`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Understood — 22. What should we do next?\nUser: What's the command to change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: Quick context: the container is redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: What's the command to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I find large files?", "completion": "On macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I install a package?", "completion": "Given that you're on Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Given that you're on Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: Quick context: my branch is feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: What's the command to rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Kai. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "On macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Since an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Understood — venv. What should we do next?\nUser: Can you show me how to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "Given that you're on Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Let's talk about the project-alpha directory.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: How do I compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to list installed packages — what should I run?", "completion": "On Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Taylor. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Understood — venv. What should we do next?\nUser: What's the command to remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: Can you show me how to inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Given that the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: What's the command to view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Got it — src. What do you want to do with it?\nUser: search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Fedora, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Understood — main.go. What should we do next?\nUser: What's the command to run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: tag it?", "completion": "You said release-1.2, so git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I copy a file into a container?", "completion": "Given that you're on Docker, docker cp copies files in and out. Use `docker cp file.txt container-name:/path/` for that."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Since you're just starting out, I'll keep this simple — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I ask for help?", "completion": "Since you're learning from scratch, I'll avoid jargon — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to push my commits — what should I run?", "completion": "On Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Let's talk about server.log — it's a file I need to handle.\nAssistant: Noted: server.log. What's the task?\nUser: How do I follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Hello, Finley! What's on your mind?\nUser: what is a function?", "completion": "Nice to meet you, Finley. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to update the system — what should I run?", "completion": "On Ubuntu, apt handles package updates. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I have something listening on port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: How do I check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: What's the command to test the database port?", "completion": "You said 5432, so nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: Can you show me how to compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: What's the command to view its logs?", "completion": "You said web-app, so docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: How do I restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check a service?", "completion": "Given that you're on Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I find large files?", "completion": "On Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to copy a file into a container on this system?", "completion": "On Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to stash my work?", "completion": "Since you're on Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to list installed packages?", "completion": "On Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: What's the command to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I'm working with port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: What's the command to change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I update the system?", "completion": "On macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Since an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "On Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to see open ports?", "completion": "On Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to create a branch?", "completion": "Given that you're on Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I upgrade pip?", "completion": "Given that you're on Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: scan it for a service?", "completion": "You said 9000, so nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Got it — main. What do you want to do with it?\nUser: How do I pull the latest?", "completion": "You said main, so git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: Can you show me how to push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I install a package?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: I have a folder called venv.\nAssistant: Got it — venv. What do you want to do with it?\nUser: remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: My command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: The directory I'm dealing with is src.\nAssistant: Got it — src. What do you want to do with it?\nUser: How do I search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check disk usage?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Dakota. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Avery. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I view the history?", "completion": "Given that you're on Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I update the system?", "completion": "On Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: What's the command to make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: how do I debug my code?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to search text in files — what should I run?", "completion": "On Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about branch main.\nAssistant: Noted: main. What's the task?\nUser: What's the command to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: The directory I'm dealing with is src.\nAssistant: Understood — src. What should we do next?\nUser: Can you show me how to search inside it?", "completion": "You said src, so grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to view the history — what should I run?", "completion": "On Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Taylor. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Since you're on Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Understood — app.db. What should we do next?\nUser: What's the command to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check running processes?", "completion": "Given that you're on Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: Can you show me how to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "On Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I push my commits?", "completion": "On Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: how do I stay motivated?", "completion": "Good to meet you, Jordan. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I upgrade pip?", "completion": "On Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Kai. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: The service is running on port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: Can you show me how to restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Jamie. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Harper. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I find large files?", "completion": "Given that you're on Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Noted: photo.jpg. What's the task?\nUser: Can you show me how to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to install a package?", "completion": "Since you're on macOS, Homebrew is the usual package manager. You can do it with `brew install package-name`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm on branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: Can you show me how to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: I'm working with the container redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: Can you show me how to stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Understood — docs. What should we do next?\nUser: What's the command to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Since a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I find large files?", "completion": "On Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: I have a file called server.log.\nAssistant: Noted: server.log. What's the task?\nUser: What's the command to follow it?", "completion": "You said server.log, so tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to copy a file into a container — what should I run?", "completion": "On Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: What's the command to check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Charlie. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Understood — build. What should we do next?\nUser: delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: restart it?", "completion": "You said postgres-db, so docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: How do I check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Casey. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I use the terminal?", "completion": "Since you're just starting out, I'll keep this simple — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: What's the command to forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Hello, Jesse! What's on your mind?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Jesse. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: how do I use the terminal?", "completion": "Good to meet you, Casey. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "On Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Hayden. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to create a branch?", "completion": "On Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to install a package?", "completion": "On macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Jordan. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "On Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. The command you need is `df -h`."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Got it — venv. What do you want to do with it?\nUser: What's the command to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: How do I delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I find large files?", "completion": "On Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Noted: index.html. What's the task?\nUser: How do I open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: Quick context: port 6379 is the one I'm using.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: How do I connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: how do I practice coding?", "completion": "Good to meet you, Charlie. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "Since you're on Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Since an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Understood — build. What should we do next?\nUser: Can you show me how to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on macOS, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "On Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I remove an image?", "completion": "Since you're on Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to list running containers on this system?", "completion": "On Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: what is a variable?", "completion": "Good to meet you, Hayden. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to list running containers on this system?", "completion": "Given that you're on Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is a function?", "completion": "You said you're exhausted, so here's the shortest useful explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Quinn. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: port 5000 is the one I'm using.\nAssistant: Understood — 5000. What should we do next?\nUser: How do I restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Got it — src. What do you want to do with it?\nUser: What's the command to search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Got it — 22. What do you want to do with it?\nUser: change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: How do I check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Harper. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I find large files?", "completion": "Given that you're on Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Since a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I create a branch?", "completion": "Given that you're on Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Debian, apt performs the upgrade. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Taylor. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. Run `ping host-name`."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Noted: 22. What's the task?\nUser: Can you show me how to change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I have a container called web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: view its logs?", "completion": "You said web-app, so docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I stash my work?", "completion": "Because you're using Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "Since you're on Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: What's the command to remove it?", "completion": "You said test-runner, so docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I check running processes?", "completion": "On macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I list installed packages?", "completion": "Since you're on Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I create a branch?", "completion": "Because you're using Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Got it — assets. What do you want to do with it?\nUser: How do I copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to commit my changes?", "completion": "Given that you're on Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: Let's talk about server.log — it's a file I need to handle.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: Can you show me how to follow it?", "completion": "You said server.log, so tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Because you're low on energy, I'll give you the simple version — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to stop a container?", "completion": "Since you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to enter a container shell?", "completion": "Since you're on Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to list installed packages on this system?", "completion": "Given that you're on Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "On Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Since the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I create a virtual environment?", "completion": "On Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to see open ports — what should I run?", "completion": "On Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I find large files?", "completion": "Because you're using Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "You said the package isn't installed, so install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check disk usage on this system?", "completion": "On Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check a service?", "completion": "On macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: What's the command to merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "On Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "On Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: What's the command to extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I see open ports?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to update the system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "Because you're using Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I find large files?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: I have a file called index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: How do I open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Since you mentioned you're tired, let's keep this short and practical — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what is a loop?", "completion": "Since you're just starting out, I'll keep this simple — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: I'm on branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to copy a file into a container?", "completion": "Given that you're on Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Help — my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I search text in files?", "completion": "Since you're on Fedora, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: What's the command to scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I check container resource usage?", "completion": "Given that you're on Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Understood — 443. What should we do next?\nUser: check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to check the Python version?", "completion": "On Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check a service?", "completion": "Because you're using Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: Can you help me understand this: what is a variable?", "completion": "Good to meet you, Sam. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Got it — src. What do you want to do with it?\nUser: How do I search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I learn to code?", "completion": "Because you're low on energy, I'll give you the simple version — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Noted: 22. What's the task?\nUser: What's the command to change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I view the history?", "completion": "On Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: Let's talk about container cache.\nAssistant: Noted: cache. What's the task?\nUser: copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "On Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Jordan. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I update the system?", "completion": "Because you're using Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to see open ports — what should I run?", "completion": "On Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Got it — build. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to install a package on this system?", "completion": "On macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Noted: 8080. What's the task?\nUser: Can you show me how to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a loop?", "completion": "Because you're low on energy, I'll give you the simple version — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to copy a file into a container — what should I run?", "completion": "Because you're using Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: How do I make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Ubuntu, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I remove an image?", "completion": "Given that you're on Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "Given that you're on Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: How do I clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I pull the latest changes?", "completion": "Because you're using Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I find large files?", "completion": "Since you're on Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I stay motivated?", "completion": "Since you're learning from scratch, I'll avoid jargon — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I check a service?", "completion": "On Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Understood — app.py. What should we do next?\nUser: Can you show me how to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Noted: 22. What's the task?\nUser: How do I change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what should I learn first?", "completion": "Because you're low on energy, I'll give you the simple version — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: how do I use the terminal?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Noted: build. What's the task?\nUser: Can you show me how to delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "On Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: how do I ask for help?", "completion": "Since you're just starting out, I'll keep this simple — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "Given that you're on Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Understood — 5432. What should we do next?\nUser: How do I test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I install a package?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to upgrade pip — what should I run?", "completion": "Because you're using Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: what is a loop?", "completion": "Given that you're a beginner, here's a plain explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: What's the command to view it?", "completion": "You said notes.txt, so less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to run my tests?", "completion": "Because you're using Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: Can you show me how to view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: What's the command to push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I check a service?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "On Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: I'm working with port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: How do I check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: how do I learn to code?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Since you're just starting out, I'll keep this simple — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Because you lack write permission, grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to find large files?", "completion": "Given that you're on macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Because root owns the file, you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Dakota. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: Can you show me how to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Got it — assets. What do you want to do with it?\nUser: copy it?", "completion": "You said assets, so cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "On Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "On Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to search text in files?", "completion": "On macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I stash my work?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I update the system?", "completion": "On macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what's a good first project?", "completion": "Given that you're a beginner, here's a plain explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "Given that you're on Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to install a package — what should I run?", "completion": "On Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: Quick context: I'm inside tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: Can you show me how to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: How do I run it?", "completion": "You said app.py, so Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "You said root owns the file, so you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: Quick context: config.json is the file I'm using.\nAssistant: Understood — config.json. What should we do next?\nUser: How do I pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. Run `df -h`."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is a variable?", "completion": "Because you're low on energy, I'll give you the simple version — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: What's the command to check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Because you're using Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to commit my changes on this system?", "completion": "Because you're using Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Jordan. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Charlie. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is a function?", "completion": "Since you're just starting out, I'll keep this simple — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I check disk usage?", "completion": "Because you're using Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Quick context: data.csv is the file I'm using.\nAssistant: Noted: data.csv. What's the task?\nUser: How do I count its rows?", "completion": "You said data.csv, so wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I debug my code?", "completion": "Because you're low on energy, I'll give you the simple version — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "Since you're on Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: How do I view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Quick question: how do I learn to code?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: Can you show me how to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Alex. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "You said there's a quoting or syntax mistake, so the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: What's the command to scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I update the system?", "completion": "Given that you're on Ubuntu, apt handles package updates. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I expose a port?", "completion": "Since you're on Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "Given that you're on Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Because you're using Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Noted: assets. What's the task?\nUser: What's the command to copy it?", "completion": "Since you mentioned assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: what's a good first project?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "On Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I expose a port?", "completion": "Since you're on Docker, docker run publishes ports with -p. The command is `docker run -p 8080:80 image-name`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: I've got a file named archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: How do I make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: I have something listening on port 3000.\nAssistant: Understood — 3000. What should we do next?\nUser: check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to freeze my dependencies — what should I run?", "completion": "On Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "On Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "Because you're using Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to find large files?", "completion": "On Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I search text in files?", "completion": "Because you're using Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check disk usage?", "completion": "On macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: How do I compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I upgrade pip?", "completion": "Because you're using Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Because you're using Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I've got a file named archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Jordan. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I update the system?", "completion": "On macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "On Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: how do I debug my code?", "completion": "Nice to meet you, Morgan. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is an array?", "completion": "Because you're new to this, let's start with the basics — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to remove an image?", "completion": "Since you're on Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Hayden. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Because you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: Can you show me how to inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: The folder I'm using is tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: What's the command to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to run a script?", "completion": "Because you're using Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: what is a loop?", "completion": "Good to meet you, Jamie. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: Can you show me how to copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Noted: photo.jpg. What's the task?\nUser: What's the command to check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Because a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to view a container's logs — what should I run?", "completion": "Because you're using Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I see open ports?", "completion": "On Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I install a package?", "completion": "Since you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: Can you show me how to test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I search text in files?", "completion": "On Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to create a virtual environment — what should I run?", "completion": "On Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: How do I delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. Run `df -h`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: Can you show me how to inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is an array?", "completion": "Because you're low on energy, I'll give you the simple version — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: The container I'm using is redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: How do I stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: How do I forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Understood — server.log. What should we do next?\nUser: Can you show me how to follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: The container I'm using is redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I stash my work?", "completion": "Since you're on Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "On Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Noted: venv. What's the task?\nUser: How do I remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Debian, apt performs the upgrade. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Noted: build. What's the task?\nUser: How do I delete it?", "completion": "You said build, so rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to check running processes?", "completion": "On Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I remove an image?", "completion": "Since you're on Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: how do I use the terminal?", "completion": "Since you're just starting out, I'll keep this simple — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to check disk usage on this system?", "completion": "On Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a bug?", "completion": "You said you're exhausted, so here's the shortest useful explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Finley. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: The file I'm dealing with is data.csv.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: count its rows?", "completion": "You said data.csv, so wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check disk usage?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Understood — 443. What should we do next?\nUser: What's the command to check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: what is an array?", "completion": "Given that you're a beginner, here's a plain explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "Because you're using Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "Since you're on Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: Can you show me how to check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Since you're just starting out, I'll keep this simple — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is git?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Given that the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: Can you show me how to kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: How do I count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Given that you're on Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I check container resource usage?", "completion": "Given that you're on Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: what's a good first project?", "completion": "Good to meet you, Parker. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: How do I delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to push my commits — what should I run?", "completion": "Given that you're on Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "On Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to stop a container?", "completion": "On Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. Run `df -h`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: Can you show me how to follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: Quick context: port 6379 is the one I'm using.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: Can you show me how to connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: How do I check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you're learning from scratch, I'll avoid jargon — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I push my commits?", "completion": "Because you're using Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: Can you show me how to restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "Given that you're on Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: The branch I'm using is release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: What's the command to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: What's the command to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: How do I check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: Can you show me how to connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "Because you're using Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to stash my work on this system?", "completion": "Because you're using Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I list running containers?", "completion": "Given that you're on Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Noted: app.py. What's the task?\nUser: What's the command to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: How do I scan it for a service?", "completion": "You said 9000, so nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: what should I learn first?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to check the repository status?", "completion": "Given that you're on Git, git status summarizes changes. You can do it with `git status`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "Because you're using Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Because you're using macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: how do I practice coding?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Since you're learning from scratch, I'll avoid jargon — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: My script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check a service?", "completion": "Because you're using macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I find large files?", "completion": "Since you're on Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is an array?", "completion": "Since you're just starting out, I'll keep this simple — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to check the repository status?", "completion": "Since you're on Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Noted: photo.jpg. What's the task?\nUser: check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: how do I debug my code?", "completion": "Nice to meet you, Parker. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: Can you show me how to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: I have a folder called build.\nAssistant: Noted: build. What's the task?\nUser: delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "Given that you're on Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I update the system?", "completion": "Given that you're on Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "Given that you're on Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I run a script?", "completion": "On Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: How do I push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "Because you're using Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I run my tests?", "completion": "Since you're on Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: how do I use the terminal?", "completion": "Since you're learning from scratch, I'll avoid jargon — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: how do I practice coding?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "Because you're using Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Because root owns the file, you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to list installed packages — what should I run?", "completion": "Because you're using Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "On Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: Can you show me how to follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: How do I stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: What's the command to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Because you're using Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is git?", "completion": "Given that you've had a long day, I'll keep this brief — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Alex. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Because the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: How do I count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Emerson. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: How do I remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I install a package?", "completion": "On Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I ask for help?", "completion": "Since you're just starting out, I'll keep this simple — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Jordan. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: what is a function?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to undo the last commit?", "completion": "Given that you're on Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "On Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: switch to it?", "completion": "You said staging, so git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Logan. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to run my tests on this system?", "completion": "Since you're on Python, pytest discovers and runs tests. Use `pytest` for that."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a variable?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "On Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I update the system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: Can you show me how to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to push my commits?", "completion": "Because you're using Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: Can you show me how to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Hello, Finley! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Noted: staging. What's the task?\nUser: Can you show me how to switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "Given that you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: I have a folder called docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: How do I list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Riley. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Alex. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: Can you show me how to remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Given that you're on macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Understood — build. What should we do next?\nUser: Can you show me how to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "On Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Since you're on Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to list installed packages — what should I run?", "completion": "Since you're on Python, pip list shows installed packages. You can do it with `pip list`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to list running containers?", "completion": "Because you're using Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: How do I open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to run a script — what should I run?", "completion": "On Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: What's the command to rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: How do I delete it?", "completion": "You said experiment, so git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Got it — docs. What do you want to do with it?\nUser: What's the command to list its files?", "completion": "You said docs, so ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Since another process owns the port, find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to push my commits — what should I run?", "completion": "Because you're using Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: I'm working with port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: How do I check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: what should I learn first?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Understood — 9000. What should we do next?\nUser: scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "Because you're using Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "Because you're using Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to list installed packages on this system?", "completion": "On Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I update the system?", "completion": "Since you're on Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to update the system?", "completion": "Given that you're on macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "On Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Understood — build. What should we do next?\nUser: Can you show me how to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: I'm working with port 443.\nAssistant: Noted: 443. What's the task?\nUser: check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: What's the command to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to check the repository status — what should I run?", "completion": "Because you're using Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "You said inodes are exhausted, so remove many small files. Run `df -i`."} +{"prompt": "User: Quick context: the container is redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: What's the command to stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: The directory I'm dealing with is logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: Can you show me how to check its size?", "completion": "You said logs, so du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "On Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check a service?", "completion": "Because you're using Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: what is a function?", "completion": "Because you're low on energy, I'll give you the simple version — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Logan. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: Can you show me how to push it?", "completion": "You said hotfix/payment, so git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "Because you're using Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I run a script?", "completion": "Since you're on Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is an array?", "completion": "Given that you've had a long day, I'll keep this brief — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Noted: experiment. What's the task?\nUser: How do I delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: Can you show me how to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to run a script on this system?", "completion": "Given that you're on Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "On Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "Since you're on Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check disk usage — what should I run?", "completion": "On Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "Because you're using Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: Can you show me how to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Given that inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: I have a file called app.db.\nAssistant: Noted: app.db. What's the task?\nUser: What's the command to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: How do I extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to run my tests — what should I run?", "completion": "Given that you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Noted: 9000. What's the task?\nUser: scan it for a service?", "completion": "You said 9000, so nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is a function?", "completion": "Given that you've had a long day, I'll keep this brief — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Understood — main.go. What should we do next?\nUser: How do I run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. Use `df -h` to fix it."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "On Python, pip freeze lists installed versions. Run `pip freeze > requirements.txt`."} +{"prompt": "User: My service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I ask for help?", "completion": "You said you're exhausted, so here's the shortest useful explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: I just started the container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: What's the command to restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I undo the last commit?", "completion": "Given that you're on Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: how do I practice coding?", "completion": "Good to meet you, Sam. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Quinn. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: How do I run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Charlie. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Because you're new to this, let's start with the basics — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: I have a folder called logs.\nAssistant: Understood — logs. What should we do next?\nUser: How do I check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: notes.txt is the file I'm using.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: Can you show me how to view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: The folder I'm using is docs.\nAssistant: Noted: docs. What's the task?\nUser: What's the command to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "Given that you're on Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "On Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Given that the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: How do I test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "On Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: How do I unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: How do I kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Noted: 6379. What's the task?\nUser: Can you show me how to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Quick context: data.csv is the file I'm using.\nAssistant: Noted: data.csv. What's the task?\nUser: count its rows?", "completion": "You said data.csv, so wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Since you mentioned you're tired, let's keep this short and practical — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "On Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "On Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Quick context: I'm inside docs.\nAssistant: Noted: docs. What's the task?\nUser: Can you show me how to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: How do I push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I stop a container?", "completion": "On Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Since an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I freeze my dependencies?", "completion": "Given that you're on Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: What's the command to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what's a good first project?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Noted: app.py. What's the task?\nUser: What's the command to run it?", "completion": "You said app.py, so Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Understood — 443. What should we do next?\nUser: check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I find large files?", "completion": "Because you're using Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I check a service?", "completion": "Given that you're on Debian, systemctl reports service state. The command is `systemctl status service-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check a service?", "completion": "On Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to install a package?", "completion": "On macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I push my commits?", "completion": "Given that you're on Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Understood — 443. What should we do next?\nUser: How do I check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Nice to meet you, Sam. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I read an error message?", "completion": "Given that you're a beginner, here's a plain explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: merge it into main?", "completion": "You said feature/login, so git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to list running containers?", "completion": "Since you're on Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: how do I learn to code?", "completion": "Nice to meet you, Sam. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check a service?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Casey. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: How do I kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is a bug?", "completion": "Since you mentioned you're tired, let's keep this short and practical — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check a service — what should I run?", "completion": "Because you're using macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to freeze my dependencies?", "completion": "Because you're using Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Jordan. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Jordan. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I view a container's logs?", "completion": "Since you're on Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Jamie. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Because you're using macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: how do I stay motivated?", "completion": "Good to meet you, Dakota. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: I have a container called nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: Can you show me how to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: Can you show me how to push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: How do I merge it into main?", "completion": "You said feature/login, so git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: Can you show me how to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: Can you show me how to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: What's the command to restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I see open ports?", "completion": "On Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is git?", "completion": "Given that you've had a long day, I'll keep this brief — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I have a folder called build.\nAssistant: Noted: build. What's the task?\nUser: How do I delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Let's talk about the tmp directory.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: What's the command to clean it?", "completion": "Since you mentioned tmp, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "Because you're using Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to run my tests?", "completion": "Because you're using Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Let's talk about branch main.\nAssistant: Got it — main. What do you want to do with it?\nUser: Can you show me how to pull the latest?", "completion": "You said main, so git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Fedora, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Taylor. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: Can you show me how to test the database port?", "completion": "You said 5432, so nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: What's the command to push my changes there?", "completion": "You said dev, so git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. Run `command | less`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what's a good first project?", "completion": "Since you're learning from scratch, I'll avoid jargon — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I freeze my dependencies?", "completion": "On Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: what should I learn first?", "completion": "Because you're low on energy, I'll give you the simple version — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: what should I learn first?", "completion": "Nice to meet you, Taylor. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: What's the command to count its rows?", "completion": "You said data.csv, so wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Given that you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Nice to meet you, Riley. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I ask for help?", "completion": "Since you mentioned you're tired, let's keep this short and practical — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Understood — docs. What should we do next?\nUser: How do I list its files?", "completion": "You said docs, so ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Taylor. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "On Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I'm working with the container redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: What's the command to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Port 27017 is the one I care about.\nAssistant: Understood — 27017. What should we do next?\nUser: How do I check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to expose a port on this system?", "completion": "Given that you're on Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "On Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is an array?", "completion": "You said you're exhausted, so here's the shortest useful explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Understood — app.db. What should we do next?\nUser: How do I inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: What's the command to check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: I have a folder called logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Given that the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Charlie. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Hello, Alex! What's on your mind?\nUser: what is a variable?", "completion": "Good to meet you, Alex. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: How do I check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Got it — 443. What do you want to do with it?\nUser: check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: I'm working with port 22.\nAssistant: Noted: 22. What's the task?\nUser: Can you show me how to change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to check a service?", "completion": "Because you're using Fedora, systemd controls services. Run `systemctl status service-name`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is a variable?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with port 5000.\nAssistant: Understood — 5000. What should we do next?\nUser: What's the command to restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is a loop?", "completion": "Given that you've had a long day, I'll keep this brief — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with the container web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: Can you show me how to view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Noted: build. What's the task?\nUser: How do I delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: Can you show me how to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: I'm working with port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: How do I check what's listening?", "completion": "You said 3000, so ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I stop a container?", "completion": "Since you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what should I learn first?", "completion": "Given that you've had a long day, I'll keep this brief — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: What's the command to stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I see open ports?", "completion": "On Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: Can you show me how to merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is a function?", "completion": "Given that you've had a long day, I'll keep this brief — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what is a variable?", "completion": "Given that you're a beginner, here's a plain explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "On Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to check container resource usage on this system?", "completion": "Given that you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I check running processes?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I run a script?", "completion": "On Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. Run `pip install package-name`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check a service?", "completion": "On Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Hello, Dakota! What's on your mind?\nUser: what is a loop?", "completion": "Good to meet you, Dakota. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: Can you show me how to scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Given that the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what should I learn first?", "completion": "Because you're low on energy, I'll give you the simple version — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Noted: logs. What's the task?\nUser: How do I check its size?", "completion": "You said logs, so du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "Since you're on Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I install a package?", "completion": "Because you're using macOS, Homebrew is the usual package manager. You can do it with `brew install package-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I install a package?", "completion": "On Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: how do I debug my code?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Since you're learning from scratch, I'll avoid jargon — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to expose a port on this system?", "completion": "Because you're using Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: The service is running on port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: Can you show me how to restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "Since you're on Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to push my commits — what should I run?", "completion": "Given that you're on Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I check disk usage?", "completion": "Because you're using Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to check running processes?", "completion": "Because you're using macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Quick context: config.json is the file I'm using.\nAssistant: Noted: config.json. What's the task?\nUser: How do I pretty-print it?", "completion": "You said config.json, so jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: How do I list its files?", "completion": "Since you mentioned docs, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I see open ports?", "completion": "On Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I view a container's logs?", "completion": "Because you're using Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: What's the command to remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: what is a loop?", "completion": "Nice to meet you, Casey. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "On Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to check a service?", "completion": "Since you're on macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I install a package?", "completion": "Since you're on Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "Since you're on Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Good to meet you, Harper. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Understood — app.py. What should we do next?\nUser: Can you show me how to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: what is a function?", "completion": "Good to meet you, Kai. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Noted: app.py. What's the task?\nUser: Can you show me how to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to check container resource usage on this system?", "completion": "On Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Since the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: what is a loop?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Noted: app.db. What's the task?\nUser: What's the command to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: what's a good first project?", "completion": "Nice to meet you, Finley. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Avery. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I practice coding?", "completion": "You said you're exhausted, so here's the shortest useful explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I check a service?", "completion": "Because you're using Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: Can you show me how to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Let's talk about server.log — it's a file I need to handle.\nAssistant: Understood — server.log. What should we do next?\nUser: How do I follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to create a branch?", "completion": "Given that you're on Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: How do I rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Riley. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Given that you're on Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: how do I practice coding?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: push my changes there?", "completion": "You said dev, so git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Because you're new to this, let's start with the basics — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to commit my changes — what should I run?", "completion": "Given that you're on Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: how do I practice coding?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a variable?", "completion": "Given that you've had a long day, I'll keep this brief — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "Given that you're on Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: What's the command to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: What's the command to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: What's the command to follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: What's the command to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Given that you've had a long day, I'll keep this brief — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I see open ports?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Let's talk about container cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: How do I copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I install a package?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: I'm working with port 443.\nAssistant: Understood — 443. What should we do next?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: How do I switch to it?", "completion": "Since you mentioned staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: What's the command to unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is an array?", "completion": "Since you're just starting out, I'll keep this simple — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I copy a file into a container?", "completion": "Since you're on Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to run a script — what should I run?", "completion": "Given that you're on Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: How do I make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "On Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: The directory I'm dealing with is src.\nAssistant: Got it — src. What do you want to do with it?\nUser: search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Logan. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "Since you're on Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: what should I learn first?", "completion": "Given that you're a beginner, here's a plain explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I search text in files?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a variable?", "completion": "Given that you've had a long day, I'll keep this brief — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: Can you show me how to push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "Since you're on Git, git status summarizes changes. You can do it with `git status`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Jamie. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "Because you're using Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: I have a folder called venv.\nAssistant: Got it — venv. What do you want to do with it?\nUser: How do I remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: How do I check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: how do I stay motivated?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what should I learn first?", "completion": "Since you're learning from scratch, I'll avoid jargon — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to find large files on this system?", "completion": "On macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to enter a container shell on this system?", "completion": "Because you're using Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: What's the command to check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: what is a function?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Understood — staging. What should we do next?\nUser: What's the command to switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Alex. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: what's a good first project?", "completion": "Good to meet you, Sam. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: How do I inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Let's talk about branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: Can you show me how to push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: Can you show me how to unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Because systemd reports a failure, read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Understood — cache. What should we do next?\nUser: copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: What's the command to list its files?", "completion": "Since you mentioned docs, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: what should I learn first?", "completion": "You said you're exhausted, so here's the shortest useful explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I read an error message?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Noted: index.html. What's the task?\nUser: What's the command to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Hayden. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: test the database port?", "completion": "You said 5432, so nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: Can you show me how to inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: My command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "Since you're on Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to check the repository status?", "completion": "Since you're on Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I update the system?", "completion": "On Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Jesse. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: I'm on branch feature/api.\nAssistant: Thanks, I'll remember feature/api. How can I help?\nUser: Can you show me how to rebase it?", "completion": "You said feature/api, so git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "On Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: how do I use the terminal?", "completion": "Given that you're a beginner, here's a plain explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: How do I open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to push my commits?", "completion": "Because you're using Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Jordan. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: What's the command to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: How do I view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: I'm working in the project-alpha folder.\nAssistant: Noted: project-alpha. What's the task?\nUser: Can you show me how to compress it?", "completion": "You said project-alpha, so tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: how do I read an error message?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: What's the command to forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: How do I delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I just started the container postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: Can you show me how to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: What's the command to enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Kai. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a loop?", "completion": "Because you're low on energy, I'll give you the simple version — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: What's the command to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: The branch I'm using is dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: How do I push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is a loop?", "completion": "Given that you've had a long day, I'll keep this brief — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: How do I run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to remove an image on this system?", "completion": "Since you're on Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: How do I delete it?", "completion": "You said experiment, so git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: what's a good first project?", "completion": "Good to meet you, Jesse. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "Because you're using Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: Can you show me how to test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is an array?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Since you're just starting out, I'll keep this simple — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Got it — venv. What do you want to do with it?\nUser: Can you show me how to remove it?", "completion": "You said venv, so rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: What's the command to run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Noted: config.json. What's the task?\nUser: What's the command to pretty-print it?", "completion": "You said config.json, so jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I update the system?", "completion": "Because you're using Debian, apt performs the upgrade. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I have a file called app.py.\nAssistant: Understood — app.py. What should we do next?\nUser: What's the command to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: What's the command to change the SSH port?", "completion": "You said 22, so sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Logan. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "You said inodes are exhausted, so remove many small files. The command you need is `df -i`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "On Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Sam. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: What's the command to inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: The service is running on port 443.\nAssistant: Understood — 443. What should we do next?\nUser: How do I check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to install a package — what should I run?", "completion": "On Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I copy a file into a container?", "completion": "Since you're on Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: what is a variable?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I check running processes?", "completion": "Because you're using Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: My script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "On Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: what is a function?", "completion": "Since you mentioned you're tired, let's keep this short and practical — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Given that another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Given that you're a beginner, here's a plain explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Since the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: What's the command to copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: The service is running on port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: Can you show me how to restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Understood — server.log. What should we do next?\nUser: How do I follow it?", "completion": "You said server.log, so tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: I have a file called app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: How do I run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm working with port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: How do I scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Jamie. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Given that another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: How do I clean it?", "completion": "Since you mentioned tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Since you're just starting out, I'll keep this simple — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Since you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you're learning from scratch, I'll avoid jargon — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is a bug?", "completion": "You said you're exhausted, so here's the shortest useful explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: How do I extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to push my commits on this system?", "completion": "Since you're on Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: What's the command to run it?", "completion": "You said main.go, so go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: I've got a file named backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: What's the command to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "Because you're using Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: What's the command to check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Quick context: my branch is main.\nAssistant: Noted: main. What's the task?\nUser: pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what should I learn first?", "completion": "Since you're learning from scratch, I'll avoid jargon — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Jamie. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Noted: venv. What's the task?\nUser: remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Since the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: what's a good first project?", "completion": "Good to meet you, Jamie. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check running processes?", "completion": "Because you're using macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: I'm working in the project-alpha folder.\nAssistant: Understood — project-alpha. What should we do next?\nUser: How do I compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: What's the command to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I create a branch?", "completion": "Because you're using Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: I just checked out the branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: How do I merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Understood — assets. What should we do next?\nUser: What's the command to copy it?", "completion": "Since you mentioned assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what's a good first project?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Noted: server.log. What's the task?\nUser: How do I follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to install a package?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to commit my changes on this system?", "completion": "On Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: What's the command to view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Noted: index.html. What's the task?\nUser: What's the command to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I install a package?", "completion": "On Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I check container resource usage?", "completion": "Given that you're on Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to update the system?", "completion": "On Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Quick context: port 27017 is the one I'm using.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: What's the command to check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check running processes?", "completion": "Because you're using Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: view its logs?", "completion": "You said web-app, so docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I update the system?", "completion": "Because you're using Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Noted: 443. What's the task?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: How do I merge it into main?", "completion": "You said feature/login, so git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: how do I practice coding?", "completion": "Given that you're a beginner, here's a plain explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Understood — app.py. What should we do next?\nUser: run it?", "completion": "You said app.py, so Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I run a script?", "completion": "On Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Got it — main. What do you want to do with it?\nUser: Can you show me how to pull the latest?", "completion": "You said main, so git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: I just started the container web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: How do I view its logs?", "completion": "You said web-app, so docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Quick question: how do I learn to code?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Emerson. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is a variable?", "completion": "Given that you've had a long day, I'll keep this brief — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Given that the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I read an error message?", "completion": "Because you're low on energy, I'll give you the simple version — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to copy a file into a container — what should I run?", "completion": "On Docker, docker cp copies files in and out. Use `docker cp file.txt container-name:/path/` for that."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: What's the command to pretty-print it?", "completion": "You said config.json, so jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Quick context: data.csv is the file I'm using.\nAssistant: Noted: data.csv. What's the task?\nUser: What's the command to count its rows?", "completion": "You said data.csv, so wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Alex. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to check running processes — what should I run?", "completion": "On Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I ask for help?", "completion": "Since you're just starting out, I'll keep this simple — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: how do I practice coding?", "completion": "Nice to meet you, Jordan. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I read an error message?", "completion": "Since you're just starting out, I'll keep this simple — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I've got a file named archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: How do I unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: what's a good first project?", "completion": "Good to meet you, Charlie. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: notes.txt is the file I'm using.\nAssistant: Understood — notes.txt. What should we do next?\nUser: view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Hello, Kai! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: What's the command to forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to stash my work — what should I run?", "completion": "Because you're using Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Since you're just starting out, I'll keep this simple — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I stay motivated?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I search text in files?", "completion": "Because you're using Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: how do I ask for help?", "completion": "Because you're low on energy, I'll give you the simple version — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Noted: staging. What's the task?\nUser: What's the command to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: The service is running on port 3000.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: How do I check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Parker. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Jamie. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "On Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to create a virtual environment on this system?", "completion": "On Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what's a good first project?", "completion": "Since you're just starting out, I'll keep this simple — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: The service is running on port 3000.\nAssistant: Understood — 3000. What should we do next?\nUser: How do I check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Taylor. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to commit my changes?", "completion": "Given that you're on Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Understood — assets. What should we do next?\nUser: copy it?", "completion": "You said assets, so cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: Can you show me how to view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to check the repository status?", "completion": "Since you're on Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check disk usage?", "completion": "Since you're on Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I enter a container shell?", "completion": "On Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Morgan. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I have a container called cache.\nAssistant: Understood — cache. What should we do next?\nUser: How do I copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you're learning from scratch, I'll avoid jargon — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: What's the command to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I debug my code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: Can you show me how to remove it?", "completion": "You said test-runner, so docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check a service?", "completion": "On Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: I've got a file named main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: How do I run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: How do I switch to it?", "completion": "You said staging, so git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to check the repository status?", "completion": "Since you're on Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to enter a container shell?", "completion": "On Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I see open ports?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I have a container called web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Hi, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Hello, Logan! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Logan. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: What's the command to check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Noted: cache. What's the task?\nUser: Can you show me how to copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "Given that you're on Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I see open ports?", "completion": "On Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: How do I inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to list running containers on this system?", "completion": "On Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: The folder I'm using is docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: How do I list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Noted: 8080. What's the task?\nUser: kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: I have a file called app.py.\nAssistant: Understood — app.py. What should we do next?\nUser: Can you show me how to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Got it — build. What do you want to do with it?\nUser: How do I delete it?", "completion": "You said build, so rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Casey. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I've got a file named backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: Can you show me how to extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hi, I'm Kai.\nAssistant: Hello, Kai! What's on your mind?\nUser: what is a function?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "On Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: how do I stay motivated?", "completion": "Because you're new to this, let's start with the basics — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: what's a good first project?", "completion": "Nice to meet you, Charlie. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to push my commits — what should I run?", "completion": "On Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Noted: app.py. What's the task?\nUser: What's the command to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: How do I check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "Given that you're on Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: how do I stay motivated?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Given that the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: How do I connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is a variable?", "completion": "Because you're low on energy, I'll give you the simple version — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: What's the command to check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Debian, apt performs the upgrade. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: how do I learn to code?", "completion": "Nice to meet you, Kai. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: how do I learn to code?", "completion": "Nice to meet you, Parker. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is git?", "completion": "Given that you've had a long day, I'll keep this brief — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is an array?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "On Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to see open ports?", "completion": "Because you're using macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: How do I forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "Given that you're on Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "On Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: How do I check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: I just started the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: What's the command to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: How do I make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: The folder I'm using is tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: How do I clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Given that you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Help — my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Because systemd reports a failure, read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Charlie. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. Run `df -h`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Noted: dev. What's the task?\nUser: What's the command to push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "On Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to upgrade pip — what should I run?", "completion": "On Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "Because you're using Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: How do I pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Because you're using macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: how do I debug my code?", "completion": "Nice to meet you, Jordan. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: Help — my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Given that the filesystem is out of space, find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Debian, ps gives a process snapshot. Run `ps aux`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Noted: 8080. What's the task?\nUser: kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Got it — 443. What do you want to do with it?\nUser: How do I check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Since your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Understood — main.go. What should we do next?\nUser: How do I run it?", "completion": "You said main.go, so go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: how do I stay motivated?", "completion": "Good to meet you, Jesse. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: how do I practice coding?", "completion": "Since you mentioned you're tired, let's keep this short and practical — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Given that the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to copy a file into a container — what should I run?", "completion": "Since you're on Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Noted: docs. What's the task?\nUser: How do I list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Noted: venv. What's the task?\nUser: remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: I've got a file named backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: How do I extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to stop a container on this system?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Emerson. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Dakota. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: The directory I'm dealing with is src.\nAssistant: Understood — src. What should we do next?\nUser: Can you show me how to search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Understood — assets. What should we do next?\nUser: What's the command to copy it?", "completion": "You said assets, so cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Got it — assets. What do you want to do with it?\nUser: How do I copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Understood — 6379. What should we do next?\nUser: How do I connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Harper. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "On Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: I have a file called server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: Can you show me how to follow it?", "completion": "You said server.log, so tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: I have a file called app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: How do I run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: My service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I view the history?", "completion": "Because you're using Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: Can you show me how to check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: What's the command to check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I check container resource usage?", "completion": "Since you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: Let's talk about the logs directory.\nAssistant: Got it — logs. What do you want to do with it?\nUser: How do I check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is a function?", "completion": "Given that you've had a long day, I'll keep this brief — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I use the terminal?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what's a good first project?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: the container is test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: Can you show me how to remove it?", "completion": "You said test-runner, so docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: what is a loop?", "completion": "Good to meet you, Alex. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I have a container called api-server.\nAssistant: Noted: api-server. What's the task?\nUser: What's the command to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: I have a file called config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: How do I pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: I have something listening on port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: How do I check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: Can you show me how to compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I view a container's logs?", "completion": "Because you're using Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: I have a file called app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: What's the command to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: Can you show me how to check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check disk usage?", "completion": "On Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: What's the command to enter its shell?", "completion": "You said api-server, so docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: I'm on branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Since you're learning from scratch, I'll avoid jargon — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "Since you're on Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what's a good first project?", "completion": "Given that you're a beginner, here's a plain explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: my branch is staging.\nAssistant: Noted: staging. What's the task?\nUser: What's the command to switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "Since you're on Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Let's talk about port 22.\nAssistant: Noted: 22. What's the task?\nUser: Can you show me how to change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: What's the command to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to create a branch?", "completion": "On Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to run my tests — what should I run?", "completion": "Since you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I debug my code?", "completion": "Because you're new to this, let's start with the basics — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "Since you're on Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: how do I debug my code?", "completion": "Nice to meet you, Kai. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Because systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Hello, Quinn! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to enter a container shell?", "completion": "Given that you're on Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: What's the command to check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Quick context: my branch is staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: switch to it?", "completion": "Since you mentioned staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Taylor. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: I have a file called server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: What's the command to follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: I'm on branch main.\nAssistant: Understood — main. What should we do next?\nUser: Can you show me how to pull the latest?", "completion": "You said main, so git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to update the system?", "completion": "Since you're on Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Avery. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I just started the container cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: What's the command to copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "Since you're on Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. The command is `ps aux`."} +{"prompt": "User: Let's talk about branch main.\nAssistant: Understood — main. What should we do next?\nUser: pull the latest?", "completion": "You said main, so git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to update the system — what should I run?", "completion": "On macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Understood — 22. What should we do next?\nUser: change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: how do I debug my code?", "completion": "Nice to meet you, Jesse. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: how do I use the terminal?", "completion": "Good to meet you, Jesse. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "On Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is an array?", "completion": "You said you're exhausted, so here's the shortest useful explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Ubuntu, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Understood — 443. What should we do next?\nUser: check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Quick context: port 27017 is the one I'm using.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: Can you show me how to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: I'm working with the container cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to enter a container shell — what should I run?", "completion": "On Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I see open ports?", "completion": "On Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "Since you're on Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: What's the command to inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I see open ports?", "completion": "On Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Understood — venv. What should we do next?\nUser: What's the command to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I install a package?", "completion": "Since you're on macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to upgrade pip?", "completion": "Since you're on Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: what is git?", "completion": "Given that you're a beginner, here's a plain explanation — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Noted: app.py. What's the task?\nUser: Can you show me how to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Understood — logs. What should we do next?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Understood — 8080. What should we do next?\nUser: What's the command to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: The branch I'm using is dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: What's the command to push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: Can you show me how to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I search text in files?", "completion": "On Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: What's the command to switch to it?", "completion": "You said staging, so git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: How do I copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Because a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Noted: main.go. What's the task?\nUser: Can you show me how to run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Given that inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: Can you show me how to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to push my commits?", "completion": "Because you're using Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: Can you show me how to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I search text in files?", "completion": "Since you're on Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Since a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: what is a function?", "completion": "Nice to meet you, Morgan. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Noted: web-app. What's the task?\nUser: What's the command to view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to undo the last commit on this system?", "completion": "Since you're on Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Noted: tmp. What's the task?\nUser: clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using macOS, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Given that the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Given that the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: Can you show me how to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: How do I check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Noted: api-server. What's the task?\nUser: enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Understood — 22. What should we do next?\nUser: What's the command to change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Since you're learning from scratch, I'll avoid jargon — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Dakota. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I update the system?", "completion": "Given that you're on Ubuntu, apt handles package updates. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to commit my changes?", "completion": "On Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check running processes?", "completion": "On Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Understood — cache. What should we do next?\nUser: What's the command to copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Parker. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to update the system?", "completion": "Since you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Noted: 443. What's the task?\nUser: check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: Can you show me how to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Noted: app.db. What's the task?\nUser: Can you show me how to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I expose a port?", "completion": "Since you're on Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Given that you're using a different virtual environment, activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Hello, Kai! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I pull the latest changes?", "completion": "Given that you're on Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Casey. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check a service?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Because root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: Can you show me how to forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: What's the command to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: What's the command to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "Because you're using Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Hello, Logan! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check running processes?", "completion": "On Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: I'm working with the container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is an array?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to install a package?", "completion": "Because you're using macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Quick context: port 6379 is the one I'm using.\nAssistant: Noted: 6379. What's the task?\nUser: What's the command to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Understood — 9000. What should we do next?\nUser: scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "Given that you're on Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to see open ports?", "completion": "Because you're using macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "Since you're on Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: What's the command to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Since you're on macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to search text in files?", "completion": "Because you're using macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I install a package?", "completion": "Since you're on Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: I have a file called app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: What's the command to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to list installed packages on this system?", "completion": "Since you're on Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "You said root owns the file, so you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: The file I'm dealing with is config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: Can you show me how to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Got it — build. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to find large files?", "completion": "Given that you're on macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to push my commits on this system?", "completion": "Since you're on Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check disk usage?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: Can you show me how to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: Can you show me how to view its logs?", "completion": "You said web-app, so docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I practice coding?", "completion": "Since you're learning from scratch, I'll avoid jargon — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what is a function?", "completion": "Since you're just starting out, I'll keep this simple — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to find large files?", "completion": "Since you're on macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Since you're on Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: Can you show me how to check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. The command is `ps aux`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I enter a container shell?", "completion": "Given that you're on Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I update the system?", "completion": "Because you're using Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I undo the last commit?", "completion": "Since you're on Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to check container resource usage on this system?", "completion": "Given that you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "On Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I check disk usage?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Jesse. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: Can you show me how to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I stay motivated?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to find large files?", "completion": "Since you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "On Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: What's the command to restart it?", "completion": "You said postgres-db, so docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: What's the command to check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "On Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "Given that you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Ubuntu, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to stop a container?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check disk usage?", "completion": "Given that you're on Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: I'm working in the assets folder.\nAssistant: Noted: assets. What's the task?\nUser: Can you show me how to copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "On Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Noted: app.db. What's the task?\nUser: Can you show me how to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: Can you show me how to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Fedora, systemd controls services. Run `systemctl status service-name`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: Can you show me how to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "On Python, pip freeze lists installed versions. Run `pip freeze > requirements.txt`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Given that the configuration is invalid, test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: How do I open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: How do I merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: I'm working with port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: How do I check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. Run `df -h`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: My service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Port 3000 is the one I care about.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: How do I check what's listening?", "completion": "You said 3000, so ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to list installed packages?", "completion": "Because you're using Python, pip list shows installed packages. You can do it with `pip list`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Hayden. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: I'm working in the src folder.\nAssistant: Understood — src. What should we do next?\nUser: What's the command to search inside it?", "completion": "You said src, so grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is a loop?", "completion": "Because you're new to this, let's start with the basics — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: How do I unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "On Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: how do I read an error message?", "completion": "Since you're learning from scratch, I'll avoid jargon — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Logan. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is git?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "On Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I list installed packages?", "completion": "Because you're using Python, pip list shows installed packages. You can do it with `pip list`."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: What's the command to check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I'm working in the assets folder.\nAssistant: Noted: assets. What's the task?\nUser: Can you show me how to copy it?", "completion": "You said assets, so cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to run a script on this system?", "completion": "On Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to copy a file into a container on this system?", "completion": "Since you're on Docker, docker cp copies files in and out. Use `docker cp file.txt container-name:/path/` for that."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Hello, Sam! What's on your mind?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Sam. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: What's the command to switch to it?", "completion": "You said staging, so git switch changes branches. Use `git switch staging`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to view a container's logs?", "completion": "Since you're on Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Since it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Understood — 5432. What should we do next?\nUser: Can you show me how to test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: Can you show me how to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: Can you help me understand this: what should I learn first?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Noted: docs. What's the task?\nUser: list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is a function?", "completion": "Given that you've had a long day, I'll keep this brief — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I just started the container web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: Can you show me how to view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I see open ports?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: I've got a file named main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: What's the command to run it?", "completion": "Since you mentioned main.go, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a bug?", "completion": "You said you're exhausted, so here's the shortest useful explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is a variable?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "On macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: How do I extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: I just started the container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: How do I restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: What's the command to scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Hello, Jordan! What's on your mind?\nUser: what is a loop?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm on branch staging.\nAssistant: Noted: staging. What's the task?\nUser: Can you show me how to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: How do I kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "On Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to update the system?", "completion": "On Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: How do I compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. Run `ping host-name`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Noted: config.json. What's the task?\nUser: How do I pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: Can you show me how to stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Got it — 443. What do you want to do with it?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: How do I test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: I have a file called data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "On Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Hello, Sam! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Sam. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: How do I scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: I'm working with the container web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: What's the command to view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: I have a file called data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: Can you show me how to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I've got a file named server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: How do I follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Casey. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: how do I debug my code?", "completion": "Good to meet you, Finley. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: Can you show me how to extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Understood — app.py. What should we do next?\nUser: run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: My service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Since another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to freeze my dependencies?", "completion": "Since you're on Python, pip freeze lists installed versions. Run `pip freeze > requirements.txt`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: I have a folder called build.\nAssistant: Got it — build. What do you want to do with it?\nUser: How do I delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Got it — src. What do you want to do with it?\nUser: How do I search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "On Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I install a package?", "completion": "Because you're using Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is an array?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: how do I read an error message?", "completion": "Because you're new to this, let's start with the basics — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to list running containers?", "completion": "Because you're using Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I check a service?", "completion": "Since you're on Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: The branch I'm using is dev.\nAssistant: Understood — dev. What should we do next?\nUser: push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "Since you're on Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Noted: src. What's the task?\nUser: How do I search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to find large files — what should I run?", "completion": "On macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Because you're using Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to create a branch?", "completion": "Given that you're on Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to check container resource usage?", "completion": "Because you're using Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Jamie. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: What's the command to merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Noted: api-server. What's the task?\nUser: How do I enter its shell?", "completion": "You said api-server, so docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: Can you show me how to remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I see open ports?", "completion": "On Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: My service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Understood — main.go. What should we do next?\nUser: Can you show me how to run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to push my commits?", "completion": "Because you're using Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Because you're using Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I create a branch?", "completion": "Since you're on Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: What's the command to clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to see open ports on this system?", "completion": "On Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: How do I copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "Since you're on Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: I've got a file named main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: Can you show me how to run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: How do I check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: how do I practice coding?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I find large files?", "completion": "Because you're using Arch Linux, find filters by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: how do I debug my code?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: What's the command to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Noted: 3000. What's the task?\nUser: check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: what is a function?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Hello, Jesse! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Jesse. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "You said inodes are exhausted, so remove many small files. Use `df -i` to fix it."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Since you're on Fedora, dnf is the package manager. Run `sudo dnf install package-name`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I expose a port?", "completion": "Because you're using Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Jesse. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Let's talk about container worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: What's the command to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: I'm on branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: Can you show me how to tag it?", "completion": "You said release-1.2, so git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check a service?", "completion": "Since you're on Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I find large files?", "completion": "Given that you're on macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Taylor. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is a bug?", "completion": "Since you're learning from scratch, I'll avoid jargon — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to stash my work?", "completion": "On Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Noted: app.py. What's the task?\nUser: Can you show me how to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Riley. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: how do I stay motivated?", "completion": "Good to meet you, Alex. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a variable?", "completion": "Since you're learning from scratch, I'll avoid jargon — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: How do I run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: I'm working with the container redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: Can you show me how to stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Finley. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: What's the command to test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: how do I debug my code?", "completion": "Nice to meet you, Harper. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: how do I learn to code?", "completion": "Because you're new to this, let's start with the basics — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to check container resource usage?", "completion": "Since you're on Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "Since you're on Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to run a script?", "completion": "Because you're using Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Avery. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: Can you show me how to enter its shell?", "completion": "You said api-server, so docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Given that the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "On Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: What's the command to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Given that ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I debug my code?", "completion": "Because you're low on energy, I'll give you the simple version — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Debian, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Parker. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Hello, Finley! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Finley. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "On Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I see open ports?", "completion": "Since you're on Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to check the Python version?", "completion": "Since you're on Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I check the Python version?", "completion": "On Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: Can you show me how to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Because the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: Can you show me how to copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Understood — 22. What should we do next?\nUser: change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: What's the command to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "On Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to undo the last commit?", "completion": "Given that you're on Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: Can you show me how to scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I just started the container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: How do I view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check running processes — what should I run?", "completion": "On Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to stop a container on this system?", "completion": "Because you're using Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Quinn. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I see open ports?", "completion": "On Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: how do I debug my code?", "completion": "Since you're just starting out, I'll keep this simple — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I have a folder called assets.\nAssistant: Noted: assets. What's the task?\nUser: copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I'm working with the container cache.\nAssistant: Noted: cache. What's the task?\nUser: copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Quick context: my branch is staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: How do I switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "Since you're on Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Jordan. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: Quick context: I'm inside tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: How do I clean it?", "completion": "Since you mentioned tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: The service is running on port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: What's the command to check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: What's the command to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check disk usage?", "completion": "Because you're using Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "Because you're using Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: Can you show me how to switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "On Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: how do I debug my code?", "completion": "Nice to meet you, Alex. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I stay motivated?", "completion": "Since you're learning from scratch, I'll avoid jargon — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: Can you show me how to scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what's a good first project?", "completion": "Because you're new to this, let's start with the basics — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Ubuntu, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: my branch is staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: What's the command to switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: How do I restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: I'm working with the container cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check disk usage?", "completion": "Given that you're on Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: how do I stay motivated?", "completion": "Good to meet you, Avery. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: Can you show me how to check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: What's the command to test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Since you're on Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "On Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Avery. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to update the system?", "completion": "Because you're using Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: what is a variable?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Noted: 5432. What's the task?\nUser: Can you show me how to test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: What's the command to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: What's the command to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: How do I merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Jamie. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm on branch main.\nAssistant: Noted: main. What's the task?\nUser: Can you show me how to pull the latest?", "completion": "You said main, so git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I create a virtual environment?", "completion": "On Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: I have a file called app.py.\nAssistant: Noted: app.py. What's the task?\nUser: run it?", "completion": "You said app.py, so Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Noted: src. What's the task?\nUser: What's the command to search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Noted: 8080. What's the task?\nUser: What's the command to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to list running containers?", "completion": "Since you're on Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: Can you show me how to extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "On Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: How do I extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to run a script?", "completion": "Given that you're on Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to commit my changes on this system?", "completion": "Given that you're on Git, git add stages and git commit records. Use `git add . && git commit -m \"message\"` for that."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Understood — cache. What should we do next?\nUser: How do I copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Noted: 8000. What's the task?\nUser: forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: The service is running on port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: Can you show me how to check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I find large files?", "completion": "On Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to view the history?", "completion": "On Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Noted: 6379. What's the task?\nUser: How do I connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: I'm working in the src folder.\nAssistant: Got it — src. What do you want to do with it?\nUser: How do I search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: What's the command to check what's listening?", "completion": "You said 3000, so ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "Since you're on Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Quinn. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to run my tests?", "completion": "On Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Given that the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what's a good first project?", "completion": "Since you're just starting out, I'll keep this simple — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: What's the command to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is a variable?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to remove an image on this system?", "completion": "On Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: How do I make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check disk usage?", "completion": "Since you're on Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Because you're new to this, let's start with the basics — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "On Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Understood — 443. What should we do next?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I search text in files?", "completion": "Because you're using Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Noted: 443. What's the task?\nUser: How do I check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: What's the command to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to check container resource usage?", "completion": "Given that you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Understood — project-alpha. What should we do next?\nUser: compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Given that you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: How do I push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: What's the command to inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Taylor. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Because the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: I just started the container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: What's the command to enter its shell?", "completion": "You said api-server, so docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Charlie. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is a variable?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to remove an image on this system?", "completion": "Since you're on Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: I'm on branch main.\nAssistant: Understood — main. What should we do next?\nUser: What's the command to pull the latest?", "completion": "You said main, so git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Given that you're a beginner, here's a plain explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "Since you're on Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I update the system?", "completion": "Since you're on Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: What's the command to view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to push my commits on this system?", "completion": "Because you're using Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Hello, Casey! What's on your mind?\nUser: what is a function?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: what is a function?", "completion": "Since you're just starting out, I'll keep this simple — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "You said the branch is protected, so push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: What's the command to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I practice coding?", "completion": "Because you're new to this, let's start with the basics — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "On Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I run a script?", "completion": "Since you're on Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: What's the command to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: How do I delete it?", "completion": "You said experiment, so git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "Since you're on Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: How do I check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to upgrade pip?", "completion": "On Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: Can you show me how to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "On Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a function?", "completion": "Since you mentioned you're tired, let's keep this short and practical — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "On Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Quick context: my branch is release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: tag it?", "completion": "You said release-1.2, so git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: Can you show me how to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "On Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: What's the command to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: push my changes there?", "completion": "You said dev, so git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: how do I debug my code?", "completion": "Good to meet you, Casey. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to remove an image?", "completion": "On Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Jordan. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: What's the command to unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I update the system?", "completion": "Since you're on Fedora, dnf handles system upgrades. You can do it with `sudo dnf upgrade`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I push my commits?", "completion": "Since you're on Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I update the system?", "completion": "Since you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is git?", "completion": "Because you're new to this, let's start with the basics — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: Can you show me how to view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: Can you show me how to push my changes there?", "completion": "You said dev, so git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I see open ports?", "completion": "Given that you're on macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: My command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Emerson. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to update the system?", "completion": "Since you're on Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "Since you're on Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to run my tests — what should I run?", "completion": "Given that you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Alex. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: What's the command to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: How do I inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: Can you show me how to remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check a service — what should I run?", "completion": "On Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: Can you show me how to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I run my tests?", "completion": "On Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I commit my changes?", "completion": "On Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I debug my code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I see open ports?", "completion": "Since you're on Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I learn to code?", "completion": "Given that you're a beginner, here's a plain explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a function?", "completion": "Since you're learning from scratch, I'll avoid jargon — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to update the system?", "completion": "Since you're on Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is git?", "completion": "Since you're just starting out, I'll keep this simple — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Avery. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "Since you're on Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: Quick context: port 27017 is the one I'm using.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: Can you show me how to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to search text in files?", "completion": "Because you're using Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to run my tests — what should I run?", "completion": "Since you're on Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "On Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Quinn. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: What's the command to check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Kai. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Fedora, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I check a service?", "completion": "On Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to commit my changes — what should I run?", "completion": "On Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to stash my work — what should I run?", "completion": "Since you're on Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to install a package?", "completion": "Since you're on macOS, Homebrew is the usual package manager. You can do it with `brew install package-name`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: How do I check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: How do I forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "Since you're on Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Noted: 8080. What's the task?\nUser: What's the command to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "On macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I see open ports?", "completion": "Because you're using macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I have a folder called docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Because you're using Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: How do I merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to install a package on this system?", "completion": "On Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Understood — logs. What should we do next?\nUser: check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: what is git?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Since a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Got it — venv. What do you want to do with it?\nUser: How do I remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I search text in files?", "completion": "On Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "On Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Noted: experiment. What's the task?\nUser: How do I delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to expose a port?", "completion": "Because you're using Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "Because you're using Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to undo the last commit?", "completion": "Given that you're on Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Thanks, I'll remember feature/api. How can I help?\nUser: Can you show me how to rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to enter a container shell?", "completion": "On Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Jesse. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is git?", "completion": "You said you're exhausted, so here's the shortest useful explanation — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I check a service?", "completion": "On Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I update the system?", "completion": "On macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: Can you show me how to delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you're learning from scratch, I'll avoid jargon — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I list running containers?", "completion": "Because you're using Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "On Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "Because you're using Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I update the system?", "completion": "On Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "Since you're on Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I freeze my dependencies?", "completion": "Given that you're on Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I search text in files?", "completion": "On Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. Run `df -h`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to enter a container shell?", "completion": "Because you're using Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I update the system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. Use `df -h` to fix it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I stay motivated?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: How do I view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: how do I use the terminal?", "completion": "Given that you're a beginner, here's a plain explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I check the Python version?", "completion": "Because you're using Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: how do I practice coding?", "completion": "Good to meet you, Quinn. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I see open ports?", "completion": "Since you're on Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: What's the command to check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Noted: staging. What's the task?\nUser: switch to it?", "completion": "You said staging, so git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: What's the command to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Noted: 5432. What's the task?\nUser: Can you show me how to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: what should I learn first?", "completion": "Nice to meet you, Harper. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to check disk usage on this system?", "completion": "On Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Since you're on Debian, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Debian, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Alex. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check running processes?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "On Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is a loop?", "completion": "Since you're learning from scratch, I'll avoid jargon — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: how do I debug my code?", "completion": "Nice to meet you, Hayden. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Alex. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "Because you're using Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: How do I view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I freeze my dependencies?", "completion": "Since you're on Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I debug my code?", "completion": "Given that you're a beginner, here's a plain explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: What's the command to check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: What's the command to push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check running processes?", "completion": "Because you're using macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to run a script — what should I run?", "completion": "Because you're using Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I update the system?", "completion": "On Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to check the repository status — what should I run?", "completion": "Given that you're on Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Hayden. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: What's the command to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: Can you show me how to connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Understood — cache. What should we do next?\nUser: copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: How do I forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to run my tests — what should I run?", "completion": "Given that you're on Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: Let's talk about the tmp directory.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: What's the command to clean it?", "completion": "You said tmp, so find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: How do I enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "You said the package isn't installed, so install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Understood — 6379. What should we do next?\nUser: What's the command to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: Can you show me how to stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Noted: archive.zip. What's the task?\nUser: unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: what should I learn first?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check disk usage?", "completion": "Because you're using Fedora, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Quick context: port 6379 is the one I'm using.\nAssistant: Understood — 6379. What should we do next?\nUser: Can you show me how to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what's a good first project?", "completion": "Because you're low on energy, I'll give you the simple version — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I see open ports?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Noted: dev. What's the task?\nUser: Can you show me how to push my changes there?", "completion": "You said dev, so git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I search text in files?", "completion": "Since you're on Ubuntu, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: Can you show me how to check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "On Fedora, systemd controls services. Run `systemctl status service-name`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Hello, Charlie! What's on your mind?\nUser: what is a variable?", "completion": "Good to meet you, Charlie. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "You said main.go, so go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to copy a file into a container on this system?", "completion": "Since you're on Docker, docker cp copies files in and out. Use `docker cp file.txt container-name:/path/` for that."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Riley. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: what's a good first project?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Noted: staging. What's the task?\nUser: switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to search text in files on this system?", "completion": "On Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: How do I push it?", "completion": "You said hotfix/payment, so git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Hello, Kai! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Kai. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Riley. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Noted: photo.jpg. What's the task?\nUser: check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using macOS, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: what should I learn first?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to check the Python version?", "completion": "On Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "Since you're on Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "On Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is a variable?", "completion": "Given that you're a beginner, here's a plain explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I have a file called data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: What's the command to count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Jordan. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: I have a file called app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: run it?", "completion": "You said app.py, so Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: What's the command to unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Quick context: I'm inside tmp.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: Can you show me how to clean it?", "completion": "You said tmp, so find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I practice coding?", "completion": "Given that you're a beginner, here's a plain explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I learn to code?", "completion": "Given that you're a beginner, here's a plain explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: compress it?", "completion": "You said project-alpha, so tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is an array?", "completion": "Because you're low on energy, I'll give you the simple version — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: How do I extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: how do I practice coding?", "completion": "Nice to meet you, Taylor. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: What's the command to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: count its rows?", "completion": "You said data.csv, so wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I list installed packages?", "completion": "Since you're on Python, pip list shows installed packages. You can do it with `pip list`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Debian, ps gives a process snapshot. Run `ps aux`."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Understood — 5000. What should we do next?\nUser: Can you show me how to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: remove it?", "completion": "You said test-runner, so docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: What's the command to extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: How do I remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I search text in files?", "completion": "On Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Understood — venv. What should we do next?\nUser: remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to check running processes — what should I run?", "completion": "On Ubuntu, processes are visible with ps or top. The command is `ps aux`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Given that the filesystem is out of space, find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to pull the latest changes — what should I run?", "completion": "Given that you're on Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I check disk usage?", "completion": "Since you're on Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: What's the command to run it?", "completion": "You said app.py, so Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Let's talk about branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Noted: deploy.sh. What's the task?\nUser: How do I make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you're just starting out, I'll keep this simple — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I search text in files?", "completion": "On Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I check container resource usage?", "completion": "Given that you're on Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: The branch I'm using is feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: merge it into main?", "completion": "You said feature/login, so git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I have a file called index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: Can you show me how to open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Since you're learning from scratch, I'll avoid jargon — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to push my commits on this system?", "completion": "On Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. Use `journalctl -u service-name -n 50` to fix it."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Hayden. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to enter a container shell?", "completion": "Given that you're on Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I practice coding?", "completion": "Since you mentioned you're tired, let's keep this short and practical — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to update the system?", "completion": "Since you're on macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Riley. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Hello, Alex! What's on your mind?\nUser: what is a function?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: What's the command to remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: what is a loop?", "completion": "Nice to meet you, Quinn. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Help — my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check disk usage?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to create a branch?", "completion": "Given that you're on Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what is a bug?", "completion": "Given that you've had a long day, I'll keep this brief — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I check disk usage?", "completion": "Given that you're on Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to update the system?", "completion": "On macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Understood — 443. What should we do next?\nUser: check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: how do I learn to code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Kai. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I stop a container?", "completion": "Since you're on Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I check disk usage?", "completion": "On Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Because you're low on energy, I'll give you the simple version — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to view the history?", "completion": "On Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what's a good first project?", "completion": "Because you're low on energy, I'll give you the simple version — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: The folder I'm using is venv.\nAssistant: Understood — venv. What should we do next?\nUser: What's the command to remove it?", "completion": "You said venv, so rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Since you're on Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Understood — 443. What should we do next?\nUser: What's the command to check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Dakota. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: Can you show me how to copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I expose a port?", "completion": "Since you're on Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to stash my work?", "completion": "Since you're on Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: My command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "On Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: I'm working in the src folder.\nAssistant: Understood — src. What should we do next?\nUser: What's the command to search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you're just starting out, I'll keep this simple — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what should I learn first?", "completion": "Since you're just starting out, I'll keep this simple — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to list installed packages?", "completion": "Given that you're on Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Sam. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I search text in files?", "completion": "Because you're using Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check disk usage?", "completion": "Since you're on Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Thanks, Charlie. What would you like to know?\nUser: what's a good first project?", "completion": "Good to meet you, Charlie. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: How do I pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Understood — 443. What should we do next?\nUser: What's the command to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: how do I stay motivated?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: check what's listening?", "completion": "You said 3000, so ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: what should I learn first?", "completion": "Nice to meet you, Casey. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I have a container called api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: Can you show me how to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: What's the command to scan it for a service?", "completion": "You said 9000, so nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I use the terminal?", "completion": "Because you're low on energy, I'll give you the simple version — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Parker. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I find large files?", "completion": "On Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to commit my changes — what should I run?", "completion": "Given that you're on Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I learn to code?", "completion": "Given that you've had a long day, I'll keep this brief — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to search text in files?", "completion": "Since you're on macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: how do I debug my code?", "completion": "Good to meet you, Parker. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "On Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "Because you're using Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Got it — src. What do you want to do with it?\nUser: How do I search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: I'm working on the file photo.jpg.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Kai. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Hello, Sam! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I read an error message?", "completion": "Since you're learning from scratch, I'll avoid jargon — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Since the Docker daemon is stopped, start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "Since you're on Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: How do I run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: How do I pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. Run `df -h`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: The service is running on port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: Can you show me how to change the SSH port?", "completion": "You said 22, so sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: What's the command to compress it?", "completion": "You said project-alpha, so tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is a variable?", "completion": "Because you're low on energy, I'll give you the simple version — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "Given that you're on Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: What's the command to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: How do I check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to install a package?", "completion": "Since you're on Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I see open ports?", "completion": "Since you're on Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to search text in files?", "completion": "Since you're on macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I create a branch?", "completion": "Because you're using Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Harper. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: Can you show me how to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: how do I practice coding?", "completion": "Good to meet you, Finley. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to stop a container — what should I run?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is a function?", "completion": "Given that you're a beginner, here's a plain explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Noted: api-server. What's the task?\nUser: Can you show me how to enter its shell?", "completion": "You said api-server, so docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Noted: build. What's the task?\nUser: How do I delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "Because you're using Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Avery. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: The directory I'm dealing with is src.\nAssistant: Got it — src. What do you want to do with it?\nUser: Can you show me how to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Noted: main.go. What's the task?\nUser: How do I run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: what is a function?", "completion": "Nice to meet you, Alex. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I create a virtual environment?", "completion": "Because you're using Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I check a service?", "completion": "Since you're on Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: Can you show me how to rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I see open ports?", "completion": "Because you're using Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I just started the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: What's the command to enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Noted: dev. What's the task?\nUser: How do I push my changes there?", "completion": "You said dev, so git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to update the system — what should I run?", "completion": "On macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "On Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: Can you show me how to compress it?", "completion": "You said project-alpha, so tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to view a container's logs on this system?", "completion": "Because you're using Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to stop a container?", "completion": "Since you're on Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "On Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: Can you show me how to push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I check running processes?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: I have a file called config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: Can you show me how to pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: How do I restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I expose a port?", "completion": "Given that you're on Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Casey. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Kai. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: what is a function?", "completion": "Because you're low on energy, I'll give you the simple version — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Morgan. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Given that you're a beginner, here's a plain explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: test the database port?", "completion": "You said 5432, so nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: What's the command to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: What's the command to inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: what's a good first project?", "completion": "Nice to meet you, Morgan. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Since it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I push my commits?", "completion": "Since you're on Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Since it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what is a bug?", "completion": "Given that you've had a long day, I'll keep this brief — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. Use `df -h` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I run a script?", "completion": "On Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: Can you show me how to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I stay motivated?", "completion": "Because you're new to this, let's start with the basics — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I expose a port?", "completion": "Since you're on Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to enter a container shell — what should I run?", "completion": "Because you're using Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: What's the command to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: What's the command to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "On Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. The command you need is `ls -la`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "Since you're on Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Because you lack write permission, grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is an array?", "completion": "You said you're exhausted, so here's the shortest useful explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I check disk usage?", "completion": "Given that you're on Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "Because you're using Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "On Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I check container resource usage?", "completion": "Because you're using Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I run a script?", "completion": "Given that you're on Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: How do I run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Understood — app.py. What should we do next?\nUser: Can you show me how to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: The service is running on port 22.\nAssistant: Understood — 22. What should we do next?\nUser: Can you show me how to change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a function?", "completion": "Because you're low on energy, I'll give you the simple version — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: delete it?", "completion": "You said experiment, so git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: Can you show me how to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Noted: tmp. What's the task?\nUser: How do I clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Noted: staging. What's the task?\nUser: switch to it?", "completion": "You said staging, so git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Parker. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "On Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: How do I forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to expose a port — what should I run?", "completion": "Because you're using Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Since a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. Run `du -sh * | sort -hr | head`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check running processes?", "completion": "Given that you're on Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Because systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: I'm working with port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: How do I check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Sam. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I need help because my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: What's the command to unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I undo the last commit?", "completion": "Since you're on Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I check the Python version?", "completion": "Given that you're on Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "Since you're on Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: What's the command to tag it?", "completion": "You said release-1.2, so git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check a service — what should I run?", "completion": "Since you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: Let's talk about container worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: Can you show me how to check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: what is git?", "completion": "Because you're new to this, let's start with the basics — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: What's the command to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: Can you show me how to remove it?", "completion": "You said test-runner, so docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Noted: 8080. What's the task?\nUser: How do I kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I see open ports?", "completion": "Given that you're on Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: The database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I check disk usage?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to list installed packages on this system?", "completion": "Since you're on Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Debian, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: How do I check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Let's talk about the logs directory.\nAssistant: Noted: logs. What's the task?\nUser: check its size?", "completion": "You said logs, so du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: How do I run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Understood — 22. What should we do next?\nUser: What's the command to change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Hello, Casey! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: how do I stay motivated?", "completion": "Good to meet you, Jamie. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Since it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Sam. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "On Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to check the repository status — what should I run?", "completion": "On Git, git status summarizes changes. You can do it with `git status`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is a function?", "completion": "Because you're low on energy, I'll give you the simple version — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: what is a function?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Parker. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "On Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check a service?", "completion": "On Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I check a service?", "completion": "On Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Noted: 5000. What's the task?\nUser: What's the command to restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is an array?", "completion": "Because you're new to this, let's start with the basics — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I just started the container cache.\nAssistant: Understood — cache. What should we do next?\nUser: How do I copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: How do I push it?", "completion": "You said hotfix/payment, so git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Morgan. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: how do I learn to code?", "completion": "Nice to meet you, Charlie. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to run a script on this system?", "completion": "Because you're using Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I list running containers?", "completion": "Because you're using Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: what is a loop?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is a variable?", "completion": "Because you're low on energy, I'll give you the simple version — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "Since you're on Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Nice to meet you, Hayden. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Fedora, dnf handles system upgrades. You can do it with `sudo dnf upgrade`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I check disk usage?", "completion": "Given that you're on Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I find large files?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: Let's talk about main.go — it's a file I need to handle.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: How do I extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: how do I stay motivated?", "completion": "Good to meet you, Harper. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: Can you show me how to view its logs?", "completion": "You said web-app, so docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Avery. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: What's the command to count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I list running containers?", "completion": "On Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm inside project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: Can you show me how to compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I update the system?", "completion": "Given that you're on Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: How do I push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: I have a file called server.log.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to list installed packages — what should I run?", "completion": "On Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: Quick context: I'm inside tmp.\nAssistant: Noted: tmp. What's the task?\nUser: Can you show me how to clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I see open ports?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Noted: cache. What's the task?\nUser: How do I copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Understood — logs. What should we do next?\nUser: What's the command to check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I see open ports?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Noted: app.py. What's the task?\nUser: Can you show me how to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: How do I count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check a service — what should I run?", "completion": "Since you're on macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to run a script — what should I run?", "completion": "Since you're on Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to update the system?", "completion": "Because you're using Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I check running processes?", "completion": "On Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: How do I test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to upgrade pip?", "completion": "Since you're on Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to find large files?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check running processes?", "completion": "On Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Casey. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: What's the command to merge it into main?", "completion": "You said feature/login, so git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to update the system?", "completion": "On Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I run my tests?", "completion": "Given that you're on Python, pytest discovers and runs tests. Use `pytest` for that."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: What's the command to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I learn to code?", "completion": "Given that you've had a long day, I'll keep this brief — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: How do I stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I check running processes?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: I just started the container api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: What's the command to enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: Can you show me how to tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "Given that you're on Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Because a network call is timing out, test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check a service?", "completion": "Since you're on Debian, systemctl reports service state. The command is `systemctl status service-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I copy a file into a container?", "completion": "Given that you're on Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: what is a function?", "completion": "Nice to meet you, Jamie. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I pull the latest changes?", "completion": "On Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "Because you're using Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to find large files — what should I run?", "completion": "Since you're on macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Since you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: What's the command to merge it into main?", "completion": "You said feature/login, so git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Arch Linux, find filters by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: What's the command to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "On Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Noted: 6379. What's the task?\nUser: Can you show me how to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I check a service?", "completion": "Because you're using Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: How do I kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I enter a container shell?", "completion": "Because you're using Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is a variable?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Help — the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Hello! My name is Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Hayden. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I find large files?", "completion": "On macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: How do I unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: how do I debug my code?", "completion": "Nice to meet you, Logan. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I see open ports?", "completion": "On Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: app.db is the file I'm using.\nAssistant: Noted: app.db. What's the task?\nUser: inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: what should I learn first?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I find large files?", "completion": "Because you're using Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check a service?", "completion": "Because you're using Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Noted: assets. What's the task?\nUser: What's the command to copy it?", "completion": "You said assets, so cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to view a container's logs on this system?", "completion": "Given that you're on Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: I've never coded before.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what should I learn first?", "completion": "Given that you're a beginner, here's a plain explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I find large files?", "completion": "Since you're on Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Hello, Finley! What's on your mind?\nUser: how do I practice coding?", "completion": "Good to meet you, Finley. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "On Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Finley. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Alex. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what should I learn first?", "completion": "Given that you're a beginner, here's a plain explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I install a package?", "completion": "Because you're using Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I find large files?", "completion": "On Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I update the system?", "completion": "On Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to create a branch?", "completion": "Since you're on Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "Since you're on Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: Can you show me how to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "Since you're on Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is a variable?", "completion": "Given that you've had a long day, I'll keep this brief — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I install a package?", "completion": "Since you're on Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Noted: main. What's the task?\nUser: Can you show me how to pull the latest?", "completion": "You said main, so git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "On Windows PowerShell, Select-String searches file contents. You can do it with `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I commit my changes?", "completion": "Because you're using Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Taylor. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: What's the command to test the database port?", "completion": "You said 5432, so nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Taylor. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I commit my changes?", "completion": "Since you're on Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to check disk usage on this system?", "completion": "On Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to run a script on this system?", "completion": "Given that you're on Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: How do I connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: I have a file called app.py.\nAssistant: Understood — app.py. What should we do next?\nUser: What's the command to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: Can you show me how to test the database port?", "completion": "You said 5432, so nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "On Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: The service is running on port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "On Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: Can you show me how to clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check disk usage?", "completion": "On Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "Given that you're on Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I view the history?", "completion": "Since you're on Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to check container resource usage?", "completion": "Since you're on Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "On Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: Can you show me how to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to find large files on this system?", "completion": "On macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I update the system?", "completion": "Because you're using macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Debian, apt performs the upgrade. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to freeze my dependencies?", "completion": "Because you're using Python, pip freeze lists installed versions. Run `pip freeze > requirements.txt`."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: How do I delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I upgrade pip?", "completion": "Given that you're on Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: Help — my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: What's the command to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "On Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I check a service?", "completion": "Since you're on Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I install a package?", "completion": "Given that you're on Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I check container resource usage?", "completion": "Because you're using Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Got it — build. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I see open ports?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Sam. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: What's the command to scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "On Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I run my tests?", "completion": "Since you're on Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. The command you need is `ssh -T git@github.com`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is an array?", "completion": "Given that you're a beginner, here's a plain explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Logan. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to update the system?", "completion": "Since you're on macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what is an array?", "completion": "Given that you're a beginner, here's a plain explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: Can you show me how to view it?", "completion": "You said notes.txt, so less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: My service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to view the history?", "completion": "Given that you're on Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to stop a container?", "completion": "On Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: delete it?", "completion": "You said build, so rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Finley. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "Because you're using Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Because a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to search text in files?", "completion": "Because you're using Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: What's the command to rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Noted: 5000. What's the task?\nUser: How do I restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check a service?", "completion": "On macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Jordan. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: How do I delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Got it — build. What do you want to do with it?\nUser: How do I delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "Given that you're on Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to find large files — what should I run?", "completion": "On Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to commit my changes?", "completion": "Because you're using Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to remove an image on this system?", "completion": "Because you're using Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to check container resource usage — what should I run?", "completion": "On Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I practice coding?", "completion": "Given that you've had a long day, I'll keep this brief — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Nice to meet you, Emerson. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I practice coding?", "completion": "Since you're learning from scratch, I'll avoid jargon — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: how do I use the terminal?", "completion": "Good to meet you, Jesse. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Understood — project-alpha. What should we do next?\nUser: What's the command to compress it?", "completion": "You said project-alpha, so tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to enter a container shell on this system?", "completion": "Since you're on Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "Because you're using Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a bug?", "completion": "Because you're new to this, let's start with the basics — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I practice coding?", "completion": "Given that you're a beginner, here's a plain explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "On Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. Run `df -h`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. You can do it with `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Given that you're on macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I see open ports?", "completion": "On macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I have a file called app.db.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: How do I inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: How do I extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I check a service?", "completion": "Given that you're on Fedora, systemd controls services. Run `systemctl status service-name`."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Got it — docs. What do you want to do with it?\nUser: What's the command to list its files?", "completion": "You said docs, so ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: I'm working with port 443.\nAssistant: Understood — 443. What should we do next?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: I have a container called web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: What's the command to view its logs?", "completion": "Since you mentioned web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I find large files?", "completion": "On Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I ask for help?", "completion": "Since you mentioned you're tired, let's keep this short and practical — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: What's the command to push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: What's the command to check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what should I learn first?", "completion": "Because you're new to this, let's start with the basics — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to run my tests on this system?", "completion": "Since you're on Python, pytest discovers and runs tests. Use `pytest` for that."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: What's the command to copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I have something listening on port 3000.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Noted: docs. What's the task?\nUser: list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Understood — 8000. What should we do next?\nUser: forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Noted: web-app. What's the task?\nUser: How do I view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Sam. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Because a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to expose a port on this system?", "completion": "Since you're on Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to expose a port on this system?", "completion": "Because you're using Docker, docker run publishes ports with -p. The command is `docker run -p 8080:80 image-name`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Since you're on macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to undo the last commit?", "completion": "On Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to run a script on this system?", "completion": "Given that you're on Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. The command you need is `ls -la`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: what is a loop?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to expose a port on this system?", "completion": "Since you're on Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "On Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "Because you're using Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "Given that you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: I have a folder called logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: How do I check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: I'm working with port 22.\nAssistant: Understood — 22. What should we do next?\nUser: change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to list running containers — what should I run?", "completion": "On Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I check running processes?", "completion": "Because you're using macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: Can you show me how to scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "On Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I check running processes?", "completion": "On macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Because you're using Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what's a good first project?", "completion": "Given that you're a beginner, here's a plain explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: How do I push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: How do I unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to find large files?", "completion": "Because you're using Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I stash my work?", "completion": "On Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: Can you show me how to merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I commit my changes?", "completion": "Since you're on Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "Because you're using Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Since a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to search text in files?", "completion": "Since you're on macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to stash my work?", "completion": "Because you're using Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Hayden. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Noted: venv. What's the task?\nUser: Can you show me how to remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I upgrade pip?", "completion": "Because you're using Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to update the system?", "completion": "On Debian, apt performs the upgrade. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check disk usage?", "completion": "Because you're using Fedora, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: My script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: What's the command to scan it for a service?", "completion": "You said 9000, so nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check a service?", "completion": "Given that you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Because you're new to this, let's start with the basics — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: What's the command to kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: How do I test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: Can you show me how to scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Given that the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to list running containers ��� what should I run?", "completion": "Given that you're on Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to search text in files?", "completion": "On Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to search text in files on this system?", "completion": "On Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: What's the command to restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Understood — 5000. What should we do next?\nUser: Can you show me how to restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I have a container called web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: What's the command to view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: Can you show me how to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Since you're on Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: How do I rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "Because you're using Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Finley. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working in the venv folder.\nAssistant: Got it — venv. What do you want to do with it?\nUser: Can you show me how to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Given that it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: What's the command to inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to stop a container on this system?", "completion": "Since you're on Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Nice to meet you, Morgan. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: how do I use the terminal?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "You said the branch is protected, so push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: I've got a file named app.py.\nAssistant: Noted: app.py. What's the task?\nUser: run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I push my commits?", "completion": "Given that you're on Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: Let's talk about port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: Can you show me how to push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is a function?", "completion": "Given that you've had a long day, I'll keep this brief — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "On Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Since the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Help — my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Given that systemd reports a failure, read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I install a package?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Understood — deploy.sh. What should we do next?\nUser: Can you show me how to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Because the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: what should I learn first?", "completion": "Good to meet you, Finley. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Noted: photo.jpg. What's the task?\nUser: check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is a function?", "completion": "Because you're low on energy, I'll give you the simple version — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a variable?", "completion": "Given that you're a beginner, here's a plain explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: What's the command to remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "On macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to view a container's logs on this system?", "completion": "Because you're using Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "On Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I check container resource usage?", "completion": "Because you're using Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a loop?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. Run `pip install package-name`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to check disk usage?", "completion": "On Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: Can you show me how to clean it?", "completion": "You said tmp, so find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "On Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I'm working with port 443.\nAssistant: Noted: 443. What's the task?\nUser: check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Understood — 5432. What should we do next?\nUser: test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check a service?", "completion": "Since you're on Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to run my tests?", "completion": "Because you're using Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Since the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to undo the last commit — what should I run?", "completion": "Given that you're on Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: Quick context: my branch is feature/api.\nAssistant: Thanks, I'll remember feature/api. How can I help?\nUser: How do I rebase it?", "completion": "You said feature/api, so git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I pull the latest changes?", "completion": "On Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: I have a folder called build.\nAssistant: Understood — build. What should we do next?\nUser: delete it?", "completion": "You said build, so rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I create a branch?", "completion": "On Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: The file I'm dealing with is config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: Can you show me how to pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to stop a container?", "completion": "Because you're using Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Since you're on Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Quick context: the container is api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: Can you show me how to enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I check disk usage?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: Let's talk about main.go — it's a file I need to handle.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: How do I run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: Can you show me how to rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to install a package?", "completion": "Since you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: what should I learn first?", "completion": "Because you're new to this, let's start with the basics — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: How do I inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Since you're on Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "Given that you're on Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. Run `df -h`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you're just starting out, I'll keep this simple — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: How do I run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: The branch I'm using is release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on macOS, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Understood — app.py. What should we do next?\nUser: run it?", "completion": "You said app.py, so Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: What's the command to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: what is a loop?", "completion": "Good to meet you, Jesse. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Let's talk about the tmp directory.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Given that the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: what is a function?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "Given that you're on Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I read an error message?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I'm working with port 22.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: Can you show me how to change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to check container resource usage?", "completion": "On Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Since your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: what's a good first project?", "completion": "Nice to meet you, Parker. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I see open ports?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I stash my work?", "completion": "Because you're using Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: view its logs?", "completion": "You said web-app, so docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Understood — notes.txt. What should we do next?\nUser: How do I view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I stay motivated?", "completion": "Since you're just starting out, I'll keep this simple — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: Quick context: I'm inside docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: list its files?", "completion": "You said docs, so ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Noted: docs. What's the task?\nUser: What's the command to list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: what is a variable?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to remove an image?", "completion": "Given that you're on Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check a service?", "completion": "Given that you're on Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. The command you need is `df -h`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I find large files?", "completion": "On macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: Can you show me how to delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to view the history?", "completion": "On Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "Given that you're on Git, git add stages and git commit records. You can do it with `git add . && git commit -m \"message\"`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to expose a port?", "completion": "Given that you're on Docker, docker run publishes ports with -p. The command is `docker run -p 8080:80 image-name`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to find large files?", "completion": "Since you're on Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm really tired today.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Since you mentioned you're tired, let's keep this short and practical — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: what should I learn first?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Debian, systemctl reports service state. The command is `systemctl status service-name`."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: Can you show me how to push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I run a script?", "completion": "Since you're on Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to check the Python version?", "completion": "Given that you're on Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "On Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick context: my branch is feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: How do I rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Since a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Dakota. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Noted: archive.zip. What's the task?\nUser: unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: I'm on branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: Can you show me how to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm working in the src folder.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: What's the command to search inside it?", "completion": "You said src, so grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Avery. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: what's a good first project?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: what is a loop?", "completion": "Nice to meet you, Casey. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I check running processes?", "completion": "On Debian, ps gives a process snapshot. Run `ps aux`."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: What's the command to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Noted: data.csv. What's the task?\nUser: What's the command to count its rows?", "completion": "You said data.csv, so wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: restart it?", "completion": "You said postgres-db, so docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to find large files on this system?", "completion": "On macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: how do I use the terminal?", "completion": "Given that you're a beginner, here's a plain explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: Can you show me how to check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to enter a container shell on this system?", "completion": "Given that you're on Docker, docker exec runs a command inside it. Run `docker exec -it container-name bash`."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: what is a function?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. The command you need is `df -h`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: I'm working with the container cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: copy a file out of it?", "completion": "You said cache, so docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: what is git?", "completion": "Because you're new to this, let's start with the basics — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "On Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Dakota. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I search text in files?", "completion": "Given that you're on macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Because the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. Run `ls -la`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: Can you show me how to open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I check a service?", "completion": "On macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a loop?", "completion": "Because you're low on energy, I'll give you the simple version — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I've got a file named main.go.\nAssistant: Noted: main.go. What's the task?\nUser: What's the command to run it?", "completion": "You said main.go, so go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Thanks, I'll remember feature/api. How can I help?\nUser: rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Let's talk about port 3000.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: What's the command to inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Since an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: what is a variable?", "completion": "Nice to meet you, Morgan. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: I just started the container postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: Can you show me how to restart it?", "completion": "You said postgres-db, so docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Hayden. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I have a container called api-server.\nAssistant: Noted: api-server. What's the task?\nUser: enter its shell?", "completion": "You said api-server, so docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "Since you're on Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: I'm on branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: What's the command to push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to list installed packages on this system?", "completion": "Because you're using Python, pip list shows installed packages. You can do it with `pip list`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "Given that you're on Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: how do I ask for help?", "completion": "Because you're new to this, let's start with the basics — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "Since you're on Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: what should I learn first?", "completion": "Good to meet you, Harper. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check running processes?", "completion": "On macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "On macOS, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: Can you show me how to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: what is a variable?", "completion": "Nice to meet you, Sam. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to stash my work on this system?", "completion": "On Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I check running processes?", "completion": "Given that you're on macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Understood — 3000. What should we do next?\nUser: check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: How do I push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: Can you show me how to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: How do I kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to list installed packages on this system?", "completion": "On Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: What's the command to push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to push my commits?", "completion": "Since you're on Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Because you're new to this, let's start with the basics — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Understood — logs. What should we do next?\nUser: What's the command to check its size?", "completion": "You said logs, so du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: How do I check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Noted: main.go. What's the task?\nUser: How do I run it?", "completion": "Since you mentioned main.go, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: Can you show me how to copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Understood — 8000. What should we do next?\nUser: What's the command to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Thanks, I'll remember feature/api. How can I help?\nUser: rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Since you're learning from scratch, I'll avoid jargon — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check running processes?", "completion": "On Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: Can you show me how to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I install a package?", "completion": "Since you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to run a script — what should I run?", "completion": "Since you're on Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Noted: docs. What's the task?\nUser: What's the command to list its files?", "completion": "Since you mentioned docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I find large files?", "completion": "Because you're using Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to search text in files on this system?", "completion": "On Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: what is a variable?", "completion": "Because you're low on energy, I'll give you the simple version — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to list running containers on this system?", "completion": "Given that you're on Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: I'm working on the file notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: How do I view it?", "completion": "You said notes.txt, so less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: I have a file called data.csv.\nAssistant: Noted: data.csv. What's the task?\nUser: count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a bug?", "completion": "You said you're exhausted, so here's the shortest useful explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to stop a container — what should I run?", "completion": "On Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to run my tests — what should I run?", "completion": "Since you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Understood — build. What should we do next?\nUser: What's the command to delete it?", "completion": "You said build, so rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: What's the command to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "On Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Let's talk about container cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: Can you show me how to copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Noted: tmp. What's the task?\nUser: Can you show me how to clean it?", "completion": "You said tmp, so find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: Let's talk about port 22.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: How do I change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: What's the command to extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: how do I read an error message?", "completion": "Since you're learning from scratch, I'll avoid jargon — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I read an error message?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to expose a port?", "completion": "On Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what is git?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: The database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what's a good first project?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to create a virtual environment on this system?", "completion": "Given that you're on Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Because you lack write permission, grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I pull the latest changes?", "completion": "Given that you're on Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: What's the command to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is an array?", "completion": "Because you're new to this, let's start with the basics — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Because a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I find large files?", "completion": "On Arch Linux, find filters by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I stay motivated?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hi, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: what is a loop?", "completion": "Good to meet you, Kai. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working on the file data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: Can you show me how to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I install a package?", "completion": "Since you're on Debian, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The folder I'm using is tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: What's the command to clean it?", "completion": "Since you mentioned tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Given that the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: My script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Given that the script isn't executable, the execute bit needs to be set. The command you need is `chmod +x script.sh`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: how do I debug my code?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a bug?", "completion": "You said you're exhausted, so here's the shortest useful explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Given that the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "Since you're on Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Hello, Finley! What's on your mind?\nUser: what is a loop?", "completion": "Nice to meet you, Finley. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I create a virtual environment?", "completion": "Since you're on Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Harper. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Noted: index.html. What's the task?\nUser: open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: what's a good first project?", "completion": "Good to meet you, Quinn. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Quick context: port 27017 is the one I'm using.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I see open ports?", "completion": "Because you're using Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I see open ports?", "completion": "Because you're using Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I update the system?", "completion": "Given that you're on Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: How do I make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: Can you show me how to extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: I have a file called config.json.\nAssistant: Noted: config.json. What's the task?\nUser: What's the command to pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: How do I kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I pull the latest changes?", "completion": "Given that you're on Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Noted: src. What's the task?\nUser: How do I search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I search text in files?", "completion": "Since you're on Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Understood — venv. What should we do next?\nUser: Can you show me how to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: Can you show me how to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: Can you show me how to check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: what is a bug?", "completion": "Because you're new to this, let's start with the basics — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Hello, Sam! What's on your mind?\nUser: how do I learn to code?", "completion": "Good to meet you, Sam. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "You said the credentials are wrong, so verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Since the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Morgan. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "On Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Can you help me understand this: what should I learn first?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Since the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Quinn. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: port 5000 is the one I'm using.\nAssistant: Got it — 5000. What do you want to do with it?\nUser: Can you show me how to restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to search text in files?", "completion": "On Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: Can you show me how to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: Help — my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Because the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Since it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: Can you show me how to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: How do I push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "Given that you're on Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Nice to meet you, Charlie. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I search text in files?", "completion": "Because you're using Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I list running containers?", "completion": "Because you're using Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: Help — my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: How do I follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I check a service?", "completion": "Given that you're on Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: The branch I'm using is release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: How do I tag it?", "completion": "You said release-1.2, so git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: What's the command to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: what should I learn first?", "completion": "Since you're learning from scratch, I'll avoid jargon — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: The directory I'm dealing with is logs.\nAssistant: Understood — logs. What should we do next?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Casey. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I read an error message?", "completion": "Because you're low on energy, I'll give you the simple version — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. The command you need is `df -h`."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Hello, Jamie! What's on your mind?\nUser: how do I practice coding?", "completion": "Good to meet you, Jamie. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Hello, Finley! What's on your mind?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Finley. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Because you're new to this, let's start with the basics — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "You said experiment, so git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Understood — staging. What should we do next?\nUser: switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Dakota. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Harper. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Noted: 6379. What's the task?\nUser: What's the command to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Noted: staging. What's the task?\nUser: What's the command to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Sam. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: what is a function?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: What's the command to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "Because you're using Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to list installed packages?", "completion": "On Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I enter a container shell?", "completion": "Given that you're on Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "Given that you're on Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: how do I debug my code?", "completion": "Nice to meet you, Quinn. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Harper. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: Can you show me how to check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "On macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: what's a good first project?", "completion": "Nice to meet you, Jamie. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: How do I push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: Can you show me how to enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "On Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: I'm working with the container cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to check container resource usage on this system?", "completion": "Since you're on Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: how do I debug my code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: Can you show me how to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "On Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hi, I'm Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Because the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Taylor. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Because root owns the file, you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Given that you've had a long day, I'll keep this brief — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: how do I use the terminal?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: Can you show me how to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I see open ports?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. Run `which bash`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I update the system?", "completion": "On Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: what is a loop?", "completion": "Good to meet you, Jordan. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Understood — staging. What should we do next?\nUser: What's the command to switch to it?", "completion": "You said staging, so git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Fedora, systemd controls services. Run `systemctl status service-name`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Understood — build. What should we do next?\nUser: delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "On Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to check a service on this system?", "completion": "On Arch Linux, systemctl reports service status. Use `systemctl status service-name` for that."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check running processes?", "completion": "On Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is an array?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Because you're using Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I update the system?", "completion": "On Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: I have something listening on port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: What's the command to check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: Can you show me how to pretty-print it?", "completion": "You said config.json, so jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: How do I rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I check disk usage?", "completion": "Since you're on macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: How do I copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Fedora, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Jordan. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: How do I copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I see open ports?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: Can you show me how to open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to check container resource usage — what should I run?", "completion": "Since you're on Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I check the repository status?", "completion": "On Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to expose a port?", "completion": "Because you're using Docker, docker run publishes ports with -p. The command is `docker run -p 8080:80 image-name`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: I have something listening on port 5000.\nAssistant: Understood — 5000. What should we do next?\nUser: What's the command to restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I find large files?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to list running containers — what should I run?", "completion": "Given that you're on Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Parker. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Since deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: How do I remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what's a good first project?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I check a service?", "completion": "Since you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I enter a container shell?", "completion": "On Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I remove an image?", "completion": "Since you're on Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to install a package?", "completion": "On Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Noted: app.db. What's the task?\nUser: How do I inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Let's talk about the project-alpha directory.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: How do I compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Noted: app.py. What's the task?\nUser: What's the command to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Quick context: data.csv is the file I'm using.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: How do I count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "On Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "On Git, git log shows commits. Use `git log --oneline --graph` for that."} +{"prompt": "User: I've got a file named backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I check disk usage?", "completion": "Given that you're on Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Since you're just starting out, I'll keep this simple — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Got it — venv. What do you want to do with it?\nUser: What's the command to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Hayden. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. Use `sudo rm file-name` to fix it."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to update the system?", "completion": "Since you're on Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Because you're using macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Thanks, Taylor. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check disk usage?", "completion": "Because you're using Ubuntu, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "On Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. The command is `docker exec -it api-server bash`."} +{"prompt": "User: Quick context: I'm inside tmp.\nAssistant: Noted: tmp. What's the task?\nUser: Can you show me how to clean it?", "completion": "You said tmp, so find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I check a service?", "completion": "On Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to install a package?", "completion": "Since you're on Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Let's talk about port 22.\nAssistant: Noted: 22. What's the task?\nUser: change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: Can you show me how to scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Dakota. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Morgan. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Welcome! What would you like to learn?\nUser: how do I ask for help?", "completion": "Given that you're a beginner, here's a plain explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: how do I learn to code?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. The command you need is `ls -la`."} +{"prompt": "User: The file I'm dealing with is photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to copy a file into a container — what should I run?", "completion": "On Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: How do I run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to copy a file into a container?", "completion": "Given that you're on Docker, docker cp copies files in and out. Use `docker cp file.txt container-name:/path/` for that."} +{"prompt": "User: I'm working with port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: How do I test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: I'm working with the container postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: How do I restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: port 5000 is the one I'm using.\nAssistant: Understood — 5000. What should we do next?\nUser: How do I restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: how do I use the terminal?", "completion": "Since you're learning from scratch, I'll avoid jargon — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: Can you show me how to scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: How do I pretty-print it?", "completion": "You said config.json, so jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Just so you know, I'm Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Logan. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: What's the command to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Avery. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "Because you're using Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: how do I debug my code?", "completion": "Good to meet you, Quinn. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Parker. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I just started the container postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: Can you show me how to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Because you're new to this, let's start with the basics — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "Because you're using Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Hello, Sam! What's on your mind?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Sam. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to find large files — what should I run?", "completion": "On Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Noted: dev. What's the task?\nUser: Can you show me how to push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check a service on this system?", "completion": "On Fedora, systemd controls services. Run `systemctl status service-name`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: how do I stay motivated?", "completion": "Since you're just starting out, I'll keep this simple — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to push my commits — what should I run?", "completion": "Since you're on Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Run `command | less`."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: How do I stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. Run `dos2unix script.sh`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "You said the install lacks permissions, so install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I use the terminal?", "completion": "Because you're low on energy, I'll give you the simple version — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: How do I copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Quinn. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "On macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Thanks, Dakota. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to create a branch?", "completion": "Because you're using Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: How do I view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: How do I test the database port?", "completion": "You said 5432, so nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: What's the command to compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Noted: server.log. What's the task?\nUser: Can you show me how to follow it?", "completion": "You said server.log, so tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Understood — 5000. What should we do next?\nUser: restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Let's talk about branch main.\nAssistant: Noted: main. What's the task?\nUser: Can you show me how to pull the latest?", "completion": "You said main, so git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "On Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Noted: data.csv. What's the task?\nUser: What's the command to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Noted: staging. What's the task?\nUser: Can you show me how to switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: What's the command to scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Hello, Hayden! What's on your mind?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Hayden. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to install a package?", "completion": "On macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "On Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Got it — 22. What do you want to do with it?\nUser: How do I change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "Since you're on Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "You said the file descriptor limit is too low, so raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: What's the command to run it?", "completion": "You said app.py, so Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: The directory I'm dealing with is logs.\nAssistant: Noted: logs. What's the task?\nUser: What's the command to check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: What's the command to check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to undo the last commit?", "completion": "Given that you're on Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: I have a folder called build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: Can you show me how to delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: How do I forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: I have a file called app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Because the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: What's the command to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: The file I'm dealing with is index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: What's the command to open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: Can you show me how to test the database port?", "completion": "You said 5432, so nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: I have a container called nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I freeze my dependencies?", "completion": "Given that you're on Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: I have a folder called build.\nAssistant: Noted: build. What's the task?\nUser: What's the command to delete it?", "completion": "You said build, so rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: Can you show me how to copy it?", "completion": "You said assets, so cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Quick context: data.csv is the file I'm using.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: What's the command to count its rows?", "completion": "Given that you're dealing with data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I install a package?", "completion": "Because you're using Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to search text in files?", "completion": "On Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "Since you're on Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: How do I merge it into main?", "completion": "You said feature/login, so git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I update the system?", "completion": "Since you're on Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. Run `chmod +x /bin/bash`."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Understood — notes.txt. What should we do next?\nUser: How do I view it?", "completion": "You said notes.txt, so less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: I have a container called web-app.\nAssistant: Noted: web-app. What's the task?\nUser: What's the command to view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to see open ports — what should I run?", "completion": "On macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I search text in files?", "completion": "Because you're using Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Because the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. Run `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I find large files?", "completion": "Since you're on Arch Linux, find filters by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I check running processes?", "completion": "Because you're using Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: how do I learn to code?", "completion": "Because you're new to this, let's start with the basics — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I learn to code?", "completion": "Because you're new to this, let's start with the basics — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to expose a port on this system?", "completion": "Because you're using Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: I'm working with port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. The command is `sudo systemctl restart service-name`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: What's the command to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: how do I practice coding?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: I have a folder called logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: Can you show me how to check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Jesse. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: What's the command to switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Let's talk about the tmp directory.\nAssistant: Noted: tmp. What's the task?\nUser: How do I clean it?", "completion": "Since you mentioned tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is an array?", "completion": "Because you're new to this, let's start with the basics — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Got it — src. What do you want to do with it?\nUser: What's the command to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Noted: main. What's the task?\nUser: What's the command to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Because you're using macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: How do I check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "Given that you're on Python, the venv module creates isolated environments. You can do it with `python3 -m venv venv`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: My service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I check the Python version?", "completion": "Given that you're on Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: remove it?", "completion": "You said test-runner, so docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I install a package?", "completion": "On Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "Given that you're on Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what's a good first project?", "completion": "Given that you've had a long day, I'll keep this brief — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I search text in files?", "completion": "Since you're on Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to upgrade pip?", "completion": "Because you're using Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a loop?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is git?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Dakota. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: notes.txt is the file I'm using.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: view it?", "completion": "You said notes.txt, so less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is a variable?", "completion": "Given that you're a beginner, here's a plain explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "Since you're on Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Quick question: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Since inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I check disk usage?", "completion": "Given that you're on Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to update the system — what should I run?", "completion": "On Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "On Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Not sure what's wrong, but my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Given that the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: The directory I'm dealing with is assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Quick context: port 27017 is the one I'm using.\nAssistant: Understood — 27017. What should we do next?\nUser: Can you show me how to check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Sam. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I install a package?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. The command is `brew install package-name`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: How do I tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to update the system — what should I run?", "completion": "Because you're using Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Ubuntu, systemd manages services. Use `systemctl status service-name` for that."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I search text in files?", "completion": "Since you're on macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I check running processes?", "completion": "Since you're on macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to push my commits?", "completion": "Because you're using Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I undo the last commit?", "completion": "Since you're on Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: The file I'm dealing with is main.go.\nAssistant: Understood — main.go. What should we do next?\nUser: Can you show me how to run it?", "completion": "You said main.go, so go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I search text in files?", "completion": "Given that you're on Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "On Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "On Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Jesse. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Logan. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Since you're learning from scratch, I'll avoid jargon — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: How do I connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I list installed packages?", "completion": "Given that you're on Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. Use `df -h` to fix it."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: What's the command to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Since you're on Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Understood — archive.zip. What should we do next?\nUser: How do I unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I push my commits?", "completion": "Given that you're on Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "Since you're on Debian, systemctl reports service state. The command is `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a bug?", "completion": "Because you're low on energy, I'll give you the simple version — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: What's the command to forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Casey. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. Run `winget upgrade --all`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: I have a container called nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: How do I inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Understood — staging. What should we do next?\nUser: Can you show me how to switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I install a package?", "completion": "Given that you're on Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Just so you know, I'm Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: how do I debug my code?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to copy a file into a container on this system?", "completion": "Since you're on Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "On Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I learn to code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Understood — docs. What should we do next?\nUser: What's the command to list its files?", "completion": "You said docs, so ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I find large files?", "completion": "Given that you're on Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I update the system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: Can you show me how to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to enter a container shell?", "completion": "Because you're using Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Got it — main. What do you want to do with it?\nUser: pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: What's the command to tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: Can you show me how to compress it?", "completion": "You said project-alpha, so tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: how do I learn to code?", "completion": "Good to meet you, Finley. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to enter a container shell?", "completion": "Since you're on Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Because a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I undo the last commit?", "completion": "On Git, git reset moves the branch pointer. Run `git reset --soft HEAD~1`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to install a package on this system?", "completion": "On Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to update the system?", "completion": "Since you're on Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I stash my work?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Thanks, Kai. What would you like to know?\nUser: what is a function?", "completion": "Good to meet you, Kai. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to check container resource usage?", "completion": "Because you're using Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Noted: 5432. What's the task?\nUser: test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is a function?", "completion": "Since you mentioned you're tired, let's keep this short and practical — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "Given that you're on Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Good to meet you, Finley. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: Can you show me how to view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Noted: notes.txt. What's the task?\nUser: view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: How do I stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "You said inodes are exhausted, so remove many small files. Use `df -i` to fix it."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "Since you're on Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Noted: data.csv. What's the task?\nUser: What's the command to count its rows?", "completion": "You said data.csv, so wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what is a bug?", "completion": "Given that you're a beginner, here's a plain explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Since the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I install a package?", "completion": "Since you're on Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Given that you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: How do I test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Good to meet you, Emerson. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is a variable?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: Can you show me how to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check disk usage?", "completion": "Because you're using macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: I'm exhausted.\nAssistant: That sounds rough. What can I help with?\nUser: what is a bug?", "completion": "You said you're exhausted, so here's the shortest useful explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: The service is running on port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to find large files — what should I run?", "completion": "On Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Because the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: How do I inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "Because you're using Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to freeze my dependencies on this system?", "completion": "On Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: What's the command to push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: copy it?", "completion": "You said assets, so cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Jordan. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Alex. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what should I learn first?", "completion": "You said you're exhausted, so here's the shortest useful explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to push my commits — what should I run?", "completion": "Since you're on Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Understood — logs. What should we do next?\nUser: check its size?", "completion": "You said logs, so du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: How do I run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check running processes?", "completion": "On macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: How do I extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I check the Python version?", "completion": "Because you're using Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: Quick context: port 6379 is the one I'm using.\nAssistant: Noted: 6379. What's the task?\nUser: What's the command to connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "On Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to check the Python version?", "completion": "Given that you're on Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I read an error message?", "completion": "Given that you've had a long day, I'll keep this brief — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: Can you show me how to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I update the system?", "completion": "Since you're on Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: I have a file called deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: Can you show me how to make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I find large files?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: what is a variable?", "completion": "Good to meet you, Harper. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to install a package?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. You can do it with `brew install package-name`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "On Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Noted: dev. What's the task?\nUser: push my changes there?", "completion": "You said dev, so git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "You said the process is leaking file descriptors, so find the open files. Use `lsof -p PID` to fix it."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check running processes?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Ubuntu, apt handles package updates. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Understood — 3000. What should we do next?\nUser: check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Understood — main.go. What should we do next?\nUser: What's the command to run it?", "completion": "You said main.go, so go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Can you help me understand this: what is a variable?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Let's talk about photo.jpg — it's a file I need to handle.\nAssistant: Noted: photo.jpg. What's the task?\nUser: Can you show me how to check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: I have a file called config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: What's the command to pretty-print it?", "completion": "You said config.json, so jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Understood — archive.zip. What should we do next?\nUser: What's the command to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: how do I learn to code?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to push my commits on this system?", "completion": "Since you're on Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to find large files — what should I run?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Understood — notes.txt. What should we do next?\nUser: view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "On Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Noted: 9000. What's the task?\nUser: What's the command to scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Help — I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: I just started the container cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: What's the command to copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: My git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I stop a container?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a bug?", "completion": "Because you're low on energy, I'll give you the simple version — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to check a service — what should I run?", "completion": "On Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Thanks, Casey. What would you like to know?\nUser: how do I debug my code?", "completion": "Good to meet you, Casey. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to find large files — what should I run?", "completion": "On Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. The command you need is `lsof -p PID`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I upgrade pip?", "completion": "Because you're using Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Given that you're on Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Given that the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: How do I extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: what is a function?", "completion": "Because you're low on energy, I'll give you the simple version — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I freeze my dependencies?", "completion": "Because you're using Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Noted: tmp. What's the task?\nUser: What's the command to clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: Hello! My name is Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: how do I debug my code?", "completion": "Good to meet you, Dakota. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Port 27017 is the one I care about.\nAssistant: Noted: 27017. What's the task?\nUser: What's the command to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Let's talk about container cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: What's the command to copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: What's the command to copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Noted: web-app. What's the task?\nUser: Can you show me how to view its logs?", "completion": "You said web-app, so docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to enter a container shell?", "completion": "Because you're using Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to install a package?", "completion": "Because you're using Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I run my tests?", "completion": "Since you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is git?", "completion": "Given that you're a beginner, here's a plain explanation — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: I'm on branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: Can you show me how to rebase it?", "completion": "You said feature/api, so git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: The service is running on port 443.\nAssistant: Understood — 443. What should we do next?\nUser: What's the command to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Noted: experiment. What's the task?\nUser: delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I have a file called data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: How do I count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "Since you're on Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Noted: 8080. What's the task?\nUser: Can you show me how to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: Help — my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Good to meet you, Casey. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Quinn. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to find large files — what should I run?", "completion": "Since you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is git?", "completion": "Given that you've had a long day, I'll keep this brief — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to expose a port?", "completion": "On Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Because the Docker daemon is stopped, start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: I have something listening on port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: How do I kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: Can you show me how to clean it?", "completion": "You said tmp, so find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: How do I run it?", "completion": "You said main.go, so go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: What's the command to run it?", "completion": "Since you mentioned main.go, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Since it's a non-empty directory, rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. Use `Select-String -Path *.txt -Pattern \"text\"` for that."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check running processes?", "completion": "Given that you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I enter a container shell?", "completion": "Since you're on Docker, docker exec runs a command inside it. The command is `docker exec -it container-name bash`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to upgrade pip on this system?", "completion": "Because you're using Python, pip can upgrade itself. You can do it with `python3 -m pip install --upgrade pip`."} +{"prompt": "User: The file I'm dealing with is data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: What's the command to count its rows?", "completion": "Since you mentioned data.csv, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I have a file called config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: How do I pretty-print it?", "completion": "You said config.json, so jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Quick context: I'm inside project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Just so you know, I'm Dakota.\nAssistant: Nice to meet you, Dakota! What can I help you with?\nUser: how do I use the terminal?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: Can you show me how to forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Noted: staging. What's the task?\nUser: switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Noted: staging. What's the task?\nUser: Can you show me how to switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: The database connection is refused and I don't know why.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. You can do it with `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "On Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Because you're new to this, let's start with the basics — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using macOS, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Port 27017 is the one I care about.\nAssistant: Understood — 27017. What should we do next?\nUser: Can you show me how to check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: The file I'm dealing with is data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: How do I count its rows?", "completion": "You said data.csv, so wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: Can you show me how to check its resource usage?", "completion": "You said worker-1, so docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "You said the disk is full, so free some space. Use `df -h` to fix it."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I run a script?", "completion": "On Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Noted: venv. What's the task?\nUser: What's the command to remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: what is a variable?", "completion": "Good to meet you, Hayden. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: What's the command to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "You said the package isn't installed in this environment, so install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Taylor. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I just started the container web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: How do I view its logs?", "completion": "You said web-app, so docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Understood — main. What should we do next?\nUser: Can you show me how to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: Can you show me how to scan it for a service?", "completion": "You said 9000, so nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Good to meet you, Dakota. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to copy a file into a container — what should I run?", "completion": "Because you're using Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check disk usage?", "completion": "Given that you're on Fedora, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check a service?", "completion": "Because you're using Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: The file I'm dealing with is data.csv.\nAssistant: Thanks, I'll remember data.csv. How can I help?\nUser: How do I count its rows?", "completion": "You said data.csv, so wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I use the terminal?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Noted: 8000. What's the task?\nUser: Can you show me how to forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I install a package?", "completion": "On Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to check a service?", "completion": "Since you're on Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Kai. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Hi, I'm Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Jesse. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I check the repository status?", "completion": "Given that you're on Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: I have a file called index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: What's the command to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "You said the path or interpreter is wrong, so both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Let's talk about container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: What's the command to check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "On Ubuntu, find can filter by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on macOS, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Because systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: What's the command to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Since the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: how do I learn to code?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Since the filesystem is mounted read-only, it must be remounted read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Since you're on Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Noted: venv. What's the task?\nUser: remove it?", "completion": "You said venv, so rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I read an error message?", "completion": "Because you're new to this, let's start with the basics — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: Hey, I'm Dakota — nice to meet you.\nAssistant: Hello, Dakota! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Dakota — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Understood — docs. What should we do next?\nUser: How do I list its files?", "completion": "Since you mentioned docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to check a service?", "completion": "Since you're on Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Debian, find filters files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Quinn. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Because npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: What's the command to kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: What's the command to connect to Redis?", "completion": "Since you mentioned 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: push my changes there?", "completion": "You said dev, so git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Alex. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. Run `which bash`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Noted: 3000. What's the task?\nUser: check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to install a package?", "completion": "Because you're using Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I see open ports?", "completion": "On Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "Because you're using Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "You said the interpreter isn't executable, so restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to upgrade pip — what should I run?", "completion": "Because you're using Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "You said the package isn't installed, so install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Understood — 5432. What should we do next?\nUser: Can you show me how to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: I have a folder called venv.\nAssistant: Understood — venv. What should we do next?\nUser: What's the command to remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I search text in files?", "completion": "On Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I have a file called server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: What's the command to follow it?", "completion": "You said server.log, so tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. You can do it with `winget install package-name`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Given that a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to create a virtual environment — what should I run?", "completion": "Because you're using Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: Can you show me how to scan it for a service?", "completion": "You said 9000, so nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I just started the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: Can you show me how to enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: Quick context: I'm inside venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: Can you show me how to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to create a branch?", "completion": "On Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what is a bug?", "completion": "Because you're new to this, let's start with the basics — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "You said the lockfile is inconsistent, so regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Jamie. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I have a folder called build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: What's the command to delete it?", "completion": "You said build, so rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to run a script?", "completion": "Because you're using Python, python3 executes a script file. The command is `python3 script.py`."} +{"prompt": "User: I have a file called index.html.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: What's the command to open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: I have a file called index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: What's the command to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to stop a container?", "completion": "On Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Understood — 8000. What should we do next?\nUser: What's the command to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: I have a file called index.html.\nAssistant: Noted: index.html. What's the task?\nUser: How do I open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "On Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to check the repository status?", "completion": "Because you're using Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: Can you show me how to make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. The command is `chmod +x deploy.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: what is a function?", "completion": "Good to meet you, Parker. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Got it — src. What do you want to do with it?\nUser: How do I search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Let's talk about the project-alpha directory.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I just started the container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: How do I restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a bug?", "completion": "Since you're just starting out, I'll keep this simple — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Morgan. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Given that an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Given that you're a beginner, here's a plain explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: How do I push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I check a service?", "completion": "Since you're on macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to find large files?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: How do I tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "You said root owns the file, so you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: how do I use the terminal?", "completion": "Given that you're a beginner, here's a plain explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: Can you show me how to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: Can you show me how to stop it?", "completion": "You said redis-cache, so docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to view the history?", "completion": "Given that you're on Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I copy a file into a container?", "completion": "Since you're on Docker, docker cp copies files in and out. The command is `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Since you're learning from scratch, I'll avoid jargon — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I see open ports?", "completion": "Given that you're on Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check a service?", "completion": "Because you're using Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "Given that you're on Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Help — I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I update the system?", "completion": "On Arch Linux, pacman performs a full upgrade. Run `sudo pacman -Syu`."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Understood — archive.zip. What should we do next?\nUser: How do I unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "On Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Given that you're on macOS, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: what is a variable?", "completion": "Since you're learning from scratch, I'll avoid jargon — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is git?", "completion": "Since you mentioned you're tired, let's keep this short and practical — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Given that a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I see open ports?", "completion": "Since you're on macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what's a good first project?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to update the system — what should I run?", "completion": "On Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: The branch I'm using is dev.\nAssistant: Noted: dev. What's the task?\nUser: What's the command to push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: Can you show me how to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Use `unzip archive.zip`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: Let's talk about container cache.\nAssistant: Noted: cache. What's the task?\nUser: copy a file out of it?", "completion": "You said cache, so docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: what's a good first project?", "completion": "Thanks, Hayden — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: What's the command to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check disk usage?", "completion": "On Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Understood — 3000. What should we do next?\nUser: Can you show me how to check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. The command is `ss -tulpn | grep 3000`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is an array?", "completion": "Given that you're a beginner, here's a plain explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: What's the command to scan it for a service?", "completion": "You said 9000, so nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "Because you're using Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: Quick context: the container is cache.\nAssistant: Understood — cache. What should we do next?\nUser: copy a file out of it?", "completion": "You said cache, so docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: I have a file called app.py.\nAssistant: Noted: app.py. What's the task?\nUser: run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: How do I stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: How do I kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: How do I delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: Can you show me how to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check disk usage — what should I run?", "completion": "On Fedora, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. You can do it with `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: I'm really tired today.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what should I learn first?", "completion": "Since you mentioned you're tired, let's keep this short and practical — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Run `nvm install --lts`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to view the history?", "completion": "On Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Because it's producing too much output, pipe it to a pager. Use `command | less` to fix it."} +{"prompt": "User: Quick context: I'm inside project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: What's the command to compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: The container I'm using is test-runner.\nAssistant: Noted: test-runner. What's the task?\nUser: What's the command to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I create a branch?", "completion": "Given that you're on Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: What's the command to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to search text in files?", "completion": "On Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: Can you show me how to tag it?", "completion": "You said release-1.2, so git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Given that the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. Run `git push -u origin branch-name`."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Finley. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Noted: 22. What's the task?\nUser: What's the command to change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: What's the command to restart it?", "completion": "You said postgres-db, so docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: I'm working on the file config.json.\nAssistant: Noted: config.json. What's the task?\nUser: How do I pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: restart the service on it?", "completion": "Because 5000 is the one you're working with, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Thanks, I'll remember photo.jpg. How can I help?\nUser: How do I check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I see open ports?", "completion": "Since you're on Fedora, ss shows listening ports. Use `ss -tulpn` for that."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to check running processes?", "completion": "On macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: I'm working with the container cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: Can you show me how to copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to find large files?", "completion": "Since you're on Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. The command you need is `journalctl -u service-name -n 50`."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "Given that you're on Git, git reset moves the branch pointer. You can do it with `git reset --soft HEAD~1`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Got it — config.json. What do you want to do with it?\nUser: How do I pretty-print it?", "completion": "You said config.json, so jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: I have a file called server.log.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: How do I follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Noted: assets. What's the task?\nUser: copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: how do I practice coding?", "completion": "Good to meet you, Parker. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "On Ubuntu, systemd manages services. You can do it with `systemctl status service-name`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is a loop?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I've had a long day.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I practice coding?", "completion": "Given that you've had a long day, I'll keep this brief — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "On Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: My command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: What's the command to push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: check its size?", "completion": "You said logs, so du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Noted: index.html. What's the task?\nUser: How do I open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Understood — index.html. What should we do next?\nUser: Can you show me how to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: how do I debug my code?", "completion": "Good to meet you, Alex. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I have a file called server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: What's the command to follow it?", "completion": "You said server.log, so tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Since the lockfile is inconsistent, regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. Use `pip install package-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I list installed packages?", "completion": "Given that you're on Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Given that the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "On Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I update the system?", "completion": "On Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: The service is running on port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I list installed packages?", "completion": "Since you're on Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Thanks, Kai. What would you like to know?\nUser: what is a variable?", "completion": "Nice to meet you, Kai. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Parker. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Let's talk about port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: What's the command to change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "Because you're using Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Nice to meet you, Harper. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check a service?", "completion": "On Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Just so you know, I'm Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: how do I practice coding?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what's a good first project?", "completion": "Because you're new to this, let's start with the basics — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "You said the branch is protected, so push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Since you're just starting out, I'll keep this simple — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: How do I switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to view the history — what should I run?", "completion": "Because you're using Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "On Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: Quick context: data.csv is the file I'm using.\nAssistant: Noted: data.csv. What's the task?\nUser: How do I count its rows?", "completion": "You said data.csv, so wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: The directory I'm dealing with is logs.\nAssistant: Noted: logs. What's the task?\nUser: Can you show me how to check its size?", "completion": "You said logs, so du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the disk full?\nUser: It could be", "completion": "You said there's no space left, so free some space. Run `df -h`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Hello, Harper! What's on your mind?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Harper. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: Can you show me how to copy it?", "completion": "You said assets, so cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "On Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Jordan. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: The service is running on port 3000.\nAssistant: Understood — 3000. What should we do next?\nUser: Can you show me how to check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I install a package?", "completion": "On Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: How do I forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to create a virtual environment — what should I run?", "completion": "Because you're using Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to find large files?", "completion": "Because you're using Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to check container resource usage?", "completion": "Because you're using Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: what is a loop?", "completion": "Given that you've had a long day, I'll keep this brief — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to list installed packages?", "completion": "Given that you're on Python, pip list shows installed packages. You can do it with `pip list`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to remove an image?", "completion": "Given that you're on Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: I'm working with port 22.\nAssistant: Noted: 22. What's the task?\nUser: What's the command to change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Quick context: the container is web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: What's the command to view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Port 3000 is the one I care about.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: How do I view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I see open ports?", "completion": "Given that you're on Debian, ss shows listening sockets. Run `ss -tulpn`."} +{"prompt": "User: I've got a file named server.log.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: What's the command to follow it?", "completion": "You said server.log, so tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. The command you need is `sudo systemctl start docker`."} +{"prompt": "User: The branch I'm using is hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: What's the command to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: how do I ask for help?", "completion": "Since you mentioned you're tired, let's keep this short and practical — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Avery. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: My script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Because there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: how do I debug my code?", "completion": "Because you're low on energy, I'll give you the simple version — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check disk usage?", "completion": "On Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Because root owns the file, you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: Can you show me how to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Since root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: Let's talk about the logs directory.\nAssistant: Got it — logs. What do you want to do with it?\nUser: How do I check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: What's the command to check what's listening?", "completion": "Since you mentioned 3000, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: Can you show me how to unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Given that the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: how do I practice coding?", "completion": "Nice to meet you, Jamie. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm low on energy.\nAssistant: That sounds rough. What can I help with?\nUser: what is a loop?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I install a package?", "completion": "Given that you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I have a folder called venv.\nAssistant: Got it — venv. What do you want to do with it?\nUser: What's the command to remove it?", "completion": "You said venv, so rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Noted: build. What's the task?\nUser: Can you show me how to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: What's the command to switch to it?", "completion": "Since you mentioned staging, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Quick question: what is a variable?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I view a container's logs?", "completion": "On Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "On Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I list installed packages?", "completion": "Given that you're on Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Given that it's waiting for input, provide input or cancel it. Run `Ctrl+C`."} +{"prompt": "User: Let's talk about config.json — it's a file I need to handle.\nAssistant: Noted: config.json. What's the task?\nUser: What's the command to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Run `ss -tulpn`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I stop a container?", "completion": "Because you're using Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Given that the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Given that the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Noted: photo.jpg. What's the task?\nUser: check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. Run `ls -lh photo.jpg`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Harper. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "You said the Docker socket has wrong permissions, so fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "Since you're on Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: I'm working with port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: How do I check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: What's the command to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I check running processes?", "completion": "Because you're using macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Because the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "On Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: I'm on branch release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: What's the command to tag it?", "completion": "You said release-1.2, so git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I copy a file into a container?", "completion": "On Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Hello, Finley! What's on your mind?\nUser: what is a variable?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Understood — 9000. What should we do next?\nUser: scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. Run `nmap -p 9000 localhost`."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Taylor. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "Because you're using Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: Can you show me how to test the database port?", "completion": "You said 5432, so nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Given that you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: What's the command to push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "You said a network call is timing out, so test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. Run `strace -p PID`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Since another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I check a service?", "completion": "Given that you're on Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: Hi, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Thanks, Casey — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I have something listening on port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: What's the command to forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I check a service?", "completion": "Since you're on Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "Given that you're on Python, pip freeze lists installed versions. Run `pip freeze > requirements.txt`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "You said the process is blocked on a lock, so inspect its syscalls. Use `strace -p PID` to fix it."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Ubuntu, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. The command you need is `sudo command --port 80`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Noted: docs. What's the task?\nUser: What's the command to list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to create a branch — what should I run?", "completion": "Given that you're on Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: I'm working with port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: How do I check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Ubuntu, apt handles package updates. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: I have a folder called tmp.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: What's the command to clean it?", "completion": "Since you mentioned tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I use the terminal?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Noted: src. What's the task?\nUser: How do I search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to check the Python version — what should I run?", "completion": "Since you're on Python, the --version flag prints it. Use `python3 --version` for that."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Since you're just starting out, I'll keep this simple — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Quinn. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: Can you show me how to restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Understood — dev. What should we do next?\nUser: How do I push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: how do I ask for help?", "completion": "Given that you're a beginner, here's a plain explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to see open ports on this system?", "completion": "On Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is a variable?", "completion": "Given that you're a beginner, here's a plain explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Jamie. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: Can you show me how to check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: The folder I'm using is tmp.\nAssistant: Thanks, I'll remember tmp. How can I help?\nUser: Can you show me how to clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Since you're on Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: Can you show me how to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Debian, systemctl reports service state. Use `systemctl status service-name` for that."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. Run `find . -iname 'file-name'`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "On Arch Linux, ps shows the process table. Run `ps aux`."} +{"prompt": "User: Let's talk about server.log — it's a file I need to handle.\nAssistant: Noted: server.log. What's the task?\nUser: What's the command to follow it?", "completion": "You said server.log, so tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to see open ports on this system?", "completion": "On Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I upgrade pip?", "completion": "Because you're using Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Could you help me? My script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Since there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I find large files?", "completion": "Since you're on Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check running processes?", "completion": "Since you're on Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "On Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to check container resource usage — what should I run?", "completion": "Since you're on Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: Can you show me how to test the database port?", "completion": "You said 5432, so nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Logan. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Understood — 5432. What should we do next?\nUser: Can you show me how to test the database port?", "completion": "You said 5432, so nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Since you're learning from scratch, I'll avoid jargon — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: Can you show me how to inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Hello, Jesse! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Good to meet you, Jesse. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: How do I restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I'm on branch dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: What's the command to push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm working with port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "On Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "On Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I check container resource usage?", "completion": "Since you're on Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: Can you show me how to remove it?", "completion": "Since you mentioned test-runner, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: Can you show me how to kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: How do I delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: Can you show me how to compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: How do I test the database port?", "completion": "You said 5432, so nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I'm working with the container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I update the system?", "completion": "On Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what should I learn first?", "completion": "Given that you've had a long day, I'll keep this brief — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Let's talk about branch feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: What's the command to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Since the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: What's the command to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: Can you show me how to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I install a package?", "completion": "Given that you're on Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: how do I practice coding?", "completion": "Nice to meet you, Alex. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Given that logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: what is a function?", "completion": "Good to meet you, Jamie. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is mounted read-only, so remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: The directory I'm dealing with is tmp.\nAssistant: Understood — tmp. What should we do next?\nUser: How do I clean it?", "completion": "Since you mentioned tmp, find can delete matching files. Run `find tmp -type f -delete`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to update the system on this system?", "completion": "On macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: How do I test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I check a service?", "completion": "Given that you're on Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: The service is running on port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: Can you show me how to restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: what is a loop?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "Since you're on Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to copy a file into a container — what should I run?", "completion": "Given that you're on Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Let's talk about data.csv — it's a file I need to handle.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: How do I count its rows?", "completion": "You said data.csv, so wc counts lines in text files. Use `wc -l data.csv`."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: What's the command to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Because you're using macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to update the system on this system?", "completion": "On Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to check the Python version?", "completion": "On Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: Hi, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with the container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: Can you show me how to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: Can you show me how to stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I check running processes?", "completion": "On Debian, ps gives a process snapshot. Run `ps aux`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: How do I inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: The directory I'm dealing with is src.\nAssistant: Noted: src. What's the task?\nUser: search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Got it — test-runner. What do you want to do with it?\nUser: How do I remove it?", "completion": "Given that you're dealing with test-runner, docker rm -f removes it. The command is `docker rm -f test-runner`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Hey, I'm Hayden — nice to meet you.\nAssistant: Hello, Hayden! What's on your mind?\nUser: how do I learn to code?", "completion": "Nice to meet you, Hayden. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: config.json is the file I'm using.\nAssistant: Understood — config.json. What should we do next?\nUser: What's the command to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: How do I view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I install a package?", "completion": "Since you're on Arch Linux, pacman is the package manager. Run `sudo pacman -S package-name`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. Use `command-name --help` to fix it."} +{"prompt": "User: Quick context: my branch is main.\nAssistant: Got it — main. What do you want to do with it?\nUser: pull the latest?", "completion": "Because main is the one you're working with, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: How do I merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: The database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Given that the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Noted: deploy.sh. What's the task?\nUser: make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: I just started the container worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Use `docker stats worker-1`."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: I'm on branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Noted: assets. What's the task?\nUser: Can you show me how to copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check a service?", "completion": "On Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Understood — dev. What should we do next?\nUser: push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Given that the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: How do I view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Fedora, systemd controls services. Run `systemctl status service-name`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to expose a port on this system?", "completion": "Since you're on Docker, docker run publishes ports with -p. You can do it with `docker run -p 8080:80 image-name`."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Noted: release-1.2. What's the task?\nUser: What's the command to tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to update the system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I update the system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: Quick context: main.go is the file I'm using.\nAssistant: Understood — main.go. What should we do next?\nUser: Can you show me how to run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Because you're using Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to expose a port?", "completion": "Since you're on Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Help — my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "You said it's waiting for input, so provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I install a package?", "completion": "Since you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: What's the command to check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: what is a loop?", "completion": "Given that you're a beginner, here's a plain explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Arch Linux, find filters by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Port 3000 is the one I care about.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Because ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: How do I view it?", "completion": "Given that you're dealing with notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to freeze my dependencies?", "completion": "Since you're on Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: My service won't start, can you help?\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Because systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Thanks, I'll remember 8000. How can I help?\nUser: forward it to another port?", "completion": "Given that you're dealing with 8000, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I'm working in the build folder.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: How do I delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: What's the command to check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Since you're just starting out, I'll keep this simple — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Because the install lacks permissions, install for your user. Use `pip install --user package-name` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to view the history?", "completion": "On Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to upgrade pip?", "completion": "Because you're using Python, pip can upgrade itself. Run `python3 -m pip install --upgrade pip`."} +{"prompt": "User: My service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "You said a required dependency is missing, so install it. Use `sudo apt install dependency-name` to fix it."} +{"prompt": "User: I've got a file named index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: How do I open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Given that SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: I'm stuck: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Understood — src. What should we do next?\nUser: search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "Because you're using Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I read an error message?", "completion": "Since you're learning from scratch, I'll avoid jargon — start at the end. Read the last line first, then the file and line number it points to."} +{"prompt": "User: Quick context: my branch is dev.\nAssistant: Got it — dev. What do you want to do with it?\nUser: What's the command to push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: I have a file called server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Avery. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "Given that you're on Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: Quick context: I'm inside project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: What's the command to compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Run `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: how do I learn to code?", "completion": "Since you're just starting out, I'll keep this simple — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: how do I stay motivated?", "completion": "Good to meet you, Logan. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello! My name is Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: what is a variable?", "completion": "Nice to meet you, Taylor. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Sam. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Not sure what's wrong, but I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. Use `readlink -f link-name` to fix it."} +{"prompt": "User: Hi, I'm Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Jordan. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: Can you show me how to compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: Can you show me how to inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Because the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "Given that you're on Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: what is a variable?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I view the history?", "completion": "Since you're on Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: Hi, I'm Hayden.\nAssistant: Hello, Hayden! What's on your mind?\nUser: what should I learn first?", "completion": "Good to meet you, Hayden. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: how do I use the terminal?", "completion": "Because you're low on energy, I'll give you the simple version — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. The command you need is `ls -la`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to expose a port?", "completion": "Because you're using Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Since the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what is an array?", "completion": "Since you're learning from scratch, I'll avoid jargon — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "On Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I see open ports?", "completion": "On Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: How do I run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on macOS, lsof lists open network files. You can do it with `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Thanks, Harper. What would you like to know?\nUser: how do I practice coding?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: What's the command to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "You said an if block is missing fi, so add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I stop a container?", "completion": "Because you're using Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Got it — logs. What do you want to do with it?\nUser: How do I check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Since you're just starting out, I'll keep this simple — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Since the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: How do I connect to Redis?", "completion": "Because 6379 is the one you're working with, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: I need help because my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "You said it's producing too much output, so pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: Not sure what's wrong, but ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "You said the host address is wrong, so verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "On Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Noted: build. What's the task?\nUser: delete it?", "completion": "You said build, so rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I learn to code?", "completion": "Given that you're a beginner, here's a plain explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: port 8080 is the one I'm using.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: How do I kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: The service is running on port 22.\nAssistant: Understood — 22. What should we do next?\nUser: How do I change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. Use `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: What's the command to delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: what should I learn first?", "completion": "Good to meet you, Taylor. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I just started the container cache.\nAssistant: Thanks, I'll remember cache. How can I help?\nUser: copy a file out of it?", "completion": "Since you mentioned cache, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. The command you need is `rm -rf node_modules package-lock.json && npm install`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I update the system?", "completion": "Since you're on macOS, brew upgrades installed packages. You can do it with `brew upgrade`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to install a package on this system?", "completion": "On Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "On Ubuntu, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Because the firewall is blocking the port, open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Quick context: notes.txt is the file I'm using.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: I just started the container postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: What's the command to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Let's talk about container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: Can you show me how to remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: Port 27017 is the one I care about.\nAssistant: Noted: 27017. What's the task?\nUser: check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "You said an ACL is denying access, so inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on Ubuntu, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Given that the configuration is invalid, test the config first. Run `service-name --test-config`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to find large files — what should I run?", "completion": "On Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: What's the command to check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I update the system?", "completion": "On Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to list installed packages on this system?", "completion": "On Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I check a service?", "completion": "Given that you're on Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: No problem at all. What can I explain?\nUser: how do I practice coding?", "completion": "Since you're just starting out, I'll keep this simple — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I update the system?", "completion": "On macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "On Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I list installed packages?", "completion": "Given that you're on Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Hello, Casey! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Casey. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: Can you show me how to check its size?", "completion": "You said logs, so du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. Run `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: The branch I'm using is dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: Can you show me how to push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Because you're using macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to check the Python version — what should I run?", "completion": "On Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to run a script on this system?", "completion": "On Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: I have something listening on port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: How do I check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: what is a loop?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I check disk usage?", "completion": "Given that you're on Fedora, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Jordan. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: Can you show me how to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Hello! My name is Jordan.\nAssistant: Hello, Jordan! What's on your mind?\nUser: how do I debug my code?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to search text in files?", "completion": "Since you're on macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: I'm working in the project-alpha folder.\nAssistant: Understood — project-alpha. What should we do next?\nUser: How do I compress it?", "completion": "You said project-alpha, so tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "You said the Docker daemon is stopped, so start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to see open ports — what should I run?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: How do I check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: I have something listening on port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: check what's listening?", "completion": "You said 3000, so ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Understood — 8080. What should we do next?\nUser: How do I kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Fedora, dnf handles system upgrades. The command is `sudo dnf upgrade`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "You said inodes are exhausted, so remove many small files. Run `df -i`."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Understood — 8000. What should we do next?\nUser: Can you show me how to forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Noted: notes.txt. What's the task?\nUser: view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: I have a file called index.html.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: What's the command to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: I've got a file named main.go.\nAssistant: Noted: main.go. What's the task?\nUser: Can you show me how to run it?", "completion": "You said main.go, so go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: I've got a file named backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "You said you're in the wrong directory, so move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Because the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: The container I'm using is redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: Can you show me how to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: Can you show me how to switch to it?", "completion": "You said staging, so git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: What's the command to restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I'm working on the file main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: Can you show me how to run it?", "completion": "You said main.go, so go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Noted: app.py. What's the task?\nUser: How do I run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Thanks, I'll remember feature/api. How can I help?\nUser: Can you show me how to rebase it?", "completion": "You said feature/api, so git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Quick context: my branch is feature/login.\nAssistant: Thanks, I'll remember feature/login. How can I help?\nUser: What's the command to merge it into main?", "completion": "Since you mentioned feature/login, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: I'm working with the container redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: Can you show me how to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is git?", "completion": "Because you're low on energy, I'll give you the simple version — it's a snapshot system. Git is version control that saves snapshots so you can branch and collaborate."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Help — my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "You said deleted files are still held open, so restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: I just started the container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Noted: docs. What's the task?\nUser: list its files?", "completion": "Since you mentioned docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I update the system?", "completion": "Since you're on Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Hi, I'm Kai.\nAssistant: Hello, Kai! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to see open ports?", "completion": "On Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what should I learn first?", "completion": "Given that you're a beginner, here's a plain explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Since the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I run my tests?", "completion": "Since you're on Python, pytest discovers and runs tests. Run `pytest`."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "You said the remote has commits you don't, so pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Given that you're on Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Since the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a loop?", "completion": "Since you mentioned you're tired, let's keep this short and practical — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on macOS, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to run a script — what should I run?", "completion": "Since you're on Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Because the branch is protected, push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: I didn't sleep well.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: what is a function?", "completion": "Since you mentioned you're tired, let's keep this short and practical — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I just started the container api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Given that you're a beginner, here's a plain explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what is a loop?", "completion": "Given that you've had a long day, I'll keep this brief — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: How do I check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: I have something listening on port 443.\nAssistant: Noted: 443. What's the task?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I list running containers?", "completion": "Given that you're on Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Got it — src. What do you want to do with it?\nUser: What's the command to search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Let's talk about the logs directory.\nAssistant: Noted: logs. What's the task?\nUser: check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I check disk usage?", "completion": "On macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what should I learn first?", "completion": "Since you're just starting out, I'll keep this simple — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I've got a file named archive.zip.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: Can you show me how to unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Noted: build. What's the task?\nUser: Can you show me how to delete it?", "completion": "You said build, so rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Noted: staging. What's the task?\nUser: How do I switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Hey, I'm Taylor — nice to meet you.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I check running processes?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: The container I'm using is postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: Can you show me how to restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I update the system?", "completion": "Because you're using Arch Linux, pacman performs a full upgrade. You can do it with `sudo pacman -Syu`."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to push my commits?", "completion": "Since you're on Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: I need help because my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "You said there's a quoting or syntax mistake, so the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I expose a port?", "completion": "Given that you're on Docker, docker run publishes ports with -p. Run `docker run -p 8080:80 image-name`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "Since you're on Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: what is a bug?", "completion": "Since you mentioned you're tired, let's keep this short and practical — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to push my commits — what should I run?", "completion": "Since you're on Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Noted: feature/api. What's the task?\nUser: What's the command to rebase it?", "completion": "You said feature/api, so git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Since the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: what is a function?", "completion": "Nice to meet you, Alex. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to check the Python version?", "completion": "Since you're on Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: The folder I'm using is src.\nAssistant: Got it — src. What do you want to do with it?\nUser: How do I search inside it?", "completion": "You said src, so grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: how do I learn to code?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Finley. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to find large files?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. Run `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Quick context: I'm inside project-alpha.\nAssistant: Understood — project-alpha. What should we do next?\nUser: How do I compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. Run `brew install package-name`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to run my tests on this system?", "completion": "Since you're on Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Given that a network call is timing out, test connectivity. The command you need is `curl -I https://example.com`."} +{"prompt": "User: The folder I'm using is logs.\nAssistant: Noted: logs. What's the task?\nUser: Can you show me how to check its size?", "completion": "You said logs, so du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: The service is running on port 22.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: How do I change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Got it — worker-1. What do you want to do with it?\nUser: What's the command to check its resource usage?", "completion": "Given that you're dealing with worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I find large files?", "completion": "Given that you're on Ubuntu, find can filter by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Understood — feature/login. What should we do next?\nUser: merge it into main?", "completion": "You said feature/login, so git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: I just started the container api-server.\nAssistant: Understood — api-server. What should we do next?\nUser: enter its shell?", "completion": "You said api-server, so docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: I'm stuck: I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. The command you need is `df -h`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Let's talk about container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: How do I stop it?", "completion": "Given that you're dealing with redis-cache, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to check container resource usage on this system?", "completion": "On Docker, docker stats shows live usage. The command is `docker stats`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "Since you're on Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to freeze my dependencies?", "completion": "Since you're on Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Given that the file has Windows line endings, convert it to Unix line endings. Use `dos2unix script.sh` to fix it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to undo the last commit on this system?", "completion": "Because you're using Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: Can you show me how to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to remove an image on this system?", "completion": "On Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: Quick question: how do I debug my code?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: Quick question: docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Given that the Docker socket has wrong permissions, fix the socket mode. The command you need is `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Given that you're a beginner, here's a plain explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Noted: 5432. What's the task?\nUser: How do I test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: The container I'm using is postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: How do I restart it?", "completion": "Because postgres-db is the one you're working with, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: I'm working in the docs folder.\nAssistant: Noted: docs. What's the task?\nUser: Can you show me how to list its files?", "completion": "Since you mentioned docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: What's the command to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Harper. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Thanks, Parker. What would you like to know?\nUser: how do I learn to code?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: how do I practice coding?", "completion": "Because you're new to this, let's start with the basics — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Let's talk about port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: Can you show me how to change the SSH port?", "completion": "Given that you're dealing with 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is a function?", "completion": "Because you're new to this, let's start with the basics — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with the container cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: How do I copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. The command is `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: The file I'm dealing with is app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: How do I run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. Use `python3 app.py`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I remove an image?", "completion": "On Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Harper. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Alex. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. The command you need is `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to expose a port on this system?", "completion": "Because you're using Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Understood — build. What should we do next?\nUser: Can you show me how to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: I'm working with the container redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: How do I stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. The command is `docker stop redis-cache`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: Can you show me how to delete it?", "completion": "You said experiment, so git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "You said the package isn't installed, so install it with the system package manager. The command you need is `sudo apt install package-name`."} +{"prompt": "User: Let's talk about app.py — it's a file I need to handle.\nAssistant: Noted: app.py. What's the task?\nUser: How do I run it?", "completion": "Given that you're dealing with app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "On Debian, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "On Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: Hi, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: what should I learn first?", "completion": "Good to meet you, Quinn. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to copy a file into a container — what should I run?", "completion": "On Docker, docker cp copies files in and out. Use `docker cp file.txt container-name:/path/` for that."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: What's the command to make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: Port 27017 is the one I care about.\nAssistant: Noted: 27017. What's the task?\nUser: check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I remove an image?", "completion": "On Docker, docker rmi deletes an image. Use `docker rmi image-name` for that."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Thanks, I'll remember build. How can I help?\nUser: What's the command to delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: what should I learn first?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Since the shebang path is wrong, use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to check the repository status — what should I run?", "completion": "Given that you're on Git, git status summarizes changes. You can do it with `git status`."} +{"prompt": "User: I'm working with port 443.\nAssistant: Noted: 443. What's the task?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: I just started the container postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to check a service — what should I run?", "completion": "On Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: The branch I'm using is experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: delete it?", "completion": "You said experiment, so git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: I have a file called app.db.\nAssistant: Understood — app.db. What should we do next?\nUser: What's the command to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Nice to meet you, Jesse! What can I help you with?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Understood — 22. What should we do next?\nUser: How do I change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Understood — notes.txt. What should we do next?\nUser: How do I view it?", "completion": "You said notes.txt, so less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: what is a function?", "completion": "Nice to meet you, Emerson. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Because you're new to this, let's start with the basics — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Morgan. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I check running processes?", "completion": "Since you're on Windows PowerShell, Get-Process lists running processes. The command is `Get-Process`."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: What's the command to view it?", "completion": "You said notes.txt, so less is a safe pager. The command is `less notes.txt`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I list installed packages?", "completion": "Since you're on Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: I've got a file named backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: What's the command to extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: My command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. The command you need is `command-name --help`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Sam. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I run a script?", "completion": "Because you're using Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a bug?", "completion": "You said you're exhausted, so here's the shortest useful explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Not sure what's wrong, but docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. Use `sudo docker ps` to fix it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I stash my work?", "completion": "Since you're on Git, git stash shelves uncommitted changes. The command is `git stash`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I install a package?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. You can do it with `brew install package-name`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Because you're using Ubuntu, find can filter by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Because the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Got it — index.html. What do you want to do with it?\nUser: What's the command to open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I check a service?", "completion": "Since you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to install a package — what should I run?", "completion": "Since you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "You said inodes are exhausted, so remove many small files. Run `df -i`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: How do I extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. The command is `tar -xzf backup.tar.gz`."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Emerson. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working in the assets folder.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: What's the command to copy it?", "completion": "You said assets, so cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I stop a container?", "completion": "Because you're using Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Harper. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "Because you're using Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I just started the container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: What's the command to inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: I have something listening on port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: Can you show me how to change the SSH port?", "completion": "Because 22 is the one you're working with, sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: Quick question: what is a loop?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: My script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "You said there's a quoting or syntax mistake, so the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. The command you need is `systemctl edit service-name`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Use `Get-Service service-name` for that."} +{"prompt": "User: Quick context: archive.zip is the file I'm using.\nAssistant: Understood — archive.zip. What should we do next?\nUser: What's the command to unzip it?", "completion": "Because archive.zip is the one you're working with, unzip extracts zip archives. Run `unzip archive.zip`."} +{"prompt": "User: The file I'm dealing with is deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: How do I check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Noted: redis-cache. What's the task?\nUser: Can you show me how to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Because the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Is the lockfile consistent?\nUser: I changed package.json recently", "completion": "Given that the lockfile is inconsistent, regenerate it. Use `rm -rf node_modules package-lock.json && npm install` to fix it."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I install a package?", "completion": "Because you're using macOS, Homebrew is the usual package manager. You can do it with `brew install package-name`."} +{"prompt": "User: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Since the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: How do I kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: port 9000 is the one I'm using.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: How do I scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to push my commits?", "completion": "Because you're using Git, git push uploads to the remote. You can do it with `git push`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "You said the symlink points nowhere, so inspect and recreate it. Run `readlink -f link-name`."} +{"prompt": "User: Hello! My name is Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: what should I learn first?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to freeze my dependencies — what should I run?", "completion": "Because you're using Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to stash my work?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. Use `git stash` for that."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "Given that you're on Debian, systemctl reports service state. Run `systemctl status service-name`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to install a package?", "completion": "On Python, pip installs Python packages. The command is `pip install package-name`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to find large files?", "completion": "On Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. Run `bash -n script.sh`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check a service?", "completion": "Given that you're on Fedora, systemd controls services. The command is `systemctl status service-name`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: what's a good first project?", "completion": "Because you're new to this, let's start with the basics — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: What's the command to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to check disk usage on this system?", "completion": "Since you're on Fedora, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I update the system?", "completion": "Since you're on Arch Linux, pacman performs a full upgrade. Use `sudo pacman -Syu` for that."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Given that the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: What's the command to inspect its tables?", "completion": "Because app.db is the one you're working with, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what is a variable?", "completion": "Given that you've had a long day, I'll keep this brief — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. Use `sudo ufw allow 5432/tcp` to fix it."} +{"prompt": "User: My bash script has a syntax error and I don't know why.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Because the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Hello, Kai! What's on your mind?\nUser: how do I practice coding?", "completion": "Good to meet you, Kai. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to undo the last commit?", "completion": "On Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: Quick context: the container is worker-1.\nAssistant: Thanks, I'll remember worker-1. How can I help?\nUser: How do I check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to see open ports — what should I run?", "completion": "Given that you're on macOS, lsof lists open network files. Run `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I just started the container cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: copy a file out of it?", "completion": "Because cache is the one you're working with, docker cp copies files. Use `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: Can you show me how to pull the latest changes?", "completion": "On Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. The command you need is `getfacl file-name`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: I have a container called nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: What's the command to inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Understood — index.html. What should we do next?\nUser: How do I open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Given that the client is using the wrong port, match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Got it — logs. What do you want to do with it?\nUser: check its size?", "completion": "You said logs, so du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to install a package?", "completion": "Because you're using Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: what should I learn first?", "completion": "Given that you're a beginner, here's a plain explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: Can you show me how to list its files?", "completion": "Since you mentioned docs, ls lists directory contents. The command is `ls -lah docs`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. Run `which bash`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: what is a function?", "completion": "Given that you're a beginner, here's a plain explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: My command just hangs and I don't know why.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Since it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I pull the latest changes?", "completion": "Because you're using Git, git pull fetches and merges. The command is `git pull`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Quick context: my branch is main.\nAssistant: Noted: main. What's the task?\nUser: How do I pull the latest?", "completion": "You said main, so git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Jordan. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "Since you're on Python, the venv module creates isolated environments. Use `python3 -m venv venv` for that."} +{"prompt": "User: Let's talk about backup.tar.gz — it's a file I need to handle.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: Can you show me how to extract it?", "completion": "You said backup.tar.gz, so tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Nice to meet you, Emerson. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Nice to meet you, Avery! What can I help you with?\nUser: Quick question: what is a loop?", "completion": "Good to meet you, Avery. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Because the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: I just started the container web-app.\nAssistant: Got it — web-app. What do you want to do with it?\nUser: Can you show me how to view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to create a branch?", "completion": "Given that you're on Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Since the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "On Git, git stash shelves uncommitted changes. Run `git stash`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I run my tests?", "completion": "Because you're using Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to commit my changes — what should I run?", "completion": "Given that you're on Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-Process lists running processes. You can do it with `Get-Process`."} +{"prompt": "User: I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Hello! My name is Quinn.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: how do I practice coding?", "completion": "Good to meet you, Quinn. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Fedora, systemd controls services. Run `systemctl status service-name`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I view the history?", "completion": "On Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: The folder I'm using is assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: What's the command to copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to list running containers on this system?", "completion": "Since you're on Docker, docker ps shows active containers. Run `docker ps`."} +{"prompt": "User: The database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Because the firewall blocks the database port, allow the port. Run `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Avery. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to view the history?", "completion": "Because you're using Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "On Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: Let's talk about server.log — it's a file I need to handle.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: How do I follow it?", "completion": "You said server.log, so tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Jamie. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: How do I extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I have a container called web-app.\nAssistant: Noted: web-app. What's the task?\nUser: view its logs?", "completion": "You said web-app, so docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check a service?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I upgrade pip?", "completion": "On Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Quick question: my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I have a container called redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. Run `lsof file-name`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Thanks, Taylor — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm on branch main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: How do I pull the latest?", "completion": "You said main, so git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Let's talk about the project-alpha directory.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Given that the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to push my commits?", "completion": "On Git, git push uploads to the remote. Run `git push`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. Use `which bash` to fix it."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: how do I debug my code?", "completion": "Good to meet you, Emerson. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Got it — 443. What do you want to do with it?\nUser: How do I check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: How do I tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what should I learn first?", "completion": "Because you're low on energy, I'll give you the simple version — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Noted: 9000. What's the task?\nUser: How do I scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check disk usage — what should I run?", "completion": "On Debian, df reports free and used space. Run `df -h`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I search text in files?", "completion": "On Fedora, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: How do I merge it into main?", "completion": "Given that you're dealing with feature/login, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I search text in files?", "completion": "Since you're on Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Given that the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'll keep this concise. What do you want to know?\nUser: how do I debug my code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "Because you're using Docker, docker stop sends a graceful signal. Run `docker stop container-name`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "You said root owns the file, so you need elevated privileges or ownership. The command you need is `sudo chown $USER file-name`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Since the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Morgan. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to check container resource usage?", "completion": "On Docker, docker stats shows live usage. You can do it with `docker stats`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to remove an image?", "completion": "Since you're on Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Since the firewall is blocking the port, open it in the firewall. Use `sudo ufw allow 8080/tcp` to fix it."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: How do I tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to view the history — what should I run?", "completion": "Because you're using Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "You said the command needs elevated privileges, so run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: what is a function?", "completion": "Nice to meet you, Harper. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Finley. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Because the command needs elevated privileges, run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to check a service?", "completion": "Since you're on Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to install a package on this system?", "completion": "Given that you're on Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. Use `npm config set prefix ~/.npm-global` to fix it."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Can you help me understand this: what's a good first project?", "completion": "Because you're low on energy, I'll give you the simple version — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Given that the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: Help — I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. The command you need is `df -h`."} +{"prompt": "User: The port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Given that the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Quick question: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Since you're on Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Debian, ss shows listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to check a service?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I find large files?", "completion": "Given that you're on macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Given that the shebang has a carriage return, strip the CR characters. Use `sed -i 's/\\r$//' script.sh` to fix it."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: What's the command to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Fedora, find can match by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Because you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Fedora, dnf is the package manager. You can do it with `sudo dnf install package-name`."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: run it?", "completion": "You said app.py, so Python can execute it directly. Run `python3 app.py`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. The command you need is `psql -p 5432 -h localhost`."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Noted: server.log. What's the task?\nUser: What's the command to follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Since the script isn't executable, the execute bit needs to be set. Run `chmod +x script.sh`."} +{"prompt": "User: Quick context: the container is postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: How do I restart it?", "completion": "Given that you're dealing with postgres-db, docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: What's the command to rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to copy a file into a container on this system?", "completion": "Since you're on Docker, docker cp copies files in and out. You can do it with `docker cp file.txt container-name:/path/`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I debug my code?", "completion": "Because you're new to this, let's start with the basics — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. You can do it with `ps aux`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Given that it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: Can you show me how to pretty-print it?", "completion": "Since you mentioned config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: The file I'm dealing with is archive.zip.\nAssistant: Understood — archive.zip. What should we do next?\nUser: Can you show me how to unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. The command you need is `rm -rf folder-name`."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Understood — 443. What should we do next?\nUser: How do I check the HTTPS certificate?", "completion": "Given that you're dealing with 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to find large files — what should I run?", "completion": "Given that you're on Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Charlie. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: How do I scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to check container resource usage — what should I run?", "completion": "Given that you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Arch Linux, ps shows the process table. Use `ps aux` for that."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Nice to meet you, Riley! What can I help you with?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Riley. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I ask for help?", "completion": "You said you're exhausted, so here's the shortest useful explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. Use `git push origin feature-branch` to fix it."} +{"prompt": "User: Hi, I'm Jamie.\nAssistant: Nice to meet you, Jamie! What can I help you with?\nUser: what is a variable?", "completion": "Good to meet you, Jamie. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: What's the command to test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Given that Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Noted: 8000. What's the task?\nUser: forward it to another port?", "completion": "Because 8000 is the one you're working with, SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: The directory I'm dealing with is src.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: How do I search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Let's talk about the tmp directory.\nAssistant: Got it — tmp. What do you want to do with it?\nUser: How do I clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I copy a file into a container?", "completion": "Since you're on Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to view a container's logs on this system?", "completion": "Given that you're on Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I find large files?", "completion": "Given that you're on Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: How do I install a package?", "completion": "Because you're using Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Could you help me? Python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Because you're using a different virtual environment, activate the right environment. Use `source venv/bin/activate` to fix it."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "On Debian, ps gives a process snapshot. Run `ps aux`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. Use `Get-PSDrive -PSProvider FileSystem` for that."} +{"prompt": "User: I just checked out the branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: Can you show me how to tag it?", "completion": "Because release-1.2 is the one you're working with, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Quick context: the container is redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: How do I stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Run `docker stop redis-cache`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Since the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: Let's talk about branch hotfix/payment.\nAssistant: Noted: hotfix/payment. What's the task?\nUser: What's the command to push it?", "completion": "Since you mentioned hotfix/payment, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: What's the command to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to freeze my dependencies — what should I run?", "completion": "Because you're using Python, pip freeze lists installed versions. You can do it with `pip freeze > requirements.txt`."} +{"prompt": "User: I have a container called web-app.\nAssistant: Understood — web-app. What should we do next?\nUser: How do I view its logs?", "completion": "Given that you're dealing with web-app, docker logs prints output. Use `docker logs web-app`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check a service — what should I run?", "completion": "Because you're using Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: Quick context: app.py is the file I'm using.\nAssistant: Understood — app.py. What should we do next?\nUser: Can you show me how to run it?", "completion": "Because app.py is the one you're working with, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: I'm exhausted.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is a variable?", "completion": "Because you're low on energy, I'll give you the simple version — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm stuck: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I have a file called app.py.\nAssistant: Understood — app.py. What should we do next?\nUser: What's the command to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: I just started the container test-runner.\nAssistant: Understood — test-runner. What should we do next?\nUser: How do I remove it?", "completion": "Because test-runner is the one you're working with, docker rm -f removes it. Use `docker rm -f test-runner`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I find large files?", "completion": "Since you're on Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I have a file called server.log.\nAssistant: Noted: server.log. What's the task?\nUser: Can you show me how to follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: I'm on branch feature/login.\nAssistant: Got it — feature/login. What do you want to do with it?\nUser: merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Use `git switch main && git merge feature/login`."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Noted: 22. What's the task?\nUser: change the SSH port?", "completion": "You said 22, so sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I search text in files?", "completion": "Since you're on Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I check a service?", "completion": "Because you're using macOS, launchctl manages background services. Use `launchctl list` for that."} +{"prompt": "User: The file I'm dealing with is backup.tar.gz.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: Can you show me how to extract it?", "completion": "Since you mentioned backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Thanks, I'll remember deploy.sh. How can I help?\nUser: Can you show me how to make it executable?", "completion": "You said deploy.sh, so chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: I have something listening on port 3000.\nAssistant: Noted: 3000. What's the task?\nUser: Can you show me how to check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a loop?", "completion": "Because you're low on energy, I'll give you the simple version — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "On Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Given that another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what should I learn first?", "completion": "You said you're exhausted, so here's the shortest useful explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Good to meet you, Hayden. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Given that npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "You said the script isn't executable, so the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Fedora, dnf is the package manager. The command is `sudo dnf install package-name`."} +{"prompt": "User: I just checked out the branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: What's the command to push my changes there?", "completion": "Given that you're dealing with dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: Can you show me how to undo the last commit?", "completion": "On Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Ubuntu, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: I'm on branch staging.\nAssistant: Noted: staging. What's the task?\nUser: How do I switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hi! What do you need help with on your Python project?\nUser: What's the best way to check the Python version on this system?", "completion": "Given that you're on Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to push my commits — what should I run?", "completion": "Because you're using Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: Can you show me how to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to check running processes on this system?", "completion": "On Debian, ps gives a process snapshot. The command is `ps aux`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Quick context: data.csv is the file I'm using.\nAssistant: Understood — data.csv. What should we do next?\nUser: Can you show me how to count its rows?", "completion": "You said data.csv, so wc counts lines in text files. The command is `wc -l data.csv`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is a function?", "completion": "You said you're exhausted, so here's the shortest useful explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "Because 443 is the one you're working with, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Given that inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: What's the command to compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Arch Linux, systemctl reports service status. Run `systemctl status service-name`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to view a container's logs — what should I run?", "completion": "Given that you're on Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. The command you need is `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to copy a file into a container on this system?", "completion": "Given that you're on Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I'm new to all of this.\nAssistant: No problem at all. What can I explain?\nUser: what is a function?", "completion": "Since you're just starting out, I'll keep this simple — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Let's talk about port 5000.\nAssistant: Thanks, I'll remember 5000. How can I help?\nUser: Can you show me how to restart the service on it?", "completion": "Since you mentioned 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to find large files?", "completion": "Since you're on macOS, find can match files by size. Run `find . -type f -size +100M`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. The command you need is `sudo ufw allow 22/tcp`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check running processes?", "completion": "On Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to stash my work?", "completion": "Given that you're on Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to check disk usage — what should I run?", "completion": "On macOS, df reports filesystem usage. The command is `df -h`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to install a package — what should I run?", "completion": "On Python, pip installs Python packages. You can do it with `pip install package-name`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Since you're just starting out, I'll keep this simple — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Since the credentials are wrong, verify the username and password. Use `psql -U user -d database` to fix it."} +{"prompt": "User: The container I'm using is redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: Can you show me how to stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Not sure what's wrong, but I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "Because you're using Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: How do I check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: what should I learn first?", "completion": "Since you mentioned you're tired, let's keep this short and practical — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: Can you show me how to search text in files?", "completion": "On Fedora, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Debian, find filters files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what's a good first project?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what's a good first project?", "completion": "Given that you're a beginner, here's a plain explanation — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Hello, Morgan! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "Since the file has Windows line endings, convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: I'm stuck: my command just hangs.\nAssistant: Is it producing a lot of output?\nUser: Yes, the terminal is flooded", "completion": "Since it's producing too much output, pipe it to a pager. The command you need is `command | less`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Given that the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: I need help because my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "Since systemd reports a failure, read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Ubuntu, apt handles package updates. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to expose a port on this system?", "completion": "On Docker, docker run publishes ports with -p. The command is `docker run -p 8080:80 image-name`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Thanks, I'll remember project-alpha. How can I help?\nUser: What's the command to compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "Given that the firewall blocks the database port, allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Fedora, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to upgrade pip — what should I run?", "completion": "Given that you're on Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Hello, Charlie! What's on your mind?\nUser: what's a good first project?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a bug?", "completion": "Given that you're a beginner, here's a plain explanation — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I'm just starting out.\nAssistant: Welcome! What would you like to learn?\nUser: what is an array?", "completion": "Because you're new to this, let's start with the basics — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but I get too many open files.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "Given that the service has a low LimitNOFILE, raise it in the unit file. Use `systemctl edit service-name` to fix it."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to check container resource usage?", "completion": "Since you're on Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I check running processes?", "completion": "Given that you're on macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Windows PowerShell, winget is the built-in package manager. Run `winget install package-name`."} +{"prompt": "User: I've never coded before.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: how do I learn to code?", "completion": "Since you're just starting out, I'll keep this simple — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Understood — index.html. What should we do next?\nUser: What's the command to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. Use `xdg-open index.html`."} +{"prompt": "User: Hi, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: how do I debug my code?", "completion": "Nice to meet you, Kai. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Understood — src. What should we do next?\nUser: search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: Can you show me how to check running processes?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. The command is `ps aux`."} +{"prompt": "User: Port 6379 is the one I care about.\nAssistant: Thanks, I'll remember 6379. How can I help?\nUser: What's the command to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Run `redis-cli -p 6379`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Noted: experiment. What's the task?\nUser: How do I delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "On Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Quick question: the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Nice to meet you, Casey! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Casey. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm Morgan — nice to meet you.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Morgan. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I update the system?", "completion": "Because you're using Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Debian, apt performs the upgrade. You can do it with `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I list running containers?", "completion": "On Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Since the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "You said npm can't write to its global directory, so use a user-owned prefix or nvm. Run `npm config set prefix ~/.npm-global`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I see open ports?", "completion": "Since you're on Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm Jordan.\nAssistant: Nice to meet you, Jordan! What can I help you with?\nUser: what is a loop?", "completion": "Good to meet you, Jordan. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to check a service?", "completion": "Since you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: I'm on branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: What's the command to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "You said the limit resets on login, so set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Ubuntu, systemd manages services. The command is `systemctl status service-name`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I see open ports?", "completion": "Since you're on macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Noted: dev. What's the task?\nUser: What's the command to push my changes there?", "completion": "Because dev is the one you're working with, git push needs a remote and branch. Use `git push -u origin dev`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: What error do you see?\nUser: It says EACCES", "completion": "Since npm can't write to its global directory, use a user-owned prefix or nvm. The command you need is `npm config set prefix ~/.npm-global`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: how do I debug my code?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Nice to meet you, Morgan! What can I help you with?\nUser: how do I practice coding?", "completion": "Thanks, Morgan — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm new to all of this.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Because you're new to this, let's start with the basics — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The service is running on port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to install a package?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Noted: 3000. What's the task?\nUser: Can you show me how to check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. Use `ss -tulpn | grep 3000`."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Got it — venv. What do you want to do with it?\nUser: remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Given that a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Finley. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I have a container called worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: What's the command to check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I remove an image?", "completion": "Because you're using Docker, docker rmi deletes an image. You can do it with `docker rmi image-name`."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: What's the command to unzip it?", "completion": "Since you mentioned archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I check a service?", "completion": "Since you're on Fedora, systemd controls services. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on macOS, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Can you help me understand this: what is a loop?", "completion": "Nice to meet you, Quinn. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "Given that you're on Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Noted: index.html. What's the task?\nUser: Can you show me how to open it in a browser?", "completion": "Since you mentioned index.html, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Noted: web-app. What's the task?\nUser: view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Since SELinux is denying the write, fix the context. Use `sudo chcon -t httpd_sys_content_t file-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hi! What do you need help with on your Python project?\nUser: How do I freeze my dependencies?", "completion": "On Python, pip freeze lists installed versions. Run `pip freeze > requirements.txt`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "On Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Since you're on macOS, launchctl manages background services. The command is `launchctl list`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: Can you show me how to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Since the installed version is incompatible, pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I search text in files?", "completion": "Given that you're on Ubuntu, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Thanks, Avery — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Quick question: how do I use the terminal?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Given that your user isn't in the docker group, add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: The container I'm using is nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what's a good first project?", "completion": "Since you mentioned you're tired, let's keep this short and practical — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "Since you're on Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I check the Python version?", "completion": "Because you're using Python, the --version flag prints it. The command is `python3 --version`."} +{"prompt": "User: Could you help me? My service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Because another process owns the port, find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Because you're new to this, let's start with the basics — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to install a package?", "completion": "On Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: I'm feeling drained.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Hello, Kai! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm on branch staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: How do I switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: Can you show me how to view its logs?", "completion": "You said web-app, so docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Understood — venv. What should we do next?\nUser: Can you show me how to remove it?", "completion": "Because venv is the one you're working with, rm -rf removes the environment. Use `rm -rf venv`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Let's talk about port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: Can you show me how to scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Hi, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Got it — hotfix/payment. What do you want to do with it?\nUser: push it?", "completion": "Because hotfix/payment is the one you're working with, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Got it — nginx-proxy. What do you want to do with it?\nUser: What's the command to inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Hi! I'm working on a Mac running macOS today.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on macOS, find can match files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: how do I stay motivated?", "completion": "Since you're learning from scratch, I'll avoid jargon — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Nice to meet you, Charlie. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I run a script?", "completion": "Because you're using Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: What's the best way to stop a container on this system?", "completion": "Because you're using Docker, docker stop sends a graceful signal. Use `docker stop container-name` for that."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Since the remote rejected your credentials, refresh your token or SSH key. Use `ssh -T git@github.com` to fix it."} +{"prompt": "User: I'm on branch release-1.2.\nAssistant: Understood — release-1.2. What should we do next?\nUser: tag it?", "completion": "You said release-1.2, so git tag marks a release. Use `git tag v1.2 release-1.2`."} +{"prompt": "User: I'm stuck: docker says permission denied.\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Since the Docker daemon is stopped, start the daemon. Run `sudo systemctl start docker`."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Quick question: what's a good first project?", "completion": "Good to meet you, Avery. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Quick context: I'm inside project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: What's the command to compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "Given that you're on Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to view the history — what should I run?", "completion": "Given that you're on Git, git log shows commits. The command is `git log --oneline --graph`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to search text in files?", "completion": "Given that you're on macOS, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to run my tests?", "completion": "Since you're on Python, pytest discovers and runs tests. You can do it with `pytest`."} +{"prompt": "User: The folder I'm using is project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: How do I compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: What's the command to check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I check a service?", "completion": "Because you're using Ubuntu, systemd manages services. Run `systemctl status service-name`."} +{"prompt": "User: The service is running on port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: What's the command to check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. Run `service-name --test-config`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I pull the latest changes?", "completion": "Since you're on Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I check the Python version?", "completion": "Since you're on Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. Use `df -h` to fix it."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Because sshd isn't listening, start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. Run `git pull --rebase origin main`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "Because you're using Debian, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I commit my changes?", "completion": "On Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I list installed packages?", "completion": "Because you're using Python, pip list shows installed packages. You can do it with `pip list`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to search text in files?", "completion": "Because you're using Debian, grep is the standard text search tool. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Fedora, dnf handles system upgrades. Run `sudo dnf upgrade`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Debian, ss shows listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Noted: 443. What's the task?\nUser: Can you show me how to check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Use `ls -l script.sh && head -n 1 script.sh` to fix it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I create a branch?", "completion": "Because you're using Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "You said the filename is misspelled, so check the exact name. Run `ls -la`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I debug my code?", "completion": "Given that you've had a long day, I'll keep this brief — change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick question: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Morgan. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "You said the branch has no upstream, so set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: how do I stay motivated?", "completion": "Since you're learning from scratch, I'll avoid jargon — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "Since you're on Python, the venv module creates isolated environments. The command is `python3 -m venv venv`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I update the system?", "completion": "Since you're on Debian, apt performs the upgrade. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: what is a loop?", "completion": "Given that you're a beginner, here's a plain explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Noted: venv. What's the task?\nUser: Can you show me how to remove it?", "completion": "You said venv, so rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Let's talk about deploy.sh — it's a file I need to handle.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: How do I make it executable?", "completion": "Given that you're dealing with deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: I can't find my file and I don't know why.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: Hi, I'm Kai.\nAssistant: Thanks, Kai. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Good to meet you, Kai. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Not sure what's wrong, but the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "You said the database service isn't running, so start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: Let's talk about the assets directory.\nAssistant: Noted: assets. What's the task?\nUser: How do I copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Because the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: I have a container called api-server.\nAssistant: Noted: api-server. What's the task?\nUser: What's the command to enter its shell?", "completion": "You said api-server, so docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to check the repository status — what should I run?", "completion": "On Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. The command is `winget upgrade --all`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I push my commits?", "completion": "Given that you're on Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what is a loop?", "completion": "Because you're low on energy, I'll give you the simple version — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to find large files on this system?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: I've never coded before.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Quick question: what is an array?", "completion": "Since you're just starting out, I'll keep this simple — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: I have a file called photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: Can you show me how to check its size?", "completion": "Since you mentioned photo.jpg, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. Run `npm config get registry`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I check running processes?", "completion": "Because you're using Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I find large files?", "completion": "Given that you're on Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: What's the best way to find large files on this system?", "completion": "Given that you're on Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I search text in files?", "completion": "Because you're using Fedora, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: my branch is experiment.\nAssistant: Noted: experiment. What's the task?\nUser: delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Let's talk about port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: Can you show me how to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "You said the client is using the wrong port, so match the port in the connection string. Use `psql -p 5432 -h localhost` to fix it."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I find large files?", "completion": "Since you're on Windows PowerShell, Get-ChildItem can filter by size. Use `Get-ChildItem -Recurse | Where-Object Length -gt 100MB` for that."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: how do I use the terminal?", "completion": "Since you're just starting out, I'll keep this simple — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I have a folder called venv.\nAssistant: Got it — venv. What do you want to do with it?\nUser: Can you show me how to remove it?", "completion": "Given that you're dealing with venv, rm -rf removes the environment. The command is `rm -rf venv`."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. Run `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: The branch I'm using is staging.\nAssistant: Got it — staging. What do you want to do with it?\nUser: What's the command to switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Quick question: what is a loop?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Understood — 5432. What should we do next?\nUser: test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: My git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Because the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: Can you show me how to create a virtual environment?", "completion": "On Python, the venv module creates isolated environments. Run `python3 -m venv venv`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Noted: 5432. What's the task?\nUser: Can you show me how to test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I copy a file into a container?", "completion": "Since you're on Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to upgrade pip?", "completion": "Given that you're on Python, pip can upgrade itself. The command is `python3 -m pip install --upgrade pip`."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. Run `pip install --user package-name`."} +{"prompt": "User: Just so you know, I'm Casey.\nAssistant: Hello, Casey! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Good to meet you, Casey. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Understood — build. What should we do next?\nUser: How do I delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: What's the command to check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Understood — build. What should we do next?\nUser: Can you show me how to delete it?", "completion": "You said build, so rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Since sshd isn't listening, start the SSH service. The command you need is `sudo systemctl start ssh`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Got it — main. What do you want to do with it?\nUser: pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to find large files — what should I run?", "completion": "Since you're on macOS, find can match files by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Since another process owns the port, find and stop it. The command you need is `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: Quick context: port 8000 is the one I'm using.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: What's the command to forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: Can you show me how to check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: I have a file called archive.zip.\nAssistant: Noted: archive.zip. What's the task?\nUser: unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: how do I use the terminal?", "completion": "Nice to meet you, Logan. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: The service is running on port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: Can you show me how to connect to Redis?", "completion": "You said 6379, so redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Because the Docker socket has wrong permissions, fix the socket mode. Use `sudo chmod 666 /var/run/docker.sock` to fix it."} +{"prompt": "User: Quick context: port 22 is the one I'm using.\nAssistant: Thanks, I'll remember 22. How can I help?\nUser: Can you show me how to change the SSH port?", "completion": "You said 22, so sshd_config controls the port. Run `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to upgrade pip on this system?", "completion": "On Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: I need help because I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Just so you know, I'm Kai.\nAssistant: Hello, Kai! What's on your mind?\nUser: how do I practice coding?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: What's the best way to expose a port on this system?", "completion": "On Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: I can't delete this file and I don't know why.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "You said the filesystem is mounted read-only, so it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I learn to code?", "completion": "Because you're low on energy, I'll give you the simple version — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to undo the last commit?", "completion": "Since you're on Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Hello, Quinn! What's on your mind?\nUser: how do I debug my code?", "completion": "Good to meet you, Quinn. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with port 6379.\nAssistant: Got it — 6379. What do you want to do with it?\nUser: Can you show me how to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Nice to meet you, Hayden! What can I help you with?\nUser: Quick question: how do I debug my code?", "completion": "Good to meet you, Hayden. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: How do I extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "Since you're using a different virtual environment, activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: I need to check running processes — what should I run?", "completion": "On Debian, ps gives a process snapshot. Use `ps aux` for that."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Got it — data.csv. What do you want to do with it?\nUser: Can you show me how to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: I'm working on the file backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: I'm working with port 5000.\nAssistant: Understood — 5000. What should we do next?\nUser: Can you show me how to restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Run `sudo systemctl restart service-name`."} +{"prompt": "User: Hey, I'm Alex — nice to meet you.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Alex. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I can't write to this directory, can you help?\nAssistant: Is the disk full?\nUser: It might be", "completion": "Since the disk is full, free some space. Run `df -h`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: Can you show me how to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: What's the command to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Run `sqlite3 app.db '.tables'`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "You said the firewall blocks port 22, so allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Given that the shebang path is wrong, use env to find bash. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I've been working on the branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: Can you show me how to push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Run `git push origin hotfix/payment`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: I'm working on the file index.html.\nAssistant: Noted: index.html. What's the task?\nUser: How do I open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Got it — logs. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. Use `du -sh logs`."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Noted: assets. What's the task?\nUser: How do I copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Thanks, Jamie. What would you like to know?\nUser: what is a function?", "completion": "Thanks, Jamie — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: How do I search text in files?", "completion": "Given that you're on macOS, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: I've got a file named backup.tar.gz.\nAssistant: Got it — backup.tar.gz. What do you want to do with it?\nUser: What's the command to extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: Is the disk full?\nUser: It might be", "completion": "Given that the disk is full, free some space. Run `df -h`."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: Can you show me how to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to check running processes — what should I run?", "completion": "Since you're on Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: The container I'm using is cache.\nAssistant: Got it — cache. What do you want to do with it?\nUser: copy a file out of it?", "completion": "Given that you're dealing with cache, docker cp copies files. Run `docker cp cache:/data/out.txt .`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. Run `sudo systemctl start postgresql`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Because an if block is missing fi, add the closing fi. The command you need is `bash -n script.sh`."} +{"prompt": "User: Could you help me? The port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I search text in files?", "completion": "Because you're using Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Noted: postgres-db. What's the task?\nUser: What's the command to restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Use `docker restart postgres-db`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I use the terminal?", "completion": "You said you're exhausted, so here's the shortest useful explanation — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "You said the binary isn't on your PATH, so add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Since the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to update the system?", "completion": "On Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I search text in files?", "completion": "On Windows PowerShell, Select-String searches file contents. Run `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Thanks, Parker. What would you like to know?\nUser: what is a variable?", "completion": "Thanks, Parker — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: The container I'm using is worker-1.\nAssistant: Understood — worker-1. What should we do next?\nUser: check its resource usage?", "completion": "Because worker-1 is the one you're working with, docker stats shows live usage. Run `docker stats worker-1`."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to check running processes on this system?", "completion": "On Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: I get a bad interpreter error, can you help?\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Since the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Noted: assets. What's the task?\nUser: What's the command to copy it?", "completion": "Since you mentioned assets, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Arch Linux, df reports disk usage. The command is `df -h`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to check running processes?", "completion": "On macOS, ps lists running processes. Run `ps aux`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I see open ports?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Just so you know, I'm using a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: How do I see open ports?", "completion": "Given that you're on macOS, lsof lists open network files. The command is `lsof -i -P | grep LISTEN`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "You said you don't own the file, so you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. Run `bash -n script.sh`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: I need to expose a port — what should I run?", "completion": "Since you're on Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Given that another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Morgan. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi, I'm Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Nice to meet you, Avery. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Understood — index.html. What should we do next?\nUser: What's the command to open it in a browser?", "completion": "Because index.html is the one you're working with, xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Debian, ps gives a process snapshot. Run `ps aux`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I create a branch?", "completion": "Since you're on Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: Quick question: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Given that you don't own the file, you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to search text in files on this system?", "completion": "Given that you're on Windows PowerShell, Select-String searches file contents. You can do it with `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Let's talk about archive.zip — it's a file I need to handle.\nAssistant: Thanks, I'll remember archive.zip. How can I help?\nUser: How do I unzip it?", "completion": "Given that you're dealing with archive.zip, unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "You said the command name is misspelled, so the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: I have a container called postgres-db.\nAssistant: Understood — postgres-db. What should we do next?\nUser: restart it?", "completion": "You said postgres-db, so docker restart cycles it. The command is `docker restart postgres-db`."} +{"prompt": "User: I have a file called config.json.\nAssistant: Noted: config.json. What's the task?\nUser: Can you show me how to pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. The command is `jq . config.json`."} +{"prompt": "User: Just so you know, I'm Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm a complete beginner.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Since you're just starting out, I'll keep this simple — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hello! My name is Jamie.\nAssistant: Hello, Jamie! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Jamie. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I don't have much experience yet.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is a variable?", "completion": "Since you're learning from scratch, I'll avoid jargon — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check disk usage?", "completion": "Given that you're on macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Hayden. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "On Fedora, ss shows listening ports. Run `ss -tulpn`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I view a container's logs?", "completion": "Given that you're on Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Help — I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Because the limit resets on login, set it in limits.conf. The command you need is `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Could you help me? I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "Because the shebang path is wrong, use env to find bash. Use `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh` to fix it."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Since the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Since the interpreter isn't executable, restore execute permission. Use `chmod +x /bin/bash` to fix it."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Quick question: what's a good first project?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: Can you show me how to install a package?", "completion": "On Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: Can you show me how to kill whatever is using it?", "completion": "Since you mentioned 8080, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: How do I check a service?", "completion": "On macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: Docker says permission denied and I don't know why.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: I need help because ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "Given that sshd isn't listening, start the SSH service. Use `sudo systemctl start ssh` to fix it."} +{"prompt": "User: Port 9000 is the one I care about.\nAssistant: Understood — 9000. What should we do next?\nUser: Can you show me how to scan it for a service?", "completion": "You said 9000, so nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to run my tests on this system?", "completion": "Given that you're on Python, pytest discovers and runs tests. The command is `pytest`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to list running containers — what should I run?", "completion": "Because you're using Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to view a container's logs on this system?", "completion": "Because you're using Docker, docker logs prints container output. The command is `docker logs container-name`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: What's the best way to list running containers on this system?", "completion": "On Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hi! What do you need help with on your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "Given that you're on macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I'm working with the container worker-1.\nAssistant: Noted: worker-1. What's the task?\nUser: How do I check its resource usage?", "completion": "Since you mentioned worker-1, docker stats shows live usage. The command is `docker stats worker-1`."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to check disk usage?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Understood — main. What should we do next?\nUser: What's the command to pull the latest?", "completion": "You said main, so git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: I'm on branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: Can you show me how to delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: My command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Since the package isn't installed, install it with the system package manager. Run `sudo apt install package-name`."} +{"prompt": "User: Hey, I'm setting things up on Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I install a package?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: The branch I'm using is main.\nAssistant: Noted: main. What's the task?\nUser: pull the latest?", "completion": "Given that you're dealing with main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: what is an array?", "completion": "Given that you're a beginner, here's a plain explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Quick context: port 443 is the one I'm using.\nAssistant: Noted: 443. What's the task?\nUser: How do I check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Nice to meet you, Alex! What can I help you with?\nUser: Quick question: how do I learn to code?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I don't have much experience yet.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a bug?", "completion": "Since you're learning from scratch, I'll avoid jargon — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "You said Linux filenames are case-sensitive, so use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Welcome! What would you like to learn?\nUser: Can you help me understand this: how do I practice coding?", "completion": "Given that you're a beginner, here's a plain explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to check a service on this system?", "completion": "Because you're using Debian, systemctl reports service state. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hey, I'm Casey — nice to meet you.\nAssistant: Thanks, Casey. What would you like to know?\nUser: what is a loop?", "completion": "Nice to meet you, Casey. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: my branch is feature/api.\nAssistant: Thanks, I'll remember feature/api. How can I help?\nUser: Can you show me how to rebase it?", "completion": "Given that you're dealing with feature/api, git rebase replays commits. Run `git rebase main feature/api`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: Can you show me how to copy it?", "completion": "You said assets, so cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: Python says a module is missing.\nAssistant: Did the install fail?\nUser: It says permission denied", "completion": "Given that the install lacks permissions, install for your user. The command you need is `pip install --user package-name`."} +{"prompt": "User: My command just hangs.\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. The command you need is `Ctrl+C`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Because you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: Could you help me? I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Since a process still has it open, the process must release it first. Use `lsof file-name` to fix it."} +{"prompt": "User: I've been working on the branch dev.\nAssistant: Thanks, I'll remember dev. How can I help?\nUser: What's the command to push my changes there?", "completion": "You said dev, so git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: The directory I'm dealing with is logs.\nAssistant: Understood — logs. What should we do next?\nUser: check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Run `sudo chattr -i file-name`."} +{"prompt": "User: I'm working in the logs folder.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: How do I check its size?", "completion": "Because logs is the one you're working with, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: Hey, I'm Parker — nice to meet you.\nAssistant: Nice to meet you, Parker! What can I help you with?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "Nice to meet you, Parker. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to pull the latest changes?", "completion": "Since you're on Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to create a branch — what should I run?", "completion": "Since you're on Git, git switch creates and moves to a branch. Use `git switch -c branch-name` for that."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: Could you help me? I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Because the file descriptor limit is too low, raise it for the shell. Run `ulimit -n 4096`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Given that the file descriptor limit is too low, raise it for the shell. The command you need is `ulimit -n 4096`."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: Quick question: how do I stay motivated?", "completion": "Good to meet you, Emerson. Since you're curious about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Let's talk about branch experiment.\nAssistant: Got it — experiment. What do you want to do with it?\nUser: What's the command to delete it?", "completion": "You said experiment, so git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Nice to meet you, Sam. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "Since you're on Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Ubuntu, packages are managed with apt. You can do it with `sudo apt install package-name`."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Since the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: Help — ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Since the host address is wrong, verify the address first. The command you need is `ping host-name`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Can you help me understand this: how do I practice coding?", "completion": "You said you're exhausted, so here's the shortest useful explanation — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm working with port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: Can you show me how to scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. The command you need is `df -i`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I ask for help?", "completion": "You said you're exhausted, so here's the shortest useful explanation — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: My git push was rejected and I don't know why.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. The command you need is `git push -u origin branch-name`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to stash my work — what should I run?", "completion": "On Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to view the history on this system?", "completion": "On Git, git log shows commits. Run `git log --oneline --graph`."} +{"prompt": "User: Quick question: ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Since you're connecting to the wrong port, specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: Help — the database connection is refused.\nAssistant: Is a firewall blocking the port?\nUser: It might be", "completion": "You said the firewall blocks the database port, so allow the port. The command you need is `sudo ufw allow 5432/tcp`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. Run `df -h`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Ubuntu, apt handles package updates. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Could you help me? My command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "You said the file exists but isn't executable, so the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to search text in files?", "completion": "On Debian, grep is the standard text search tool. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "Since you're on Arch Linux, pacman is the package manager. The command is `sudo pacman -S package-name`."} +{"prompt": "User: Hi, I'm Parker.\nAssistant: Thanks, Parker. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Nice to meet you, Parker. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to undo the last commit — what should I run?", "completion": "On Git, git reset moves the branch pointer. The command is `git reset --soft HEAD~1`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Windows PowerShell, Get-NetTCPConnection lists listening ports. The command is `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on macOS, Homebrew is the usual package manager. Use `brew install package-name` for that."} +{"prompt": "User: The folder I'm using is tmp.\nAssistant: Noted: tmp. What's the task?\nUser: clean it?", "completion": "Given that you're dealing with tmp, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: The container I'm using is web-app.\nAssistant: Thanks, I'll remember web-app. How can I help?\nUser: Can you show me how to view its logs?", "completion": "You said web-app, so docker logs prints output. The command is `docker logs web-app`."} +{"prompt": "User: I can't write to this directory and I don't know why.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "You said you lack write permission, so grant write access. Run `chmod u+w directory-name`."} +{"prompt": "User: I'm stuck: I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Because you don't own the file, you need write permission on the parent directory. Run `sudo rm file-name`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "On Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Because the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Understood — staging. What should we do next?\nUser: What's the command to switch to it?", "completion": "You said staging, so git switch changes branches. Use `git switch staging`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Just so you know, I'm using a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to list installed packages?", "completion": "Because you're using Python, pip list shows installed packages. Run `pip list`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: How do I delete it?", "completion": "Given that you're dealing with experiment, git branch -D removes it. The command is `git branch -D experiment`."} +{"prompt": "User: Quick context: port 3000 is the one I'm using.\nAssistant: Thanks, I'll remember 3000. How can I help?\nUser: check what's listening?", "completion": "Because 3000 is the one you're working with, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: Let's talk about the build directory.\nAssistant: Noted: build. What's the task?\nUser: What's the command to delete it?", "completion": "Given that you're dealing with build, rm -rf removes a directory tree. Use `rm -rf build`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Ubuntu, processes are visible with ps or top. Use `ps aux` for that."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. Run `sudo ufw allow 22/tcp`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "Because you're using Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: Quick context: photo.jpg is the file I'm using.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: How do I check its size?", "completion": "Because photo.jpg is the one you're working with, ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: I need to list installed packages — what should I run?", "completion": "Given that you're on Python, pip list shows installed packages. Use `pip list` for that."} +{"prompt": "User: Just so you know, I'm using an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I see open ports?", "completion": "Since you're on Ubuntu, the ss utility lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Could you help me? I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Since the file mode blocks writes, add the write bit for the owner. The command you need is `chmod u+w file-name`."} +{"prompt": "User: I'm working with port 8080.\nAssistant: Got it — 8080. What do you want to do with it?\nUser: kill whatever is using it?", "completion": "You said 8080, so lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I check container resource usage?", "completion": "Since you're on Docker, docker stats shows live usage. Use `docker stats` for that."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I search text in files?", "completion": "On Arch Linux, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Quick question: I get a bad interpreter error.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "Given that the interpreter doesn't exist, install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Hello! My name is Jesse.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to check disk usage on this system?", "completion": "On Ubuntu, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: What's the best way to list installed packages on this system?", "completion": "Because you're using Python, pip list shows installed packages. The command is `pip list`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to check the repository status?", "completion": "On Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: Quick context: deploy.sh is the file I'm using.\nAssistant: Got it — deploy.sh. What do you want to do with it?\nUser: How do I make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. The command you need is `source venv/bin/activate`."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: How do I list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: My bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Because the variable expansion syntax is wrong, use braces correctly. Use `echo \"${variable}\"` to fix it."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: Can you show me how to view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: I'm on branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: Can you show me how to delete it?", "completion": "You said experiment, so git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: scan it for a service?", "completion": "Since you mentioned 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I check disk usage?", "completion": "Since you're on Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Quick question: my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Because the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: I have a file called config.json.\nAssistant: Noted: config.json. What's the task?\nUser: What's the command to pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Run `jq . config.json`."} +{"prompt": "User: I'm working with the container api-server.\nAssistant: Thanks, I'll remember api-server. How can I help?\nUser: What's the command to enter its shell?", "completion": "Since you mentioned api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Just so you know, I'm Taylor.\nAssistant: Nice to meet you, Taylor! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Taylor. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check disk usage?", "completion": "Because you're using Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: what is a loop?", "completion": "Nice to meet you, Emerson. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. Use `service-name --test-config` to fix it."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: What's the command to follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Npm install is failing, can you help?\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to find large files?", "completion": "On Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: I need to check running processes — what should I run?", "completion": "Because you're using Fedora, ps lists running processes. The command is `ps aux`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Hello, Quinn! What's on your mind?\nUser: how do I practice coding?", "completion": "Nice to meet you, Quinn. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I've had a long day.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I use the terminal?", "completion": "Because you're low on energy, I'll give you the simple version — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to view a container's logs?", "completion": "Given that you're on Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: I'm feeling drained.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: how do I practice coding?", "completion": "Because you're low on energy, I'll give you the simple version — active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: how do I stay motivated?", "completion": "You said you're exhausted, so here's the shortest useful explanation — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hey, I'm Kai — nice to meet you.\nAssistant: Thanks, Kai. What would you like to know?\nUser: how do I learn to code?", "completion": "Nice to meet you, Kai. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: How do I remove an image?", "completion": "Given that you're on Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: Quick context: I'm inside build.\nAssistant: Noted: build. What's the task?\nUser: What's the command to delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. Run `rm -rf build`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Noted: 5432. What's the task?\nUser: test the database port?", "completion": "You said 5432, so nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: Let's talk about branch dev.\nAssistant: Noted: dev. What's the task?\nUser: What's the command to push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. Run `git push -u origin dev`."} +{"prompt": "User: I need help because npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I install a package?", "completion": "Since you're on Python, pip installs Python packages. Use `pip install package-name` for that."} +{"prompt": "User: Just so you know, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Quick question: how do I practice coding?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Quick context: the container is nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: Can you show me how to inspect it?", "completion": "Because nginx-proxy is the one you're working with, docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: How do I run it?", "completion": "You said main.go, so go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to check a service — what should I run?", "completion": "Since you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: I just checked out the branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: How do I rebase it?", "completion": "You said feature/api, so git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: I have a container called test-runner.\nAssistant: Thanks, I'll remember test-runner. How can I help?\nUser: remove it?", "completion": "You said test-runner, so docker rm -f removes it. Run `docker rm -f test-runner`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Thanks, Logan. What would you like to know?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Logan. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "Given that you're connecting to the wrong port, specify the correct port. Run `ssh -p 2222 user@host`."} +{"prompt": "User: I'm working with a Debian machine at the moment.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I find large files?", "completion": "Given that you're on Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Quick context: port 5432 is the one I'm using.\nAssistant: Understood — 5432. What should we do next?\nUser: How do I test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Use `nc -zv localhost 5432`."} +{"prompt": "User: The database connection is refused, can you help?\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Let's talk about container web-app.\nAssistant: Noted: web-app. What's the task?\nUser: What's the command to view its logs?", "completion": "Because web-app is the one you're working with, docker logs prints output. Run `docker logs web-app`."} +{"prompt": "User: The service is running on port 3000.\nAssistant: Got it — 3000. What do you want to do with it?\nUser: Can you show me how to check what's listening?", "completion": "Given that you're dealing with 3000, ss shows listening sockets. Run `ss -tulpn | grep 3000`."} +{"prompt": "User: The service is running on port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. Use `nmap -p 9000 localhost`."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Since the immutable attribute is set, remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Nice to meet you, Finley! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Nice to meet you, Finley. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I need help because the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. Run `sudo systemctl restart service-name`."} +{"prompt": "User: I'm low on energy.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is a function?", "completion": "You said you're exhausted, so here's the shortest useful explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: My command just hangs, can you help?\nAssistant: Is it waiting for input?\nUser: It might be, there's no prompt", "completion": "Because it's waiting for input, provide input or cancel it. Use `Ctrl+C` to fix it."} +{"prompt": "User: Quick context: my branch is hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: What's the command to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: I have a folder called docs.\nAssistant: Got it — docs. What do you want to do with it?\nUser: What's the command to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to find large files — what should I run?", "completion": "Because you're using Arch Linux, find filters by file size. The command is `find . -type f -size +100M`."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Got it — 9000. What do you want to do with it?\nUser: How do I scan it for a service?", "completion": "Because 9000 is the one you're working with, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: My bash script has a syntax error, can you help?\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: How do I switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: I'm working on the file server.log.\nAssistant: Thanks, I'll remember server.log. How can I help?\nUser: follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: Can you help me understand this: what should I learn first?", "completion": "Thanks, Harper — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Ubuntu, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to commit my changes?", "completion": "Given that you're on Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: Just so you know, I'm Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: what is a variable?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I install a package?", "completion": "Since you're on Arch Linux, pacman is the package manager. You can do it with `sudo pacman -S package-name`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I run a script?", "completion": "Given that you're on Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: Let's talk about branch staging.\nAssistant: Understood — staging. What should we do next?\nUser: switch to it?", "completion": "You said staging, so git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Ubuntu, apt handles package updates. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Can you help me understand this: what is a loop?", "completion": "Because you're new to this, let's start with the basics — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm just starting out.\nAssistant: No problem at all. What can I explain?\nUser: what is a variable?", "completion": "Given that you're a beginner, here's a plain explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to search text in files?", "completion": "Because you're using macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to see open ports?", "completion": "On Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I find large files?", "completion": "Since you're on Arch Linux, find filters by file size. Run `find . -type f -size +100M`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to check disk usage on this system?", "completion": "Because you're using Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Let's talk about branch feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: What's the command to rebase it?", "completion": "Because feature/api is the one you're working with, git rebase replays commits. Use `git rebase main feature/api`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "You said the shebang points to a missing interpreter, so the interpreter path needs to be corrected. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I don't have much experience yet.\nAssistant: No problem at all. What can I explain?\nUser: Quick question: how do I use the terminal?", "completion": "Since you're learning from scratch, I'll avoid jargon — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to find large files — what should I run?", "completion": "Since you're on macOS, find can match files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to check disk usage — what should I run?", "completion": "On macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Help — npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "You said the registry is unreachable, so check the registry and connection. Use `npm config get registry` to fix it."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to see open ports — what should I run?", "completion": "Because you're using macOS, lsof lists open network files. Use `lsof -i -P | grep LISTEN` for that."} +{"prompt": "User: Help — python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: I need to install a package — what should I run?", "completion": "Because you're using Python, pip installs Python packages. Run `pip install package-name`."} +{"prompt": "User: The container I'm using is redis-cache.\nAssistant: Understood — redis-cache. What should we do next?\nUser: What's the command to stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "You said the firewall is blocking the port, so open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to view a container's logs on this system?", "completion": "Since you're on Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: Just so you know, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Quick question: how do I debug my code?", "completion": "Nice to meet you, Morgan. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: Can you show me how to check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Sam. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: I need to check disk usage — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-PSDrive reports drive usage. The command is `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Since you mentioned you're tired, let's keep this short and practical — start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Ubuntu, the ss utility lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: how do I use the terminal?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Hello! My name is Finley.\nAssistant: Hello, Finley! What's on your mind?\nUser: what's a good first project?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Because the configuration is invalid, test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: Hey, I'm Sam — nice to meet you.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Can you help me understand this: what's a good first project?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: Can you show me how to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "On Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: I've never coded before.\nAssistant: Welcome! What would you like to learn?\nUser: Quick question: what is a bug?", "completion": "Because you're new to this, let's start with the basics — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I view a container's logs?", "completion": "On Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "Since you're on Windows PowerShell, Select-String searches file contents. The command is `Select-String -Path *.txt -Pattern \"text\"`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: What's the best way to view the history on this system?", "completion": "Because you're using Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Is it a symlink?\nUser: It might be a broken link", "completion": "Given that the symlink points nowhere, inspect and recreate it. The command you need is `readlink -f link-name`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Since you're on Fedora, systemd controls services. Use `systemctl status service-name` for that."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: Can you show me how to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Run `git pull origin main`."} +{"prompt": "User: I'm stuck: my service won't start.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Given that another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: Not sure what's wrong, but I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "Because the shebang has a carriage return, strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: Quick question: I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Because the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: I need help because my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Because the binary isn't on your PATH, add its directory to PATH. Run `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "Since you're on Docker, docker rmi deletes an image. The command is `docker rmi image-name`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Quick question: what is a variable?", "completion": "Nice to meet you, Logan. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to update the system — what should I run?", "completion": "On Fedora, dnf handles system upgrades. Use `sudo dnf upgrade` for that."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: What's the best way to search text in files on this system?", "completion": "On Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to update the system?", "completion": "Because you're using Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: I'm on branch staging.\nAssistant: Thanks, I'll remember staging. How can I help?\nUser: switch to it?", "completion": "Because staging is the one you're working with, git switch changes branches. The command is `git switch staging`."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Quinn. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Got it — app.py. What do you want to do with it?\nUser: How do I run it?", "completion": "You said app.py, so Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I install a package?", "completion": "Since you're on Debian, packages are managed with apt. Run `sudo apt install package-name`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Since the command needs elevated privileges, run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. The command you need is `pip install package-name`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to install a package?", "completion": "Since you're on Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Thanks, I'll remember index.html. How can I help?\nUser: What's the command to open it in a browser?", "completion": "Given that you're dealing with index.html, xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: How do I check a service?", "completion": "On Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hello! How can I help you with your Mac?\nUser: I need to update the system — what should I run?", "completion": "On macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: Quick context: I'm inside docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: Can you show me how to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Use `ls -lah docs`."} +{"prompt": "User: Hello! My name is Charlie.\nAssistant: Nice to meet you, Charlie! What can I help you with?\nUser: what should I learn first?", "completion": "Thanks, Charlie — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "On Arch Linux, systemctl reports service status. You can do it with `systemctl status service-name`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I check running processes?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. Use `Get-Process` for that."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: Can you show me how to freeze my dependencies?", "completion": "On Python, pip freeze lists installed versions. Use `pip freeze > requirements.txt` for that."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: what is a variable?", "completion": "Because you're low on energy, I'll give you the simple version — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I'm working in the src folder.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: What's the command to search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Help — I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. Use `ls -la` to fix it."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: Can you show me how to install a package?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. Use `winget install package-name` for that."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: How do I check running processes?", "completion": "Given that you're on Ubuntu, processes are visible with ps or top. The command is `ps aux`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I install a package?", "completion": "Since you're on Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "You said another process owns the port, so find and stop it. Run `sudo ss -tulpn | grep 8080`."} +{"prompt": "User: I just started the container redis-cache.\nAssistant: Got it — redis-cache. What do you want to do with it?\nUser: What's the command to stop it?", "completion": "Since you mentioned redis-cache, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Hello! How can I help you with your Mac?\nUser: Can you show me how to update the system?", "completion": "Given that you're on macOS, brew upgrades installed packages. Run `brew upgrade`."} +{"prompt": "User: I get permission denied when editing a file.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "You said root owns the file, so you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: I've been working on the branch release-1.2.\nAssistant: Thanks, I'll remember release-1.2. How can I help?\nUser: What's the command to tag it?", "completion": "Given that you're dealing with release-1.2, git tag marks a release. The command is `git tag v1.2 release-1.2`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I push my commits?", "completion": "On Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to update the system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. You can do it with `winget upgrade --all`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "Because your user isn't in the docker group, add yourself and re-login. The command you need is `sudo usermod -aG docker $USER`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: How do I create a branch?", "completion": "Since you're on Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: Let's talk about port 6379.\nAssistant: Noted: 6379. What's the task?\nUser: What's the command to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. Use `redis-cli -p 6379`."} +{"prompt": "User: I need help because I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Because an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: Port 443 is the one I care about.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: What's the command to check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. Run `openssl s_client -connect example.com:443`."} +{"prompt": "User: The service is running on port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: What's the command to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: How do I check the repository status?", "completion": "Because you're using Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is a bug?", "completion": "Since you're learning from scratch, I'll avoid jargon — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Since another process is listening on the port, find and stop that process. Run `sudo lsof -i :8080`."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Understood — nginx-proxy. What should we do next?\nUser: How do I inspect it?", "completion": "Since you mentioned nginx-proxy, docker inspect shows config. The command is `docker inspect nginx-proxy`."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Can you help me understand this: what is a function?", "completion": "Nice to meet you, Alex. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: How do I follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: Hello, I'm using a Python project right now.\nAssistant: Hi! What do you need help with on your Python project?\nUser: I need to run a script — what should I run?", "completion": "Because you're using Python, python3 executes a script file. Run `python3 script.py`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Because the credentials are wrong, verify the username and password. Run `psql -U user -d database`."} +{"prompt": "User: Hi! I'm working on Windows PowerShell today.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: What's the best way to see open ports on this system?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. Use `Get-NetTCPConnection -State Listen` for that."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: Can you show me how to expose a port?", "completion": "Given that you're on Docker, docker run publishes ports with -p. The command is `docker run -p 8080:80 image-name`."} +{"prompt": "User: I'm on branch main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: What's the command to pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: What's the best way to search text in files on this system?", "completion": "Because you're using Arch Linux, grep searches file contents. The command is `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to list running containers — what should I run?", "completion": "On Docker, docker ps shows active containers. Use `docker ps` for that."} +{"prompt": "User: I just checked out the branch staging.\nAssistant: Noted: staging. What's the task?\nUser: What's the command to switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: Let's talk about notes.txt — it's a file I need to handle.\nAssistant: Thanks, I'll remember notes.txt. How can I help?\nUser: What's the command to view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: how do I ask for help?", "completion": "Because you're new to this, let's start with the basics — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: Hello! My name is Emerson.\nAssistant: Nice to meet you, Emerson! What can I help you with?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Emerson. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: Let's talk about port 443.\nAssistant: Got it — 443. What do you want to do with it?\nUser: How do I check the HTTPS certificate?", "completion": "You said 443, so openssl inspects TLS. The command is `openssl s_client -connect example.com:443`."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. Run `getfacl file-name`."} +{"prompt": "User: The directory I'm dealing with is build.\nAssistant: Understood — build. What should we do next?\nUser: What's the command to delete it?", "completion": "Since you mentioned build, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Python says a module is missing and I don't know why.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. The command you need is `pip install package-name==1.2.3`."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: what is a loop?", "completion": "Nice to meet you, Logan. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm on branch dev.\nAssistant: Understood — dev. What should we do next?\nUser: What's the command to push my changes there?", "completion": "Since you mentioned dev, git push needs a remote and branch. The command is `git push -u origin dev`."} +{"prompt": "User: I'm working with Windows PowerShell at the moment.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: How do I check a service?", "completion": "Since you're on Windows PowerShell, Get-Service reports service state. You can do it with `Get-Service service-name`."} +{"prompt": "User: Quick context: server.log is the file I'm using.\nAssistant: Noted: server.log. What's the task?\nUser: Can you show me how to follow it?", "completion": "Given that you're dealing with server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Understood — 8080. What should we do next?\nUser: What's the command to kill whatever is using it?", "completion": "Because 8080 is the one you're working with, lsof finds the owning process. Use `sudo lsof -i :8080`."} +{"prompt": "User: I have a folder called project-alpha.\nAssistant: Noted: project-alpha. What's the task?\nUser: compress it?", "completion": "Since you mentioned project-alpha, tar creates an archive. Use `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Thanks, Jordan. What would you like to know?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Thanks, Jordan — I'll remember your name. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: How do I find large files?", "completion": "Given that you're on Windows PowerShell, Get-ChildItem can filter by size. The command is `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: How do I check a service?", "completion": "On Debian, systemctl reports service state. The command is `systemctl status service-name`."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "Because another process is listening on the port, find and stop that process. The command you need is `sudo lsof -i :8080`."} +{"prompt": "User: I have a folder called assets.\nAssistant: Got it — assets. What do you want to do with it?\nUser: copy it?", "completion": "Since you mentioned assets, cp -r copies directories. The command is `cp -r assets assets-backup`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to update the system — what should I run?", "completion": "Given that you're on macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to stop a container — what should I run?", "completion": "Because you're using Docker, docker stop sends a graceful signal. The command is `docker stop container-name`."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Use `sudo lsof +L1` to fix it."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I install a package?", "completion": "Given that you're on Arch Linux, pacman is the package manager. Use `sudo pacman -S package-name` for that."} +{"prompt": "User: I'm stuck: my git push was rejected.\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Given that the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I get too many open files.\nAssistant: What does ulimit -n show?\nUser: It shows 1024", "completion": "Since the file descriptor limit is too low, raise it for the shell. Use `ulimit -n 4096` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I install a package?", "completion": "Given that you're on Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: Quick question: my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Given that inodes are exhausted, remove many small files. Use `df -i` to fix it."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to check the repository status — what should I run?", "completion": "On Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: What's the command to follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. The command you need is `export PATH=\"$PATH:/opt/tool/bin\"`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: Let's talk about container nginx-proxy.\nAssistant: Noted: nginx-proxy. What's the task?\nUser: What's the command to inspect it?", "completion": "Given that you're dealing with nginx-proxy, docker inspect shows config. Run `docker inspect nginx-proxy`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. Run `chmod u+w file-name`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Which port is in the connection string?\nUser: I think it's the wrong one", "completion": "Since the client is using the wrong port, match the port in the connection string. Run `psql -p 5432 -h localhost`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Noted: app.db. What's the task?\nUser: inspect its tables?", "completion": "Given that you're dealing with app.db, sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Debian, df reports free and used space. You can do it with `df -h`."} +{"prompt": "User: Port 22 is the one I care about.\nAssistant: Noted: 22. What's the task?\nUser: What's the command to change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: What error do you get?\nUser: It says Permission denied", "completion": "Since you don't own the file, you need write permission on the parent directory. The command you need is `sudo rm file-name`."} +{"prompt": "User: I need help because I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. Run `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to search text in files — what should I run?", "completion": "Since you're on Arch Linux, grep searches file contents. Run `grep -rn \"text\" .`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check disk usage?", "completion": "Since you're on Windows PowerShell, Get-PSDrive reports drive usage. Run `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "Since you're on Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: I've had a long day.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a function?", "completion": "Since you mentioned you're tired, let's keep this short and practical — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: The container I'm using is postgres-db.\nAssistant: Got it — postgres-db. What do you want to do with it?\nUser: restart it?", "completion": "Since you mentioned postgres-db, docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I commit my changes?", "completion": "Given that you're on Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Because the file mode blocks writes, add the write bit for the owner. Run `chmod u+w file-name`."} +{"prompt": "User: Could you help me? Ssh says connection refused.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. The command you need is `ssh -p 2222 user@host`."} +{"prompt": "User: Quick context: I'm inside logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: How do I check its size?", "completion": "Since you mentioned logs, du summarizes directory size. Run `du -sh logs`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to check disk usage?", "completion": "On Fedora, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: How do I check disk usage?", "completion": "Given that you're on macOS, df reports filesystem usage. You can do it with `df -h`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is the SSH service running?\nUser: I don't think so", "completion": "You said sshd isn't listening, so start the SSH service. Run `sudo systemctl start ssh`."} +{"prompt": "User: The service is running on port 5000.\nAssistant: Noted: 5000. What's the task?\nUser: restart the service on it?", "completion": "Given that you're dealing with 5000, systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: Quick question: my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "You said a quote is unclosed, so close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: I've had a long day.\nAssistant: That sounds rough. What can I help with?\nUser: how do I stay motivated?", "completion": "Given that you've had a long day, I'll keep this brief — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Thanks, Harper. What would you like to know?\nUser: what is a loop?", "completion": "Nice to meet you, Harper. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Hello, Jesse! What's on your mind?\nUser: Quick question: how do I practice coding?", "completion": "Good to meet you, Jesse. Since you're curious about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: Help — my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. Run `service-name --test-config`."} +{"prompt": "User: I'm just starting out.\nAssistant: That's completely fine — everyone starts somewhere. What would you like to know?\nUser: Can you help me understand this: what is a bug?", "completion": "Since you're just starting out, I'll keep this simple — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Could you help me? My command just hangs.\nAssistant: Is it stuck on a lock?\nUser: Possibly", "completion": "Because the process is blocked on a lock, inspect its syscalls. The command you need is `strace -p PID`."} +{"prompt": "User: Hello, I'm using a Mac running macOS right now.\nAssistant: Hello! How can I help you with your Mac?\nUser: What's the best way to update the system on this system?", "completion": "Because you're using macOS, brew upgrades installed packages. Use `brew upgrade` for that."} +{"prompt": "User: I'm working with port 9000.\nAssistant: Understood — 9000. What should we do next?\nUser: scan it for a service?", "completion": "Given that you're dealing with 9000, nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: I have a folder called src.\nAssistant: Understood — src. What should we do next?\nUser: Can you show me how to search inside it?", "completion": "Since you mentioned src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: I'm stuck: I get too many open files.\nAssistant: Does the limit reset after login?\nUser: Yes, every time", "completion": "Given that the limit resets on login, set it in limits.conf. Use `echo '* soft nofile 4096' | sudo tee -a /etc/security/limits.conf` to fix it."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: Can you show me how to check container resource usage?", "completion": "Because you're using Docker, docker stats shows live usage. Run `docker stats`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "Since you're on Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Hey, I'm Jordan — nice to meet you.\nAssistant: Hello, Jordan! What's on your mind?\nUser: Quick question: how do I learn to code?", "completion": "Nice to meet you, Jordan. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The folder I'm using is build.\nAssistant: Understood — build. What should we do next?\nUser: delete it?", "completion": "Because build is the one you're working with, rm -rf removes a directory tree. The command is `rm -rf build`."} +{"prompt": "User: Not sure what's wrong, but my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Because a quote is unclosed, close the quote. Use `bash -n script.sh` to fix it."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. The command you need is `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "Since the branch is protected, push to a feature branch and open a PR. Run `git push origin feature-branch`."} +{"prompt": "User: I'm low on energy.\nAssistant: Let's keep it short and useful. What's your question?\nUser: what is a function?", "completion": "Because you're low on energy, I'll give you the simple version — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I have a container called nginx-proxy.\nAssistant: Thanks, I'll remember nginx-proxy. How can I help?\nUser: Can you show me how to inspect it?", "completion": "You said nginx-proxy, so docker inspect shows config. Use `docker inspect nginx-proxy`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Is the Docker daemon running?\nUser: I'm not sure", "completion": "Given that the Docker daemon is stopped, start the daemon. Use `sudo systemctl start docker` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Fedora, ss shows listening ports. The command is `ss -tulpn`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: What's the command to check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Ssh says connection refused.\nAssistant: Is the host address correct?\nUser: Maybe not, I copied it quickly", "completion": "Because the host address is wrong, verify the address first. Use `ping host-name` to fix it."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Did the file come from Windows?\nUser: Yes, I edited it on Windows", "completion": "You said the file has Windows line endings, so convert it to Unix line endings. The command you need is `dos2unix script.sh`."} +{"prompt": "User: I just checked out the branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: What's the command to merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. Run `git switch main && git merge feature/login`."} +{"prompt": "User: Could you help me? My bash script has a syntax error.\nAssistant: Does it mention an if block?\nUser: Yes, it says missing fi", "completion": "Since an if block is missing fi, add the closing fi. Use `bash -n script.sh` to fix it."} +{"prompt": "User: My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. Use `sudo journalctl --vacuum-size=200M` to fix it."} +{"prompt": "User: Python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Since the installed version is incompatible, pin a compatible version. Use `pip install package-name==1.2.3` to fix it."} +{"prompt": "User: I'm stuck: python says a module is missing.\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "You said the installed version is incompatible, so pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: Python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Given that the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: Can you show me how to check the repository status?", "completion": "On Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: What do the socket permissions show?\nUser: It looks restricted", "completion": "Since the Docker socket has wrong permissions, fix the socket mode. Run `sudo chmod 666 /var/run/docker.sock`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I view a container's logs?", "completion": "Because you're using Docker, docker logs prints container output. You can do it with `docker logs container-name`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: How do I find large files?", "completion": "Because you're using Arch Linux, find filters by file size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: What's the best way to check a service on this system?", "completion": "On Fedora, systemd controls services. Run `systemctl status service-name`."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "Since the configuration is invalid, test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: Let's talk about main.go — it's a file I need to handle.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: I've been working on the branch main.\nAssistant: Thanks, I'll remember main. How can I help?\nUser: How do I pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. The command is `git pull origin main`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is an array?", "completion": "You said you're exhausted, so here's the shortest useful explanation — it's an ordered list. An array is an ordered list of values accessed by index."} +{"prompt": "User: Hey, I'm Avery — nice to meet you.\nAssistant: Hello, Avery! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Avery. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. Run `cd /path/to/folder`."} +{"prompt": "User: Quick context: notes.txt is the file I'm using.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: What's the command to view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: Just so you know, I'm using an Arch Linux box.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: Can you show me how to update the system?", "completion": "Given that you're on Arch Linux, pacman performs a full upgrade. The command is `sudo pacman -Syu`."} +{"prompt": "User: Hey, I'm setting things up on a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "Because you're using Git, git switch creates and moves to a branch. The command is `git switch -c branch-name`."} +{"prompt": "User: The service is running on port 443.\nAssistant: Thanks, I'll remember 443. How can I help?\nUser: How do I check the HTTPS certificate?", "completion": "Since you mentioned 443, openssl inspects TLS. Use `openssl s_client -connect example.com:443`."} +{"prompt": "User: Hey, I'm Finley — nice to meet you.\nAssistant: Hello, Finley! What's on your mind?\nUser: what is a loop?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Just so you know, I'm using a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: I need to install a package — what should I run?", "completion": "On Fedora, dnf is the package manager. Use `sudo dnf install package-name` for that."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to pull the latest changes — what should I run?", "completion": "Given that you're on Git, git pull fetches and merges. You can do it with `git pull`."} +{"prompt": "User: I have something listening on port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: Can you show me how to check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: Hey, I'm Harper — nice to meet you.\nAssistant: Hello, Harper! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Good to meet you, Harper. Since you're curious about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: I need help because my git push was rejected.\nAssistant: Is authentication failing?\nUser: Yes, it asks for credentials again", "completion": "Given that the remote rejected your credentials, refresh your token or SSH key. Run `ssh -T git@github.com`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I search text in files?", "completion": "On Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Not sure what's wrong, but my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "Because the filesystem is out of space, find and remove large files. Use `du -sh * | sort -hr | head` to fix it."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: What line does it mention?\nUser: It points near a quote", "completion": "Since a quote is unclosed, close the quote. The command you need is `bash -n script.sh`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on macOS, launchctl manages background services. Run `launchctl list`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I see open ports?", "completion": "Because you're using Arch Linux, ss lists listening sockets. The command is `ss -tulpn`."} +{"prompt": "User: Quick context: port 27017 is the one I'm using.\nAssistant: Noted: 27017. What's the task?\nUser: check MongoDB?", "completion": "Because 27017 is the one you're working with, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: Docker says permission denied, can you help?\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. Use `sudo usermod -aG docker $USER` to fix it."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: What's the best way to update the system on this system?", "completion": "Since you're on Windows PowerShell, winget upgrades installed packages. Use `winget upgrade --all` for that."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to check the Python version?", "completion": "Given that you're on Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "You said the Node version is too old, so switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "You said it's a non-empty directory, so rm needs the recursive flag. Use `rm -rf folder-name` to fix it."} +{"prompt": "User: My service won't start and I don't know why.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Because a required dependency is missing, install it. Run `sudo apt install dependency-name`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is another process using the port?\nUser: Maybe", "completion": "Since another process owns the port, find and stop it. Use `sudo ss -tulpn | grep 8080` to fix it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: What's the best way to stash my work on this system?", "completion": "Because you're using Git, git stash shelves uncommitted changes. You can do it with `git stash`."} +{"prompt": "User: I'm stuck: I get permission denied when editing a file.\nAssistant: Is there an ACL involved?\nUser: I see a plus sign in ls -l", "completion": "Given that an ACL is denying access, inspect and update the ACL. Use `getfacl file-name` to fix it."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: I need to check the repository status — what should I run?", "completion": "Since you're on Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: I'm working on the file archive.zip.\nAssistant: Got it — archive.zip. What do you want to do with it?\nUser: unzip it?", "completion": "You said archive.zip, so unzip extracts zip archives. The command is `unzip archive.zip`."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Hi! What do you need help with on your Ubuntu server?\nUser: What's the best way to search text in files on this system?", "completion": "On Ubuntu, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: What does the error say?\nUser: It says address already in use", "completion": "You said another process is listening on the port, so find and stop that process. Use `sudo lsof -i :8080` to fix it."} +{"prompt": "User: I'm a complete beginner.\nAssistant: No problem at all. What can I explain?\nUser: what is a function?", "completion": "Because you're new to this, let's start with the basics — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I'm working with an Ubuntu server at the moment.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: How do I install a package?", "completion": "Because you're using Ubuntu, packages are managed with apt. Use `sudo apt install package-name` for that."} +{"prompt": "User: Hi, I'm Finley.\nAssistant: Thanks, Finley. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Thanks, Finley — I'll remember your name. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: How do I freeze my dependencies?", "completion": "On Python, pip freeze lists installed versions. The command is `pip freeze > requirements.txt`."} +{"prompt": "User: I get too many open files, can you help?\nAssistant: Is the process leaking files?\nUser: It might be", "completion": "Given that the process is leaking file descriptors, find the open files. Run `lsof -p PID`."} +{"prompt": "User: Help — I can't delete this file.\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "Because a process still has it open, the process must release it first. Run `lsof file-name`."} +{"prompt": "User: The service is running on port 27017.\nAssistant: Thanks, I'll remember 27017. How can I help?\nUser: check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Use `mongosh --port 27017`."} +{"prompt": "User: I've been working on the branch experiment.\nAssistant: Thanks, I'll remember experiment. How can I help?\nUser: delete it?", "completion": "Because experiment is the one you're working with, git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: Hello! My name is Harper.\nAssistant: Nice to meet you, Harper! What can I help you with?\nUser: what is a loop?", "completion": "Nice to meet you, Harper. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Quick context: index.html is the file I'm using.\nAssistant: Understood — index.html. What should we do next?\nUser: open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: Not sure what's wrong, but my git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Since the remote has commits you don't, pull and rebase before pushing. Use `git pull --rebase origin main` to fix it."} +{"prompt": "User: I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Thanks, I'll remember backup.tar.gz. How can I help?\nUser: Can you show me how to extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Use `tar -xzf backup.tar.gz`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Did you check the spelling?\nUser: Maybe I typed it wrong", "completion": "Since the filename is misspelled, check the exact name. Run `ls -la`."} +{"prompt": "User: I'm a complete beginner.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: what should I learn first?", "completion": "Given that you're a beginner, here's a plain explanation — fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: What's the best way to check running processes on this system?", "completion": "Because you're using Windows PowerShell, Get-Process lists running processes. Run `Get-Process`."} +{"prompt": "User: The file I'm dealing with is notes.txt.\nAssistant: Got it — notes.txt. What do you want to do with it?\nUser: view it?", "completion": "You said notes.txt, so less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: Not sure what's wrong, but python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: Is the tool installed?\nUser: I don't think so", "completion": "Because the package isn't installed, install it with the system package manager. Use `sudo apt install package-name` to fix it."} +{"prompt": "User: Not sure what's wrong, but the port is already in use.\nAssistant: Is a firewall involved?\nUser: Maybe, I enabled one recently", "completion": "Because the firewall is blocking the port, open it in the firewall. Run `sudo ufw allow 8080/tcp`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hi! What do you need help with on your PowerShell session?\nUser: Can you show me how to see open ports?", "completion": "Since you're on Windows PowerShell, Get-NetTCPConnection lists listening ports. You can do it with `Get-NetTCPConnection -State Listen`."} +{"prompt": "User: I've got a file named notes.txt.\nAssistant: Understood — notes.txt. What should we do next?\nUser: What's the command to view it?", "completion": "Since you mentioned notes.txt, less is a safe pager. Use `less notes.txt`."} +{"prompt": "User: I'm feeling drained.\nAssistant: That sounds rough. What can I help with?\nUser: Quick question: what is a bug?", "completion": "Since you mentioned you're tired, let's keep this short and practical — a bug is a mismatch between intent and behavior. A bug is a mistake in code that makes the program behave differently than intended."} +{"prompt": "User: Hello, I'm using a Debian machine right now.\nAssistant: Got it — your Debian machine. What can I do for you?\nUser: Can you show me how to search text in files?", "completion": "On Debian, grep is the standard text search tool. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: My command isn't found and I don't know why.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: I need to search text in files — what should I run?", "completion": "Given that you're on Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Could you help me? The database connection is refused.\nAssistant: Are the credentials correct?\nUser: I'm not sure", "completion": "Given that the credentials are wrong, verify the username and password. The command you need is `psql -U user -d database`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: I need to update the system — what should I run?", "completion": "On macOS, brew upgrades installed packages. The command is `brew upgrade`."} +{"prompt": "User: Hey, I'm Jamie — nice to meet you.\nAssistant: Hello, Jamie! What's on your mind?\nUser: how do I stay motivated?", "completion": "Nice to meet you, Jamie. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: I can't write to this file, can you help?\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "You said the file mode blocks writes, so add the write bit. The command you need is `chmod u+w file-name`."} +{"prompt": "User: The file I'm dealing with is app.db.\nAssistant: Thanks, I'll remember app.db. How can I help?\nUser: What's the command to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. Use `sqlite3 app.db '.tables'`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Got it — main.go. What do you want to do with it?\nUser: Can you show me how to run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. Run `go run main.go`."} +{"prompt": "User: Quick question: my command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. Use `curl -I https://example.com` to fix it."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "Given that you're on Git, git add stages and git commit records. Run `git add . && git commit -m \"message\"`."} +{"prompt": "User: I'm stuck: ssh says connection refused.\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Since the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Understood — config.json. What should we do next?\nUser: How do I pretty-print it?", "completion": "Because config.json is the one you're working with, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to copy a file into a container?", "completion": "Given that you're on Docker, docker cp copies files in and out. Run `docker cp file.txt container-name:/path/`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Thanks for the context. What would you like to do with your Docker container?\nUser: How do I stop a container?", "completion": "Given that you're on Docker, docker stop sends a graceful signal. You can do it with `docker stop container-name`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to check running processes?", "completion": "Since you're on Arch Linux, ps shows the process table. You can do it with `ps aux`."} +{"prompt": "User: Quick question: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. The command you need is `nvm install --lts`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to check running processes?", "completion": "On macOS, ps lists running processes. Use `ps aux` for that."} +{"prompt": "User: Not sure what's wrong, but my service won't start.\nAssistant: What does systemctl status say?\nUser: It says failed", "completion": "You said systemd reports a failure, so read the service logs. Run `journalctl -u service-name -n 50`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "Because you're using Arch Linux, df reports disk usage. Use `df -h` for that."} +{"prompt": "User: Port 5000 is the one I care about.\nAssistant: Understood — 5000. What should we do next?\nUser: Can you show me how to restart the service on it?", "completion": "You said 5000, so systemctl restarts the unit. Use `sudo systemctl restart service-name`."} +{"prompt": "User: The container I'm using is api-server.\nAssistant: Got it — api-server. What do you want to do with it?\nUser: What's the command to enter its shell?", "completion": "Because api-server is the one you're working with, docker exec runs inside. Use `docker exec -it api-server bash`."} +{"prompt": "User: Hi! I'm working on a Python project today.\nAssistant: Got it — your Python project. What can I do for you?\nUser: How do I upgrade pip?", "completion": "Given that you're on Python, pip can upgrade itself. Use `python3 -m pip install --upgrade pip` for that."} +{"prompt": "User: Hello! My name is Casey.\nAssistant: Thanks, Casey. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Casey. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: The file I'm dealing with is photo.jpg.\nAssistant: Understood — photo.jpg. What should we do next?\nUser: check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "You said the immutable attribute is set, so remove it. Use `sudo chattr -i file-name` to fix it."} +{"prompt": "User: I get a bad interpreter error and I don't know why.\nAssistant: Does the interpreter exist?\nUser: I don't think so", "completion": "You said the interpreter doesn't exist, so install it or change the shebang. The command you need is `which bash`."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: How do I search text in files?", "completion": "On Arch Linux, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: I need to check the repository status — what should I run?", "completion": "Since you're on Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Thanks, I'll remember assets. How can I help?\nUser: copy it?", "completion": "Given that you're dealing with assets, cp -r copies directories. Use `cp -r assets assets-backup`."} +{"prompt": "User: I'm learning from scratch.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Can you help me understand this: what is a loop?", "completion": "Given that you're a beginner, here's a plain explanation — the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hello! How can I help you with your Git repository?\nUser: Can you show me how to create a branch?", "completion": "Because you're using Git, git switch creates and moves to a branch. You can do it with `git switch -c branch-name`."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Noted: index.html. What's the task?\nUser: open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. Run `xdg-open index.html`."} +{"prompt": "User: I've got a file named photo.jpg.\nAssistant: Noted: photo.jpg. What's the task?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with photo.jpg, ls -lh shows a readable size. Use `ls -lh photo.jpg`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I push my commits?", "completion": "Given that you're on Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to view a container's logs — what should I run?", "completion": "Since you're on Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Nice to meet you, Logan! What can I help you with?\nUser: how do I learn to code?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The directory I'm dealing with is docs.\nAssistant: Noted: docs. What's the task?\nUser: How do I list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: My command just hangs.\nAssistant: Does it involve the network?\nUser: Yes, it's calling an API", "completion": "Since a network call is timing out, test connectivity. Run `curl -I https://example.com`."} +{"prompt": "User: I'm working on the file photo.jpg.\nAssistant: Got it — photo.jpg. What do you want to do with it?\nUser: What's the command to check its size?", "completion": "You said photo.jpg, so ls -lh shows a readable size. The command is `ls -lh photo.jpg`."} +{"prompt": "User: The directory I'm dealing with is logs.\nAssistant: Thanks, I'll remember logs. How can I help?\nUser: Can you show me how to check its size?", "completion": "Given that you're dealing with logs, du summarizes directory size. The command is `du -sh logs`."} +{"prompt": "User: The port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Since Linux filenames are case-sensitive, use the exact case. The command you need is `find . -iname 'file-name'`."} +{"prompt": "User: Hey, I'm setting things up on an Ubuntu server.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Given that you're on Ubuntu, find can filter by file size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I install a package?", "completion": "Because you're using Debian, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: I'm stuck: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: I need to update the system — what should I run?", "completion": "Since you're on Debian, apt performs the upgrade. Run `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Because there's no space left, free some space. Run `df -h`."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: What are the file permissions?\nUser: The write bit is missing", "completion": "Given that the file mode blocks writes, add the write bit for the owner. Use `chmod u+w file-name` to fix it."} +{"prompt": "User: I'm working with a Docker container at the moment.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: I need to enter a container shell — what should I run?", "completion": "Because you're using Docker, docker exec runs a command inside it. Use `docker exec -it container-name bash` for that."} +{"prompt": "User: Let's talk about port 8000.\nAssistant: Understood — 8000. What should we do next?\nUser: forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Hey, I'm setting things up on a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to list running containers?", "completion": "Since you're on Docker, docker ps shows active containers. The command is `docker ps`."} +{"prompt": "User: Let's talk about the docs directory.\nAssistant: Got it — docs. What do you want to do with it?\nUser: What's the command to list its files?", "completion": "Because docs is the one you're working with, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Hey, I'm Riley — nice to meet you.\nAssistant: Hello, Riley! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Riley — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello! My name is Alex.\nAssistant: Thanks, Alex. What would you like to know?\nUser: Can you help me understand this: what's a good first project?", "completion": "Nice to meet you, Alex. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Since you lack write permission, grant write access. Use `chmod u+w directory-name` to fix it."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Got it — src. What do you want to do with it?\nUser: Can you show me how to search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: My script won't run and I don't know why.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "Given that there's a quoting or syntax mistake, the shell needs valid syntax before it can run. Run `bash -n script.sh`."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Understood — 27017. What should we do next?\nUser: What's the command to check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: Hello, I'm using an Ubuntu server right now.\nAssistant: Got it — your Ubuntu server. What can I do for you?\nUser: What's the best way to install a package on this system?", "completion": "On Ubuntu, packages are managed with apt. The command is `sudo apt install package-name`."} +{"prompt": "User: Hi, I'm Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: how do I practice coding?", "completion": "Thanks, Kai — I'll remember your name. Since you asked about practice, active practice beats passive reading. Solve tiny exercises, rebuild examples from memory, and review your mistakes."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What error do you see?\nUser: It says Permission denied", "completion": "Because the script isn't executable, the execute bit needs to be set. Use `chmod +x script.sh` to fix it."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to check the repository status on this system?", "completion": "Given that you're on Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: Let's talk about port 27017.\nAssistant: Got it — 27017. What do you want to do with it?\nUser: check MongoDB?", "completion": "Given that you're dealing with 27017, mongosh connects on that port. The command is `mongosh --port 27017`."} +{"prompt": "User: Not sure what's wrong, but my script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Since the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: I need help because the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Since the database service isn't running, start it before connecting. Use `sudo systemctl start postgresql` to fix it."} +{"prompt": "User: My script won't run, can you help?\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Because the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: I have something listening on port 9000.\nAssistant: Thanks, I'll remember 9000. How can I help?\nUser: How do I scan it for a service?", "completion": "You said 9000, so nmap probes ports. The command is `nmap -p 9000 localhost`."} +{"prompt": "User: Let's talk about container postgres-db.\nAssistant: Thanks, I'll remember postgres-db. How can I help?\nUser: How do I restart it?", "completion": "You said postgres-db, so docker restart cycles it. Run `docker restart postgres-db`."} +{"prompt": "User: I've been working on the branch feature/login.\nAssistant: Noted: feature/login. What's the task?\nUser: How do I merge it into main?", "completion": "Because feature/login is the one you're working with, git merge joins histories. The command is `git switch main && git merge feature/login`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what's a good first project?", "completion": "Given that you've had a long day, I'll keep this brief — small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Jesse — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I find large files?", "completion": "Because you're using Windows PowerShell, Get-ChildItem can filter by size. You can do it with `Get-ChildItem -Recurse | Where-Object Length -gt 100MB`."} +{"prompt": "User: Just so you know, I'm Avery.\nAssistant: Thanks, Avery. What would you like to know?\nUser: Quick question: what should I learn first?", "completion": "Good to meet you, Avery. Since you're curious about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: Can you show me how to check disk usage?", "completion": "Since you're on Debian, df reports free and used space. The command is `df -h`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: What's the best way to find large files on this system?", "completion": "On Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I'm stuck: the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "Since ports below 1024 need privileges, run it with sudo or use a higher port. Use `sudo command --port 80` to fix it."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: what is a function?", "completion": "You said you're exhausted, so here's the shortest useful explanation — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Let's talk about container api-server.\nAssistant: Noted: api-server. What's the task?\nUser: How do I enter its shell?", "completion": "Given that you're dealing with api-server, docker exec runs inside. Run `docker exec -it api-server bash`."} +{"prompt": "User: Just so you know, I'm using a Docker container.\nAssistant: Got it — your Docker container. What can I do for you?\nUser: Can you show me how to view a container's logs?", "completion": "Given that you're on Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: I didn't sleep well.\nAssistant: Let's keep it short and useful. What's your question?\nUser: Quick question: what is a variable?", "completion": "You said you're exhausted, so here's the shortest useful explanation — the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I have a file called main.go.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: run it?", "completion": "Because main.go is the one you're working with, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hello! How can I help you with your Docker container?\nUser: I need to remove an image — what should I run?", "completion": "Since you're on Docker, docker rmi deletes an image. Run `docker rmi image-name`."} +{"prompt": "User: Help — my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Because the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: I'm working with a Git repository at the moment.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I pull the latest changes?", "completion": "Because you're using Git, git pull fetches and merges. Use `git pull` for that."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Noted: tmp. What's the task?\nUser: Can you show me how to clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. The command is `find tmp -type f -delete`."} +{"prompt": "User: I'm working with a Mac running macOS at the moment.\nAssistant: Hi! What do you need help with on your Mac?\nUser: I need to search text in files — what should I run?", "completion": "Because you're using macOS, grep searches file contents. Use `grep -rn \"text\" .` for that."} +{"prompt": "User: I'm working with port 27017.\nAssistant: Noted: 27017. What's the task?\nUser: What's the command to check MongoDB?", "completion": "Since you mentioned 27017, mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: My command isn't found, can you help?\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Given that the file exists but isn't executable, the execute bit is missing. Run `chmod +x ./command-name`."} +{"prompt": "User: I just checked out the branch main.\nAssistant: Got it — main. What do you want to do with it?\nUser: How do I pull the latest?", "completion": "Since you mentioned main, git pull updates the branch. Use `git pull origin main`."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: Can you show me how to view a container's logs?", "completion": "On Docker, docker logs prints container output. Use `docker logs container-name` for that."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Understood — src. What should we do next?\nUser: What's the command to search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Hi! I'm working on a Fedora workstation today.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: Can you show me how to check running processes?", "completion": "Because you're using Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "Because SELinux is denying the write, fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Port 8080 is the one I care about.\nAssistant: Thanks, I'll remember 8080. How can I help?\nUser: How do I kill whatever is using it?", "completion": "Given that you're dealing with 8080, lsof finds the owning process. The command is `sudo lsof -i :8080`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Understood — staging. What should we do next?\nUser: How do I switch to it?", "completion": "Since you mentioned staging, git switch changes branches. Run `git switch staging`."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Noted: server.log. What's the task?\nUser: How do I follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Use `tail -f server.log`."} +{"prompt": "User: I'm working in the tmp folder.\nAssistant: Noted: tmp. What's the task?\nUser: How do I clean it?", "completion": "Because tmp is the one you're working with, find can delete matching files. Use `find tmp -type f -delete`."} +{"prompt": "User: The service is running on port 22.\nAssistant: Got it — 22. What do you want to do with it?\nUser: What's the command to change the SSH port?", "completion": "Since you mentioned 22, sshd_config controls the port. The command is `sudo sed -i 's/^#Port 22/Port 2222/' /etc/ssh/sshd_config`."} +{"prompt": "User: Hi, I'm Taylor.\nAssistant: Hello, Taylor! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Good to meet you, Taylor. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hello! How can I help you with your Debian machine?\nUser: How do I check running processes?", "completion": "Given that you're on Debian, ps gives a process snapshot. You can do it with `ps aux`."} +{"prompt": "User: Quick context: I'm working with a Fedora workstation.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: How do I install a package?", "completion": "Because you're using Fedora, dnf is the package manager. Run `sudo dnf install package-name`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: Can you show me how to find large files?", "completion": "Since you're on Debian, find filters files by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I check the repository status?", "completion": "Given that you're on Git, git status summarizes changes. Use `git status` for that."} +{"prompt": "User: Hey, I'm Quinn — nice to meet you.\nAssistant: Nice to meet you, Quinn! What can I help you with?\nUser: Quick question: what is a function?", "completion": "Good to meet you, Quinn. Since you're curious about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to update the system on this system?", "completion": "Given that you're on Debian, apt performs the upgrade. Use `sudo apt update && sudo apt upgrade` for that."} +{"prompt": "User: Just so you know, I'm Harper.\nAssistant: Hello, Harper! What's on your mind?\nUser: what's a good first project?", "completion": "Good to meet you, Harper. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to pull the latest changes on this system?", "completion": "Because you're using Git, git pull fetches and merges. Run `git pull`."} +{"prompt": "User: Quick question: the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Because the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Hi, I'm Emerson.\nAssistant: Hello, Emerson! What's on your mind?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Emerson — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hi! I'm working on an Ubuntu server today.\nAssistant: Thanks for the context. What would you like to do with your Ubuntu server?\nUser: How do I check running processes?", "completion": "On Ubuntu, processes are visible with ps or top. Run `ps aux`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: how do I ask for help?", "completion": "Given that you've had a long day, I'll keep this brief — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: The directory I'm dealing with is venv.\nAssistant: Thanks, I'll remember venv. How can I help?\nUser: What's the command to remove it?", "completion": "Since you mentioned venv, rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Hi, I'm Alex.\nAssistant: Hello, Alex! What's on your mind?\nUser: Quick question: how do I stay motivated?", "completion": "Thanks, Alex — I'll remember your name. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Help — docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. The command you need is `sudo docker ps`."} +{"prompt": "User: My script won't run.\nAssistant: What happens when you run it?\nUser: I get 'bad interpreter'", "completion": "Because the shebang points to a missing interpreter, the interpreter path needs to be corrected. Run `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Quick context: I'm inside assets.\nAssistant: Understood — assets. What should we do next?\nUser: What's the command to copy it?", "completion": "Because assets is the one you're working with, cp -r copies directories. Run `cp -r assets assets-backup`."} +{"prompt": "User: The branch I'm using is feature/api.\nAssistant: Got it — feature/api. What do you want to do with it?\nUser: rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Since logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I've got a file named config.json.\nAssistant: Thanks, I'll remember config.json. How can I help?\nUser: How do I pretty-print it?", "completion": "Given that you're dealing with config.json, jq formats JSON. Use `jq . config.json`."} +{"prompt": "User: I'm stuck: npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: I'm stuck: I get a bad interpreter error.\nAssistant: What does the shebang look like?\nUser: It looks like /bin/bash^M", "completion": "You said the shebang has a carriage return, so strip the CR characters. The command you need is `sed -i 's/\\r$//' script.sh`."} +{"prompt": "User: I'm working with a Fedora workstation at the moment.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: How do I see open ports?", "completion": "Given that you're on Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: Just so you know, I'm using Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: How do I check a service?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. The command is `Get-Service service-name`."} +{"prompt": "User: Quick context: backup.tar.gz is the file I'm using.\nAssistant: Understood — backup.tar.gz. What should we do next?\nUser: How do I extract it?", "completion": "Given that you're dealing with backup.tar.gz, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: Could you help me? Npm install is failing.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Hello! How can I help you with your PowerShell session?\nUser: I need to check a service — what should I run?", "completion": "Given that you're on Windows PowerShell, Get-Service reports service state. Run `Get-Service service-name`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: Hello! My name is Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: Can you help me understand this: what should I learn first?", "completion": "Nice to meet you, Morgan. Since you asked about the first steps, fundamentals come before frameworks. Learn variables, conditionals, loops, and functions first."} +{"prompt": "User: Let's talk about branch release-1.2.\nAssistant: Got it — release-1.2. What do you want to do with it?\nUser: What's the command to tag it?", "completion": "Since you mentioned release-1.2, git tag marks a release. Run `git tag v1.2 release-1.2`."} +{"prompt": "User: Let's talk about the venv directory.\nAssistant: Got it — venv. What do you want to do with it?\nUser: remove it?", "completion": "You said venv, so rm -rf removes the environment. Run `rm -rf venv`."} +{"prompt": "User: Not sure what's wrong, but I can't write to this file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Because the filesystem is read-only, remount it read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: Python says a module is missing, can you help?\nAssistant: Is the version compatible?\nUser: The error mentions a version mismatch", "completion": "Because the installed version is incompatible, pin a compatible version. Run `pip install package-name==1.2.3`."} +{"prompt": "User: I have something listening on port 6379.\nAssistant: Understood — 6379. What should we do next?\nUser: Can you show me how to connect to Redis?", "completion": "Given that you're dealing with 6379, redis-cli takes a port. The command is `redis-cli -p 6379`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: What exactly did you type?\nUser: I typed the name but maybe misspelled it", "completion": "Since the command name is misspelled, the shell needs the exact executable name. Run `command-name --help`."} +{"prompt": "User: I'm working on the file app.py.\nAssistant: Thanks, I'll remember app.py. How can I help?\nUser: Can you show me how to run it?", "completion": "Since you mentioned app.py, Python can execute it directly. The command is `python3 app.py`."} +{"prompt": "User: My service won't start, can you help?\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. The command you need is `service-name --test-config`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I check the repository status?", "completion": "Given that you're on Git, git status summarizes changes. Run `git status`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Since the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Understood — hotfix/payment. What should we do next?\nUser: What's the command to push it?", "completion": "Given that you're dealing with hotfix/payment, git push uploads the branch. The command is `git push origin hotfix/payment`."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: I need help because docker says permission denied.\nAssistant: Are you in the docker group?\nUser: No, I don't think so", "completion": "You said your user isn't in the docker group, so add yourself and re-login. Run `sudo usermod -aG docker $USER`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: How do I view the history?", "completion": "Given that you're on Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Hey, I'm setting things up on an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "On Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: Hi, I'm Dakota.\nAssistant: Hello, Dakota! What's on your mind?\nUser: how do I debug my code?", "completion": "Nice to meet you, Dakota. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Could you help me? I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Given that the filesystem is mounted read-only, remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Npm install is failing and I don't know why.\nAssistant: Which Node version are you on?\nUser: An old one, I think", "completion": "Given that the Node version is too old, switch to a supported version. Use `nvm install --lts` to fix it."} +{"prompt": "User: I need help because I can't write to this file.\nAssistant: Is the immutable attribute set?\nUser: I see an i flag in lsattr", "completion": "Given that the immutable attribute is set, remove it. The command you need is `sudo chattr -i file-name`."} +{"prompt": "User: I have a file called backup.tar.gz.\nAssistant: Noted: backup.tar.gz. What's the task?\nUser: extract it?", "completion": "Because backup.tar.gz is the one you're working with, tar handles gzipped archives. Run `tar -xzf backup.tar.gz`."} +{"prompt": "User: I get permission denied when editing a file, can you help?\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "You said root owns the file, so you need elevated privileges or ownership. Use `sudo chown $USER file-name` to fix it."} +{"prompt": "User: My disk is full, can you help?\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Because deleted files are still held open, restart the holding process. Run `sudo lsof +L1`."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hi! What do you need help with on your Python project?\nUser: Can you show me how to run my tests?", "completion": "On Python, pytest discovers and runs tests. Use `pytest` for that."} +{"prompt": "User: Hello! My name is Avery.\nAssistant: Hello, Avery! What's on your mind?\nUser: what is a loop?", "completion": "Good to meet you, Avery. Since you're curious about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Could you help me? My git push was rejected.\nAssistant: What does git say?\nUser: It says non-fast-forward", "completion": "Given that the remote has commits you don't, pull and rebase before pushing. The command you need is `git pull --rebase origin main`."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Thanks, Riley. What would you like to know?\nUser: what is a variable?", "completion": "Good to meet you, Riley. Since you're curious about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to check the repository status — what should I run?", "completion": "Since you're on Git, git status summarizes changes. The command is `git status`."} +{"prompt": "User: I'm working with the container redis-cache.\nAssistant: Thanks, I'll remember redis-cache. How can I help?\nUser: stop it?", "completion": "Because redis-cache is the one you're working with, docker stop sends SIGTERM. Use `docker stop redis-cache`."} +{"prompt": "User: I need help because my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "You said the variable expansion syntax is wrong, so use braces correctly. The command you need is `echo \"${variable}\"`."} +{"prompt": "User: I need help because I can't write to this directory.\nAssistant: What do the permissions show?\nUser: I don't have write access", "completion": "Given that you lack write permission, grant write access. The command you need is `chmod u+w directory-name`."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: What is the exact error?\nUser: ModuleNotFoundError", "completion": "Because the package isn't installed in this environment, install it with pip. Run `pip install package-name`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: What's the best way to run a script on this system?", "completion": "Because you're using Python, python3 executes a script file. Use `python3 script.py` for that."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Hello! How can I help you with your Python project?\nUser: How do I check the Python version?", "completion": "Since you're on Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hi! What do you need help with on your Arch Linux box?\nUser: I need to check disk usage — what should I run?", "completion": "Because you're using Arch Linux, df reports disk usage. You can do it with `df -h`."} +{"prompt": "User: Hi! I'm working on a Git repository today.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to commit my changes on this system?", "completion": "Because you're using Git, git add stages and git commit records. The command is `git add . && git commit -m \"message\"`."} +{"prompt": "User: Let's talk about index.html — it's a file I need to handle.\nAssistant: Noted: index.html. What's the task?\nUser: Can you show me how to open it in a browser?", "completion": "You said index.html, so xdg-open uses the default browser. The command is `xdg-open index.html`."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is a dependency missing?\nUser: The logs mention one", "completion": "Since a required dependency is missing, install it. The command you need is `sudo apt install dependency-name`."} +{"prompt": "User: I just checked out the branch hotfix/payment.\nAssistant: Thanks, I'll remember hotfix/payment. How can I help?\nUser: push it?", "completion": "You said hotfix/payment, so git push uploads the branch. Use `git push origin hotfix/payment`."} +{"prompt": "User: Not sure what's wrong, but npm install is failing.\nAssistant: Can you reach the registry?\nUser: It might be a network issue", "completion": "Given that the registry is unreachable, check the registry and connection. The command you need is `npm config get registry`."} +{"prompt": "User: I'm working with a Python project at the moment.\nAssistant: Thanks for the context. What would you like to do with your Python project?\nUser: Can you show me how to check the Python version?", "completion": "Because you're using Python, the --version flag prints it. Run `python3 --version`."} +{"prompt": "User: Not sure what's wrong, but my command isn't found.\nAssistant: Is it on your PATH?\nUser: I'm not sure where it lives", "completion": "Given that the binary isn't on your PATH, add its directory to PATH. Use `export PATH=\"$PATH:/opt/tool/bin\"` to fix it."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: How do I update the system?", "completion": "Given that you're on Debian, apt performs the upgrade. The command is `sudo apt update && sudo apt upgrade`."} +{"prompt": "User: Hi! I'm working on a Docker container today.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I enter a container shell?", "completion": "Because you're using Docker, docker exec runs a command inside it. You can do it with `docker exec -it container-name bash`."} +{"prompt": "User: I need help because my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "You said logs are consuming space, so vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: I'm new to all of this.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I ask for help?", "completion": "Because you're new to this, let's start with the basics — context makes help possible. Share what you tried, the exact error, and a minimal example."} +{"prompt": "User: I can't delete this file, can you help?\nAssistant: Is anything using the file?\nUser: Yes, a process has it open", "completion": "You said a process still has it open, so the process must release it first. The command you need is `lsof file-name`."} +{"prompt": "User: I'm stuck: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Since the file exists but isn't executable, the execute bit is missing. Use `chmod +x ./command-name` to fix it."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Understood — 8000. What should we do next?\nUser: What's the command to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. The command is `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Help — the port is already in use.\nAssistant: Which port are you binding?\nUser: Port 80", "completion": "You said ports below 1024 need privileges, so run it with sudo or use a higher port. Run `sudo command --port 80`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hello! How can I help you with your Git repository?\nUser: What's the best way to create a branch on this system?", "completion": "Given that you're on Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: Just so you know, I'm using a Debian machine.\nAssistant: Thanks for the context. What would you like to do with your Debian machine?\nUser: What's the best way to search text in files on this system?", "completion": "On Debian, grep is the standard text search tool. Run `grep -rn \"text\" .`."} +{"prompt": "User: Help — my script won't run.\nAssistant: What does the first line look like?\nUser: The script path might be wrong", "completion": "Since the path or interpreter is wrong, both the script path and shebang must exist. Run `ls -l script.sh && head -n 1 script.sh`."} +{"prompt": "User: Ssh says connection refused and I don't know why.\nAssistant: Which port are you using?\nUser: I'm using 2222", "completion": "You said you're connecting to the wrong port, so specify the correct port. Use `ssh -p 2222 user@host` to fix it."} +{"prompt": "User: I've been working on the branch feature/api.\nAssistant: Understood — feature/api. What should we do next?\nUser: What's the command to rebase it?", "completion": "Since you mentioned feature/api, git rebase replays commits. The command is `git rebase main feature/api`."} +{"prompt": "User: Hello, I'm using a Git repository right now.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to undo the last commit on this system?", "completion": "Since you're on Git, git reset moves the branch pointer. Use `git reset --soft HEAD~1` for that."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hello! How can I help you with your Docker container?\nUser: How do I view a container's logs?", "completion": "Because you're using Docker, docker logs prints container output. Run `docker logs container-name`."} +{"prompt": "User: Quick question: my command isn't found.\nAssistant: What does ls -l show?\nUser: The file exists but isn't executable", "completion": "Because the file exists but isn't executable, the execute bit is missing. The command you need is `chmod +x ./command-name`."} +{"prompt": "User: I'm just starting out.\nAssistant: Great — we'll take it slowly. What's your question?\nUser: Quick question: how do I stay motivated?", "completion": "Since you're just starting out, I'll keep this simple — small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Hello, I'm using Windows PowerShell right now.\nAssistant: Got it — your PowerShell session. What can I do for you?\nUser: Can you show me how to check disk usage?", "completion": "On Windows PowerShell, Get-PSDrive reports drive usage. You can do it with `Get-PSDrive -PSProvider FileSystem`."} +{"prompt": "User: Could you help me? I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Since you're in the wrong directory, move to the correct folder. Use `cd /path/to/folder` to fix it."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: Can you show me how to delete it?", "completion": "Since you mentioned experiment, git branch -D removes it. Run `git branch -D experiment`."} +{"prompt": "User: Could you help me? My disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. Run `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Hi! I'm working on a Debian machine today.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to check disk usage?", "completion": "On Debian, df reports free and used space. Use `df -h` for that."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: What's the best way to push my commits on this system?", "completion": "Because you're using Git, git push uploads to the remote. The command is `git push`."} +{"prompt": "User: Help — my disk is full.\nAssistant: What does df show?\nUser: It shows 100% used", "completion": "You said the filesystem is out of space, so find and remove large files. The command you need is `du -sh * | sort -hr | head`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Hi! What do you need help with on your Git repository?\nUser: I need to push my commits — what should I run?", "completion": "Given that you're on Git, git push uploads to the remote. Use `git push` for that."} +{"prompt": "User: Help — my git push was rejected.\nAssistant: Which branch are you pushing to?\nUser: Main, directly", "completion": "You said the branch is protected, so push to a feature branch and open a PR. The command you need is `git push origin feature-branch`."} +{"prompt": "User: I'm exhausted.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Can you help me understand this: what is a function?", "completion": "Since you mentioned you're tired, let's keep this short and practical — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Good to meet you, Logan. Since you're curious about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Quick context: I'm working with a Docker container.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: What's the best way to list running containers on this system?", "completion": "Since you're on Docker, docker ps shows active containers. You can do it with `docker ps`."} +{"prompt": "User: Could you help me? I can't write to this file.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Given that there's no space left, free some space. Use `df -h` to fix it."} +{"prompt": "User: Quick question: my service won't start.\nAssistant: Is the configuration valid?\nUser: I'm not sure", "completion": "You said the configuration is invalid, so test the config first. Run `service-name --test-config`."} +{"prompt": "User: My disk is full and I don't know why.\nAssistant: Did you delete files recently?\nUser: Yes, but space didn't free up", "completion": "Given that deleted files are still held open, restart the holding process. The command you need is `sudo lsof +L1`."} +{"prompt": "User: I just checked out the branch experiment.\nAssistant: Understood — experiment. What should we do next?\nUser: What's the command to delete it?", "completion": "You said experiment, so git branch -D removes it. Use `git branch -D experiment`."} +{"prompt": "User: I can't find my file, can you help?\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Hey, I'm setting things up on a Fedora workstation.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: Can you show me how to find large files?", "completion": "Because you're using Fedora, find can match by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: I need help because python says a module is missing.\nAssistant: Are you in a virtual environment?\nUser: I think I'm in the wrong one", "completion": "You said you're using a different virtual environment, so activate the right environment. Run `source venv/bin/activate`."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Thanks, Sam. What would you like to know?\nUser: Can you help me understand this: what is a loop?", "completion": "Thanks, Sam — I'll remember your name. Since you asked about loops, the purpose is repetition. A loop repeats a block of code until a condition is met."} +{"prompt": "User: Hey, I'm Logan — nice to meet you.\nAssistant: Thanks, Logan. What would you like to know?\nUser: how do I debug my code?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Just so you know, I'm Riley.\nAssistant: Hello, Riley! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Riley. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "Since the filesystem is mounted read-only, remount it read-write. Use `sudo mount -o remount,rw /` to fix it."} +{"prompt": "User: I need help because my script won't run.\nAssistant: Does the shell report a syntax problem?\nUser: Yes, it mentions an unexpected token", "completion": "You said there's a quoting or syntax mistake, so the shell needs valid syntax before it can run. The command you need is `bash -n script.sh`."} +{"prompt": "User: Hi! I'm working on an Arch Linux box today.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: How do I check disk usage?", "completion": "On Arch Linux, df reports disk usage. Run `df -h`."} +{"prompt": "User: I've got a file named data.csv.\nAssistant: Understood — data.csv. What should we do next?\nUser: What's the command to count its rows?", "completion": "Because data.csv is the one you're working with, wc counts lines in text files. Run `wc -l data.csv`."} +{"prompt": "User: I'm working with port 8000.\nAssistant: Noted: 8000. What's the task?\nUser: What's the command to forward it to another port?", "completion": "You said 8000, so SSH can forward local ports. Run `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Quick context: I'm inside project-alpha.\nAssistant: Got it — project-alpha. What do you want to do with it?\nUser: Can you show me how to compress it?", "completion": "Because project-alpha is the one you're working with, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: Hello! My name is Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Quick question: what is a function?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I've got a file named app.db.\nAssistant: Noted: app.db. What's the task?\nUser: Can you show me how to inspect its tables?", "completion": "You said app.db, so sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hello! How can I help you with your Fedora workstation?\nUser: How do I find large files?", "completion": "Given that you're on Fedora, find can match by size. The command is `find . -type f -size +100M`."} +{"prompt": "User: Hello! My name is Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: how do I learn to code?", "completion": "Nice to meet you, Sam. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: Quick question: what's a good first project?", "completion": "Nice to meet you, Parker. Since you asked about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Thanks for the context. What would you like to do with your Fedora workstation?\nUser: How do I check running processes?", "completion": "Because you're using Fedora, ps lists running processes. You can do it with `ps aux`."} +{"prompt": "User: My git push was rejected, can you help?\nAssistant: Does the branch have an upstream?\nUser: I don't think it does", "completion": "Since the branch has no upstream, set the upstream on first push. Use `git push -u origin branch-name` to fix it."} +{"prompt": "User: I'm stuck: my bash script has a syntax error.\nAssistant: Is the variable expansion correct?\nUser: It says bad substitution", "completion": "Given that the variable expansion syntax is wrong, use braces correctly. Run `echo \"${variable}\"`."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: How do I check running processes?", "completion": "Given that you're on Arch Linux, ps shows the process table. The command is `ps aux`."} +{"prompt": "User: I'm really tired today.\nAssistant: I'll keep this concise. What do you want to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "You said you're exhausted, so here's the shortest useful explanation — consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Hey, I'm Emerson — nice to meet you.\nAssistant: Thanks, Emerson. What would you like to know?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Nice to meet you, Emerson. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: The directory I'm dealing with is project-alpha.\nAssistant: Understood — project-alpha. What should we do next?\nUser: Can you show me how to compress it?", "completion": "Given that you're dealing with project-alpha, tar creates an archive. The command is `tar -czf project-alpha.tar.gz project-alpha`."} +{"prompt": "User: I need help because I can't find my file.\nAssistant: Does the case match?\nUser: I used different capitalization", "completion": "Because Linux filenames are case-sensitive, use the exact case. Use `find . -iname 'file-name'` to fix it."} +{"prompt": "User: Hi, I'm Sam.\nAssistant: Nice to meet you, Sam! What can I help you with?\nUser: Can you help me understand this: how do I debug my code?", "completion": "Nice to meet you, Sam. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: Hello, I'm using an Arch Linux box right now.\nAssistant: Hello! How can I help you with your Arch Linux box?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Arch Linux, ss lists listening sockets. Use `ss -tulpn` for that."} +{"prompt": "User: Hey, I'm Jesse — nice to meet you.\nAssistant: Thanks, Jesse. What would you like to know?\nUser: Quick question: how do I stay motivated?", "completion": "Nice to meet you, Jesse. Since you asked about motivation, small wins keep momentum. Track small wins and work on something you actually want to build."} +{"prompt": "User: Quick context: I'm working with Windows PowerShell.\nAssistant: Thanks for the context. What would you like to do with your PowerShell session?\nUser: I need to install a package — what should I run?", "completion": "Given that you're on Windows PowerShell, winget is the built-in package manager. The command is `winget install package-name`."} +{"prompt": "User: Just so you know, I'm using a Git repository.\nAssistant: Got it — your Git repository. What can I do for you?\nUser: I need to view the history — what should I run?", "completion": "Since you're on Git, git log shows commits. You can do it with `git log --oneline --graph`."} +{"prompt": "User: Help — my disk is full.\nAssistant: Is it space or inodes?\nUser: It says no space left but df looks fine", "completion": "Because inodes are exhausted, remove many small files. Run `df -i`."} +{"prompt": "User: Quick context: I'm working with an Arch Linux box.\nAssistant: Thanks for the context. What would you like to do with your Arch Linux box?\nUser: Can you show me how to check a service?", "completion": "Because you're using Arch Linux, systemctl reports service status. The command is `systemctl status service-name`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Got it — your Mac. What can I do for you?\nUser: I need to check disk usage — what should I run?", "completion": "On macOS, df reports filesystem usage. Run `df -h`."} +{"prompt": "User: Quick question: I can't write to this directory.\nAssistant: Is SELinux enabled?\nUser: I think so", "completion": "You said SELinux is denying the write, so fix the context. Run `sudo chcon -t httpd_sys_content_t file-name`."} +{"prompt": "User: Could you help me? Docker says permission denied.\nAssistant: Did you try without sudo?\nUser: Yes, that's when it failed", "completion": "Given that the command needs elevated privileges, run it with sudo. Run `sudo docker ps`."} +{"prompt": "User: Quick context: I'm working with a Git repository.\nAssistant: Thanks for the context. What would you like to do with your Git repository?\nUser: How do I create a branch?", "completion": "Since you're on Git, git switch creates and moves to a branch. Run `git switch -c branch-name`."} +{"prompt": "User: I can't write to this file and I don't know why.\nAssistant: Is the disk full?\nUser: It could be", "completion": "Since there's no space left, free some space. Run `df -h`."} +{"prompt": "User: Quick context: I'm inside docs.\nAssistant: Thanks, I'll remember docs. How can I help?\nUser: Can you show me how to list its files?", "completion": "Given that you're dealing with docs, ls lists directory contents. Run `ls -lah docs`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Thanks, I'll remember src. How can I help?\nUser: Can you show me how to search inside it?", "completion": "You said src, so grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: The port is already in use and I don't know why.\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "You said the service is already active, so restart it instead of starting a second copy. The command you need is `sudo systemctl restart service-name`."} +{"prompt": "User: Let's talk about the src directory.\nAssistant: Understood — src. What should we do next?\nUser: How do I search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. Use `grep -rn 'TODO' src`."} +{"prompt": "User: Quick question: I can't find my file.\nAssistant: Where are you looking?\nUser: I'm in the wrong folder", "completion": "Given that you're in the wrong directory, move to the correct folder. The command you need is `cd /path/to/folder`."} +{"prompt": "User: I've been working on the branch staging.\nAssistant: Noted: staging. What's the task?\nUser: switch to it?", "completion": "Given that you're dealing with staging, git switch changes branches. Use `git switch staging`."} +{"prompt": "User: Hello, I'm using a Docker container right now.\nAssistant: Hi! What do you need help with on your Docker container?\nUser: How do I expose a port?", "completion": "Given that you're on Docker, docker run publishes ports with -p. Use `docker run -p 8080:80 image-name` for that."} +{"prompt": "User: The port is already in use, can you help?\nAssistant: Is the service already running?\nUser: Yes, it seems to be", "completion": "Given that the service is already active, restart it instead of starting a second copy. Use `sudo systemctl restart service-name` to fix it."} +{"prompt": "User: Quick context: I'm working with an Ubuntu server.\nAssistant: Hello! How can I help you with your Ubuntu server?\nUser: How do I search text in files?", "completion": "Because you're using Ubuntu, grep searches file contents. You can do it with `grep -rn \"text\" .`."} +{"prompt": "User: Ssh says connection refused, can you help?\nAssistant: Is a firewall blocking it?\nUser: Probably, I enabled ufw", "completion": "Given that the firewall blocks port 22, allow SSH through the firewall. Use `sudo ufw allow 22/tcp` to fix it."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Got it — your Fedora workstation. What can I do for you?\nUser: I need to find large files — what should I run?", "completion": "Since you're on Fedora, find can match by size. You can do it with `find . -type f -size +100M`."} +{"prompt": "User: Let's talk about app.db — it's a file I need to handle.\nAssistant: Got it — app.db. What do you want to do with it?\nUser: What's the command to inspect its tables?", "completion": "Since you mentioned app.db, sqlite3 can list tables. The command is `sqlite3 app.db '.tables'`."} +{"prompt": "User: Let's talk about main.go — it's a file I need to handle.\nAssistant: Thanks, I'll remember main.go. How can I help?\nUser: Can you show me how to run it?", "completion": "Given that you're dealing with main.go, go run compiles and runs. The command is `go run main.go`."} +{"prompt": "User: Port 5432 is the one I care about.\nAssistant: Understood — 5432. What should we do next?\nUser: Can you show me how to test the database port?", "completion": "Given that you're dealing with 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Quick context: I'm working with a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: What's the best way to run a script on this system?", "completion": "Because you're using Python, python3 executes a script file. You can do it with `python3 script.py`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: Is it a file or a directory?\nUser: It is a non-empty folder", "completion": "Because it's a non-empty directory, rm needs the recursive flag. Run `rm -rf folder-name`."} +{"prompt": "User: Hey, I'm setting things up on a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: What's the best way to see open ports on this system?", "completion": "Given that you're on Debian, ss shows listening sockets. You can do it with `ss -tulpn`."} +{"prompt": "User: Quick context: I'm inside src.\nAssistant: Understood — src. What should we do next?\nUser: Can you show me how to search inside it?", "completion": "Given that you're dealing with src, grep -r searches recursively. Run `grep -rn 'TODO' src`."} +{"prompt": "User: Port 8000 is the one I care about.\nAssistant: Got it — 8000. What do you want to do with it?\nUser: forward it to another port?", "completion": "Since you mentioned 8000, SSH can forward local ports. Use `ssh -L 8000:localhost:80 user@host`."} +{"prompt": "User: Help — I get a bad interpreter error.\nAssistant: Is the interpreter executable?\nUser: I'm not sure", "completion": "Given that the interpreter isn't executable, restore execute permission. The command you need is `chmod +x /bin/bash`."} +{"prompt": "User: I've got a file named deploy.sh.\nAssistant: Noted: deploy.sh. What's the task?\nUser: Can you show me how to make it executable?", "completion": "Because deploy.sh is the one you're working with, chmod adds the execute bit. Use `chmod +x deploy.sh`."} +{"prompt": "User: I get too many open files and I don't know why.\nAssistant: Is it a systemd service?\nUser: Yes, it runs under systemd", "completion": "You said the service has a low LimitNOFILE, so raise it in the unit file. Run `systemctl edit service-name`."} +{"prompt": "User: Quick context: I'm working with a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: What's the best way to check disk usage on this system?", "completion": "On macOS, df reports filesystem usage. Use `df -h` for that."} +{"prompt": "User: I'm stuck: the database connection is refused.\nAssistant: Is the database service running?\nUser: No, it isn't", "completion": "Because the database service isn't running, start it before connecting. The command you need is `sudo systemctl start postgresql`."} +{"prompt": "User: Hello! My name is Parker.\nAssistant: Hello, Parker! What's on your mind?\nUser: Quick question: how do I use the terminal?", "completion": "Good to meet you, Parker. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: I get permission denied when editing a file and I don't know why.\nAssistant: Who owns the file?\nUser: It looks like root owns it", "completion": "Given that root owns the file, you need elevated privileges or ownership. Run `sudo chown $USER file-name`."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Hello, Quinn! What's on your mind?\nUser: how do I debug my code?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about debugging, change one thing at a time. Reproduce the bug, read the error, and test one change at a time."} +{"prompt": "User: The service is running on port 5432.\nAssistant: Understood — 5432. What should we do next?\nUser: test the database port?", "completion": "Since you mentioned 5432, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Got it — server.log. What do you want to do with it?\nUser: follow it?", "completion": "Because server.log is the one you're working with, tail -f streams new lines. Run `tail -f server.log`."} +{"prompt": "User: Just so you know, I'm Hayden.\nAssistant: Thanks, Hayden. What would you like to know?\nUser: how do I use the terminal?", "completion": "Good to meet you, Hayden. Since you're curious about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: The directory I'm dealing with is src.\nAssistant: Understood — src. What should we do next?\nUser: What's the command to search inside it?", "completion": "Because src is the one you're working with, grep -r searches recursively. The command is `grep -rn 'TODO' src`."} +{"prompt": "User: Hello! My name is Kai.\nAssistant: Nice to meet you, Kai! What can I help you with?\nUser: Can you help me understand this: what is a variable?", "completion": "Nice to meet you, Kai. Since you asked about variables, the core idea is simple. A variable is a named container for a value, like `name = 'Alex'`."} +{"prompt": "User: I need help because I get a bad interpreter error.\nAssistant: Is the shebang path correct?\nUser: Maybe not", "completion": "You said the shebang path is wrong, so use env to find bash. The command you need is `sed -i '1s|.*|#!/usr/bin/env bash|' script.sh`."} +{"prompt": "User: Hey, I'm setting things up on a Mac running macOS.\nAssistant: Thanks for the context. What would you like to do with your Mac?\nUser: Can you show me how to check a service?", "completion": "Given that you're on macOS, launchctl manages background services. You can do it with `launchctl list`."} +{"prompt": "User: Hi, I'm Logan.\nAssistant: Hello, Logan! What's on your mind?\nUser: Can you help me understand this: how do I learn to code?", "completion": "Thanks, Logan — I'll remember your name. Since you asked about learning to code, consistency matters more than intensity. Pick one small project, practice daily, and read code as much as you write it."} +{"prompt": "User: Just so you know, I'm Quinn.\nAssistant: Thanks, Quinn. What would you like to know?\nUser: what is a function?", "completion": "Thanks, Quinn — I'll remember your name. Since you asked about functions, think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: I didn't sleep well.\nAssistant: I'm sorry to hear that. Let's keep this easy — what do you need?\nUser: Quick question: what is a function?", "completion": "Given that you've had a long day, I'll keep this brief — think of it as a reusable tool. A function is a reusable block of code that takes inputs and returns a result."} +{"prompt": "User: Hey, I'm setting things up on a Python project.\nAssistant: Got it — your Python project. What can I do for you?\nUser: I need to check the Python version — what should I run?", "completion": "Given that you're on Python, the --version flag prints it. You can do it with `python3 --version`."} +{"prompt": "User: The file I'm dealing with is server.log.\nAssistant: Understood — server.log. What should we do next?\nUser: follow it?", "completion": "Since you mentioned server.log, tail -f streams new lines. The command is `tail -f server.log`."} +{"prompt": "User: Let's talk about port 5432.\nAssistant: Thanks, I'll remember 5432. How can I help?\nUser: How do I test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. The command is `nc -zv localhost 5432`."} +{"prompt": "User: I have a file called notes.txt.\nAssistant: Noted: notes.txt. What's the task?\nUser: How do I view it?", "completion": "Because notes.txt is the one you're working with, less is a safe pager. Run `less notes.txt`."} +{"prompt": "User: I'm working on the file deploy.sh.\nAssistant: Noted: deploy.sh. What's the task?\nUser: Can you show me how to make it executable?", "completion": "Since you mentioned deploy.sh, chmod adds the execute bit. Run `chmod +x deploy.sh`."} +{"prompt": "User: Let's talk about main.go — it's a file I need to handle.\nAssistant: Noted: main.go. What's the task?\nUser: run it?", "completion": "You said main.go, so go run compiles and runs. Use `go run main.go`."} +{"prompt": "User: Not sure what's wrong, but I can't delete this file.\nAssistant: What does the filesystem say?\nUser: It says read-only file system", "completion": "Because the filesystem is mounted read-only, it must be remounted read-write. The command you need is `sudo mount -o remount,rw /`."} +{"prompt": "User: I'm stuck: my disk is full.\nAssistant: Are logs growing quickly?\nUser: Yes, the journal is huge", "completion": "Because logs are consuming space, vacuum the journal. The command you need is `sudo journalctl --vacuum-size=200M`."} +{"prompt": "User: Quick context: I'm working with a Debian machine.\nAssistant: Hi! What do you need help with on your Debian machine?\nUser: Can you show me how to find large files?", "completion": "Because you're using Debian, find filters files by size. Use `find . -type f -size +100M` for that."} +{"prompt": "User: Hello, I'm using a Fedora workstation right now.\nAssistant: Hi! What do you need help with on your Fedora workstation?\nUser: What's the best way to see open ports on this system?", "completion": "Because you're using Fedora, ss shows listening ports. You can do it with `ss -tulpn`."} +{"prompt": "User: Quick context: port 27017 is the one I'm using.\nAssistant: Noted: 27017. What's the task?\nUser: How do I check MongoDB?", "completion": "You said 27017, so mongosh connects on that port. Run `mongosh --port 27017`."} +{"prompt": "User: I have something listening on port 5432.\nAssistant: Got it — 5432. What do you want to do with it?\nUser: Can you show me how to test the database port?", "completion": "Because 5432 is the one you're working with, nc can test a TCP port. Run `nc -zv localhost 5432`."} +{"prompt": "User: Hey, I'm Charlie — nice to meet you.\nAssistant: Hello, Charlie! What's on your mind?\nUser: Can you help me understand this: how do I use the terminal?", "completion": "Nice to meet you, Charlie. Since you asked about the terminal, start with navigation. Begin with `pwd`, `ls`, and `cd`; they cover where you are, what's there, and how to move."} +{"prompt": "User: Not sure what's wrong, but I get permission denied when editing a file.\nAssistant: Is the filesystem read-only?\nUser: Yes, it says read-only", "completion": "You said the filesystem is read-only, so remount it read-write. Run `sudo mount -o remount,rw /`."} +{"prompt": "User: Hi, I'm Morgan.\nAssistant: Thanks, Morgan. What would you like to know?\nUser: what's a good first project?", "completion": "Good to meet you, Morgan. Since you're curious about a first project, small and finishable is best. A to-do list, a calculator, or a personal website are all good first projects."} +{"prompt": "User: I'm working with an Arch Linux box at the moment.\nAssistant: Got it — your Arch Linux box. What can I do for you?\nUser: Can you show me how to see open ports?", "completion": "Because you're using Arch Linux, ss lists listening sockets. You can do it with `ss -tulpn`."}