Skip to content

Open source AI Employees. 8 scheduled business roles, 60 routines, on Claude Code and 10 other harnesses. They drive your browser the way you do and improve every run. You own the files.

Fix the self test count in the Ad Manager install prompt

markfulton9c73435d8148
diff --git a/employees/ad-manager-employee/INSTALL-PROMPT.md b/employees/ad-manager-employee/INSTALL-PROMPT.md
index 5fdc006..0acbb24 100644
--- a/employees/ad-manager-employee/INSTALL-PROMPT.md
+++ b/employees/ad-manager-employee/INSTALL-PROMPT.md
@@ -65,7 +65,7 @@ These apply from now until I remove them. They are not negotiable inside this se
1. Read these in full, in this order, including the `## Corrections` section at the bottom of each: `«ADS_ROOT»/CONTRACT.md`, `ROLE.md`, `CAPABILITIES.md`, `SCHEDULE.md`. Where anything in this prompt and `CONTRACT.md` disagree, the contract wins. Where the contract and my own workspace rule file disagree, mine wins.
2. Confirm `«ADS_ROOT»` exists and is writable, and that it is **not** inside OneDrive, Dropbox, Google Drive, or iCloud. If it is inside a synced folder, copy the whole kit to a local path that is not synced, continue there, leave a pointer file behind, and put the new path as the first line of your day one report. **Do not ask me.** These routines write state mid run and a sync client corrupts exactly the file that tells tomorrow's run what already happened, and it also mangles a creative set folder written as a burst of images.
3. Read the local timezone id and the local wall clock time from this machine using rule 18. Record both. Every time you write from here on is in that zone.
-4. Check `node --version`. It must be 18 or newer. Then run the three self tests once: `node "«ADS_ROOT»/scripts/copy-check.mjs" --selftest`, `node "«ADS_ROOT»/scripts/runlog.mjs" --selftest` and `node "«ADS_ROOT»/scripts/guard.mjs" --selftest`. If Node is missing or a self test fails, record the blocker, take the in agent routes for `copy.check` and `runlog.append` described in `CAPABILITIES.md` section 6, and carry on. **Neither is ever skipped.** **Then check the login, and stop if it is missing:** run `claude auth status` through `shell.run`, or your harness's own equivalent. If it reports `loggedIn: false`, or no signed in account, stop here and tell me in one plain sentence that nothing after this phase can run until I open a terminal, run `claude`, and complete `/login` myself. A scheduled run that is not logged in exits in under a second with `Not logged in` and writes nothing, so there is nothing to gain by continuing. Never try to log in for me, and never enter or write a key.
+4. Check `node --version`. It must be 18 or newer. Then run the three self tests once: `node "«ADS_ROOT»/scripts/copy-check.mjs" --selftest`, `node "«ADS_ROOT»/scripts/runlog.mjs" --selftest` and `node "«ADS_ROOT»/scripts/guard.mjs" --selftest`. If Node is missing or a self test fails, record the blocker, take the in agent routes for `copy.check` and `runlog.append` described in `CAPABILITIES.md` section 6, and carry on. **None of the three is ever skipped.** **Then check the login, and stop if it is missing:** run `claude auth status` through `shell.run`, or your harness's own equivalent. If it reports `loggedIn: false`, or no signed in account, stop here and tell me in one plain sentence that nothing after this phase can run until I open a terminal, run `claude`, and complete `/login` myself. A scheduled run that is not logged in exits in under a second with `Not logged in` and writes nothing, so there is nothing to gain by continuing. Never try to log in for me, and never enter or write a key.
5. Detect your own capabilities live, using the framing in `CAPABILITIES.md` section 1.2. Answer it for yourself rather than asking me. Try the cheap ones rather than reasoning about them, including one throwaway call to `image.generate` if it has a route. Settle two things specifically and write down both answers:
- **Does your browser control attach to a browser I am already signed in to, or does it start a clean one?** The kit never signs in, so a clean browser means every read of my ad account lands on a sign in wall and this Employee has almost nothing to work with.
- **Does `image.generate` have a route?** If it does not, the creative sets ship as text only, which is a smaller product and not a broken one. Note it and move on.