CodeAFStart at your desk, finish on your phone

Start at your desk, finish on your phone

Start a task on the big screen, close it, and pick up the same conversation from a phone-width terminal.

A conversation follows you, not your monitor.
  • a task started at your desk
  • merged from the sofa
  • a landing read on a train
  • a quick follow-up from the kitchen

A CodeAF conversation lives in the folder's engine, not in the window, so any terminal that opens the folder joins the same work. In this playbook you start a task at your desk, close the window, and open the project on a phone-width screen: the conversation is there, folded to fit, with the task still running. When it lands you read the result and send the merge from the small screen. From a real phone you ssh into the machine and run codeaf in the project.

Steps

  1. At your desk, run codeaf in the repository and send the brief:
/task Add rate limiting to POST /links: at most 5 new links per client IP per minute, answer 429 with {"error": "slow down"} past that, with a fake clock in the tests. Update the README and make python3 -m unittest pass.
  1. Read the started and crew lines, then close the desk window.
  2. Open the project in a narrow terminal, 46 columns in ours.
  3. When it lands, read the landing and the bill, then type:
tests on that branch, then merge it

What you see

The desk start prints · single task 2 started · and a crew line with est $0.302. The narrow screen shows the top bar home chats more ▾ $0.17, a line ▸ 1 task · 1 running, the earlier landing folded to ◆ Add link expiry and click stats to linksh…, and the bottom bar ⏺ 1 running working. When the task lands the crew line reads $0.075 (est $0.302) · not right? /redo stronger and the bottom bar reads idle. The merge answer says Merged into main. Tests on the branch: python3 -m unittest → Ran 13 tests, OK, names Merge commit 68af369 and re-ran the suite on main: 13 tests, OK, clean.

In our run

The task took 46 s and $0.075, the merge from the narrow window 24 s and $0.07. Our phone was a 46-column terminal on the same machine; over ssh it is the same program in the same folder. Both turns came to $0.15.

Make it yours

  • Reach it from anywhere. From a real phone, ssh to the machine and run codeaf in the project. Put the machine and the phone on one tailnet and it works on any network: see Remote machines.
  • Read before you type. The narrow fold shows the landing and the bill, so you know where it stands.
  • Follow up small. One short message was enough to check and merge the branch.

Go further

Remote machines: Run the conversation on a machine you can ssh into, and drive it from your laptop or your phone.

Coming soon: describe the org you want and CodeAF builds it: teams, managers, budgets, standing orders.