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.

1.3.0: upgrades become possible

markfultonb81cc3ed4f0e
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0e38990..a18e68a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,23 @@
The repo version tracks the kits. Each employee carries its own `CHANGELOG.md` with the detail, and this file links them.
+## 1.3.0, 2026-09-04
+
+Upgrades become possible, and the kits tell any harness what they are.
+
+Until now `npx ai-employees hire` copied a folder and that was the whole story: no manifest, no record of what was installed, and no way back. A kit that had been running for a few weeks had usually repaired its own instructions once or twice, and there was no route for those repairs to reach a release, or for a release to reach the kit.
+
+- **`employee.json` in every kit**: the version, the standard it implements, every routine with its schedule row, and the file classification that makes an upgrade safe. Kit files may be replaced, member files must never be touched, and `SCHEDULE.md` is owned by both sides.
+- **`.installed.json`**, written at hire time: a hash per kit file, which is what lets an upgrade tell a file you edited from a file we changed.
+- **`npx ai-employees upgrade`**: reports first and writes nothing without `--apply`. A kit file you edited is never overwritten; the new version lands beside it as `.new`. State, ledgers, strategy, learned browser flows and improvements are not read or written.
+- **`npx ai-employees contribute`**: turns a kit's own `improvements/CHANGELOG.md`, the repairs a routine made to its own instructions, into a field report ready to open upstream.
+- **`AGENTS.md`** at the repository root and in every kit, following the convention stewarded by the Linux Foundation's Agentic AI Foundation, so a harness that has never seen these kits knows to read `CONTRACT.md`, `ROLE.md` and `SCHEDULE.md` in that order. The README already said these kits are built for every harness; this is what makes that true without a person pasting anything.
+- **`docs/STANDARD.md`**: the Agent Employee Standard, published for the first time.
+- **`docs/UPGRADING.md`**: how the classification works and how to merge a `.new` file.
+- **The product name is "AI Employees" throughout.** "Agent Employees" is retired, across 164 occurrences in 101 files. The Agent Employee Standard keeps its name, because that is the proper noun for the specification itself.
+
+Still deferred, and said so in `docs/COST.md`: splitting each root document into a short law section read every run and a reference section read on demand, and a flag that attaches measured cost to the record a routine just wrote.
+
## 1.2.0, 2026-09-03
First release of the repository. The eight kits ship at 1.2.0, the cold install release: a prerequisites section in every README, `scripts/guard.mjs` in front of every routine, Windows launcher examples that fail loudly on a missing login, a login check in Phase 0 of every install prompt, scheduler accurate sleep and catch up text, a ten minute jitter tolerance on the drift check, a `.gitignore` in every kit, `metadata: internal: true` on every routine, brand neutral self test fixtures, and one pointer line home.
diff --git a/docs/UPGRADING.md b/docs/UPGRADING.md
new file mode 100644
index 0000000..2193e04
--- /dev/null
+++ b/docs/UPGRADING.md
@@ -0,0 +1,74 @@
+# Upgrading an employee
+
+An installed employee is two things sharing one folder. The **kit** is ours: the contract, the role, the routines, the scripts. The **business it has been running** is yours: its evidence, its ledgers, its strategy, the browser flows it learned on your own screens, and the repairs it made to its own instructions.
+
+An upgrade replaces the first and never touches the second. Everything on this page exists to make that guarantee real rather than hopeful.
+
+## The short version
+
+```bash
+npx ai-employees upgrade gtm-engineer --to /path/to/your/employee
+```
+
+That reports and writes nothing. Read it, then run it again with `--apply`.
+
+```bash
+npx ai-employees upgrade gtm-engineer --to /path/to/your/employee --apply
+```
+
+## What decides which files are safe
+
+Every kit ships `employee.json`. Its `files` block is the classification:
+
+| Class | Examples | What an upgrade does |
+|---|---|---|
+| `kit` | `CONTRACT.md`, `ROLE.md`, `routines/**`, `scripts/**` | Replaces it, but only if you have not edited it |
+| `merge` | `SCHEDULE.md` | Never rewritten. The new version lands as `SCHEDULE.md.new` |
+| `member` | `state/`, `board/`, `crm/`, `queue/`, `strategy/`, `scoreboard/`, `improvements/`, `runlog.jsonl`, `recipes/*.json` | Never read, never written |
+
+`recipes/BROWSER-RECIPES.md` ships with the kit. Every `recipes/*.json` beside it was learned by a routine on your screens, so it is yours.
+
+## What decides whether you edited a file
+
+`npx ai-employees hire` writes `.installed.json`, a hash of every kit file at the moment it was installed. An upgrade compares each file against that hash:
+
+- **Unchanged since install** and different in the new version: replaced.
+- **Changed since install**: kept exactly as it is. The new version is written beside it as `<name>.new` and the file is named in the report.
+
+This matters more than it sounds. A routine that has been running for a few weeks has usually repaired its own instructions once or twice, and those repairs exist nowhere else. An upgrade that silently overwrote them would cost you more than the upgrade gained.
+
+## If you installed before receipts existed
+
+Kits before 1.3.0 shipped no `.installed.json`, so an upgrade cannot prove which files you edited. It says so, treats every kit file as possibly edited, and replaces nothing in place. You get a `.new` beside each one and decide file by file. After the first `--apply` a receipt is written, and every upgrade after that is clean.
+
+## Reading a report
+
+```
+ 0 kit files unchanged since install, safe to replace
+ 18 new files this version adds
+ 18 kit files you or your employee edited, kept and written beside as .new
+ 1 files both sides own, never rewritten (SCHEDULE.md)
+ 236 files that are yours and are not read or written by this command
+```
+
+The last number is the one to look at. It is the work the employee has done since you hired it, and no upgrade path should ever move it.
+
+## Merging a `.new` file
+
+There is no clever tool for this and there should not be. Open the two side by side, and carry your edit forward into the new version rather than carrying the new version back into your file. The kit changelog tells you what changed and why, so you usually only need to find your own edit and re-apply it.
+
+When you are done, delete the `.new` file. Nothing reads it.
+
+## Your own repairs are worth sending back
+
+When a routine hits a defect in its own instructions and fixes it, it writes the date, the routine, the trigger and the text it replaced into `improvements/CHANGELOG.md`. That is a better bug report than anything written from a desk, because it comes from a real run against a real business.
+
+```bash
+npx ai-employees contribute gtm-engineer --to /path/to/your/employee --since 2026-09-01
+```
+
+That prints a field report ready to open as an issue. **Read it before you send it.** Those lines can name your own files, your customers and your numbers, and the command redacts nothing.
+
+## What an upgrade will not do for you
+
+It does not touch your scheduler. If a new version adds a routine, its row appears in `SCHEDULE.md.new` and registering it is yours to do. It also never changes a day, a window or a budget you have set, because those are the four controls the whole design hands to you.
diff --git a/employees/ad-manager-employee/CHANGELOG.md b/employees/ad-manager-employee/CHANGELOG.md
index e2c72b2..7c434bd 100644
--- a/employees/ad-manager-employee/CHANGELOG.md
+++ b/employees/ad-manager-employee/CHANGELOG.md
@@ -2,6 +2,17 @@
The version this kit ships as lives in `VERSION` at the root. This file is written by the people who publish the kit and **no routine ever writes it**. Your own improvements go to `improvements/CHANGELOG.md`, which is a different file and stays yours.
+## 1.3.0, 2026-09-04
+
+Upgrades become possible, and the kit tells any harness what it is.
+
+- `employee.json`, new: a machine readable manifest carrying the version, the standard it implements, every routine with its schedule row, and the file classification that makes an upgrade safe. It splits the folder into kit files, which an upgrade may replace, member files, which it must never touch, and `SCHEDULE.md`, which both sides own.
+- `.installed.json`, new, written by `npx ai-employees hire`: a hash per kit file at install time. It is what lets a later upgrade tell a file you edited from a file we changed.
+- `npx ai-employees upgrade <employee>`, new. It reports before it writes, and nothing happens without `--apply`. A kit file you or your employee edited is never overwritten: the new version lands beside it as `.new` and the change is listed. Your state, ledgers, strategy, learned browser flows and improvements are not read or written.
+- `npx ai-employees contribute <employee>`, new: turns `improvements/CHANGELOG.md`, the repairs your employee made to its own instructions, into a field report you can open upstream. Read it before you send it, because it can name your own files and numbers and nothing is redacted.
+- `AGENTS.md`, new, at the repository root and in every kit. It follows the AGENTS.md convention stewarded by the Linux Foundation's Agentic AI Foundation, so a harness that has never seen these kits still knows to read `CONTRACT.md`, `ROLE.md` and `SCHEDULE.md` in that order.
+- The product name is now "AI Employees" throughout. "Agent Employees" is retired. The Agent Employee Standard keeps its name, because that is the proper noun for the specification.
+
## 1.2.0, 2026-09-03
The cold install release. Everything a stranger needs to go from a fresh machine to a first run record, found by installing the GTM Engineer template on a machine that had never run it.
diff --git a/employees/ad-manager-employee/VERSION b/employees/ad-manager-employee/VERSION
index 26aaba0..f0bb29e 100644
--- a/employees/ad-manager-employee/VERSION
+++ b/employees/ad-manager-employee/VERSION
@@ -1 +1 @@
-1.2.0
+1.3.0
diff --git a/employees/ad-manager-employee/employee.json b/employees/ad-manager-employee/employee.json
new file mode 100644
index 0000000..559835f
--- /dev/null
+++ b/employees/ad-manager-employee/employee.json
@@ -0,0 +1,142 @@
+{
+ "schema": "ai-employee/1",
+ "slug": "ad-manager-employee",
+ "name": "Ad Manager Employee",
+ "role": "Paid acquisition",
+ "version": "1.3.0",
+ "standard": "1.1",
+ "repository": "https://github.com/markfulton/ai-employees",
+ "license": "MIT",
+ "requires": {
+ "node": ">=18",
+ "harness": [
+ "claude-code",
+ "openclaw",
+ "hermes",
+ "opencode",
+ "grok-bot",
+ "codex",
+ "antigravity"
+ ]
+ },
+ "routines": [
+ {
+ "id": "ads-account-intake",
+ "days": "first-weekday",
+ "fire": "13:00",
+ "window_start": "12:45",
+ "window_end": "17:00",
+ "period_key": "YYYY-MM",
+ "budget": "45 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "ads-account-read",
+ "days": "mon-fri",
+ "fire": "06:45",
+ "window_start": "06:30",
+ "window_end": "09:45",
+ "period_key": "YYYY-MM-DD",
+ "budget": "30 min",
+ "browser": "heavy"
+ },
+ {
+ "id": "ads-build-desk",
+ "days": "mon-fri",
+ "fire": "09:15",
+ "window_start": "09:00",
+ "window_end": "13:00",
+ "period_key": "YYYY-MM-DD",
+ "budget": "30 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "ads-change-list",
+ "days": "fri",
+ "fire": "16:00",
+ "window_start": "15:45",
+ "window_end": "19:00",
+ "period_key": "YYYY-Www",
+ "budget": "35 min",
+ "browser": "light"
+ },
+ {
+ "id": "ads-creative-retro",
+ "days": "last-weekday",
+ "fire": "14:00",
+ "window_start": "13:45",
+ "window_end": "17:30",
+ "period_key": "YYYY-MM",
+ "budget": "35 min",
+ "browser": "light"
+ },
+ {
+ "id": "ads-creative-studio",
+ "days": "mon-fri",
+ "fire": "08:15",
+ "window_start": "08:00",
+ "window_end": "12:00",
+ "period_key": "YYYY-MM-DD",
+ "budget": "30 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "ads-desk-standup",
+ "days": "mon-fri",
+ "fire": "07:30",
+ "window_start": "07:15",
+ "window_end": "11:30",
+ "period_key": "YYYY-MM-DD",
+ "budget": "12 min",
+ "browser": "never"
+ }
+ ],
+ "files": {
+ "kit": [
+ "AGENTS.md",
+ "CAPABILITIES.md",
+ "CHANGELOG.md",
+ "CONTRACT.md",
+ "INSTALL-PROMPT.md",
+ "README.md",
+ "ROLE.md",
+ "VERSION",
+ ".gitignore",
+ "employee.json",
+ "recipes/BROWSER-RECIPES.md",
+ "routines/**",
+ "run/**",
+ "scripts/**",
+ "examples/**"
+ ],
+ "merge": [
+ "SCHEDULE.md"
+ ],
+ "member": [
+ "state/**",
+ "board/**",
+ "crm/**",
+ "queue/**",
+ "strategy/**",
+ "briefs/**",
+ "scoreboard/**",
+ "dashboard/**",
+ "improvements/**",
+ "archive/**",
+ "paid/**",
+ "fleet/**",
+ "drafts/**",
+ "calendar/**",
+ "run/*.log",
+ "recipes/*.json",
+ "runlog.jsonl",
+ "*-latest.md",
+ ".installed.json"
+ ]
+ },
+ "notes": {
+ "merge": "SCHEDULE.md carries the shape the kit ships and the days, windows and budgets the member owns. An upgrade reports a changed shape and never rewrites the row values.",
+ "member": "Everything under member is the business the employee has been running: its evidence, its ledgers, its learned browser flows and its own field repairs. An upgrade that overwrites any of it has destroyed work that exists nowhere else.",
+ "recipes": "recipes/BROWSER-RECIPES.md ships with the kit. Every recipes/*.json is learned on the member's own screens by the routine that owns it, so it is member data."
+ }
+}
diff --git a/employees/chief-of-staff/CHANGELOG.md b/employees/chief-of-staff/CHANGELOG.md
index 23df865..e49f332 100644
--- a/employees/chief-of-staff/CHANGELOG.md
+++ b/employees/chief-of-staff/CHANGELOG.md
@@ -2,6 +2,17 @@
The version this kit ships as lives in `VERSION` at the root. This file is written by the people who publish the kit and **no routine ever writes it**. Your own improvements go to `improvements/CHANGELOG.md`, which is a different file and stays yours.
+## 1.3.0, 2026-09-04
+
+Upgrades become possible, and the kit tells any harness what it is.
+
+- `employee.json`, new: a machine readable manifest carrying the version, the standard it implements, every routine with its schedule row, and the file classification that makes an upgrade safe. It splits the folder into kit files, which an upgrade may replace, member files, which it must never touch, and `SCHEDULE.md`, which both sides own.
+- `.installed.json`, new, written by `npx ai-employees hire`: a hash per kit file at install time. It is what lets a later upgrade tell a file you edited from a file we changed.
+- `npx ai-employees upgrade <employee>`, new. It reports before it writes, and nothing happens without `--apply`. A kit file you or your employee edited is never overwritten: the new version lands beside it as `.new` and the change is listed. Your state, ledgers, strategy, learned browser flows and improvements are not read or written.
+- `npx ai-employees contribute <employee>`, new: turns `improvements/CHANGELOG.md`, the repairs your employee made to its own instructions, into a field report you can open upstream. Read it before you send it, because it can name your own files and numbers and nothing is redacted.
+- `AGENTS.md`, new, at the repository root and in every kit. It follows the AGENTS.md convention stewarded by the Linux Foundation's Agentic AI Foundation, so a harness that has never seen these kits still knows to read `CONTRACT.md`, `ROLE.md` and `SCHEDULE.md` in that order.
+- The product name is now "AI Employees" throughout. "Agent Employees" is retired. The Agent Employee Standard keeps its name, because that is the proper noun for the specification.
+
## 1.2.0, 2026-09-03
The cold install release. Everything a stranger needs to go from a fresh machine to a first run record, found by installing the GTM Engineer template on a machine that had never run it.
diff --git a/employees/chief-of-staff/VERSION b/employees/chief-of-staff/VERSION
index 26aaba0..f0bb29e 100644
--- a/employees/chief-of-staff/VERSION
+++ b/employees/chief-of-staff/VERSION
@@ -1 +1 @@
-1.2.0
+1.3.0
diff --git a/employees/chief-of-staff/employee.json b/employees/chief-of-staff/employee.json
new file mode 100644
index 0000000..addda30
--- /dev/null
+++ b/employees/chief-of-staff/employee.json
@@ -0,0 +1,142 @@
+{
+ "schema": "ai-employee/1",
+ "slug": "chief-of-staff",
+ "name": "Chief of Staff",
+ "role": "Oversight and strategy",
+ "version": "1.3.0",
+ "standard": "1.1",
+ "repository": "https://github.com/markfulton/ai-employees",
+ "license": "MIT",
+ "requires": {
+ "node": ">=18",
+ "harness": [
+ "claude-code",
+ "openclaw",
+ "hermes",
+ "opencode",
+ "grok-bot",
+ "codex",
+ "antigravity"
+ ]
+ },
+ "routines": [
+ {
+ "id": "cos-charter-and-fleet-audit",
+ "days": "first-weekday",
+ "fire": "12:00",
+ "window_start": "11:45",
+ "window_end": "17:00",
+ "period_key": "YYYY-MM",
+ "budget": "45 min",
+ "browser": "light"
+ },
+ {
+ "id": "cos-decision-brief",
+ "days": "fri",
+ "fire": "16:00",
+ "window_start": "15:45",
+ "window_end": "19:00",
+ "period_key": "YYYY-Www",
+ "budget": "30 min",
+ "browser": "never"
+ },
+ {
+ "id": "cos-decision-review",
+ "days": "last-weekday",
+ "fire": "13:00",
+ "window_start": "12:45",
+ "window_end": "17:30",
+ "period_key": "YYYY-MM",
+ "budget": "30 min",
+ "browser": "never"
+ },
+ {
+ "id": "cos-fault-dossier",
+ "days": "mon-fri",
+ "fire": "14:30",
+ "window_start": "14:15",
+ "window_end": "18:00",
+ "period_key": "YYYY-MM-DD",
+ "budget": "25 min",
+ "browser": "never"
+ },
+ {
+ "id": "cos-fleet-reconcile",
+ "days": "mon-fri",
+ "fire": "07:15",
+ "window_start": "07:00",
+ "window_end": "11:30",
+ "period_key": "YYYY-MM-DD",
+ "budget": "20 min",
+ "browser": "never"
+ },
+ {
+ "id": "cos-market-sweep",
+ "days": "wed",
+ "fire": "10:00",
+ "window_start": "09:45",
+ "window_end": "14:00",
+ "period_key": "YYYY-Www",
+ "budget": "40 min",
+ "browser": "heavy"
+ },
+ {
+ "id": "cos-metrics-review",
+ "days": "thu",
+ "fire": "10:30",
+ "window_start": "10:15",
+ "window_end": "15:00",
+ "period_key": "YYYY-Www",
+ "budget": "30 min",
+ "browser": "conditional"
+ }
+ ],
+ "files": {
+ "kit": [
+ "AGENTS.md",
+ "CAPABILITIES.md",
+ "CHANGELOG.md",
+ "CONTRACT.md",
+ "INSTALL-PROMPT.md",
+ "README.md",
+ "ROLE.md",
+ "VERSION",
+ ".gitignore",
+ "employee.json",
+ "recipes/BROWSER-RECIPES.md",
+ "routines/**",
+ "run/**",
+ "scripts/**",
+ "examples/**"
+ ],
+ "merge": [
+ "SCHEDULE.md"
+ ],
+ "member": [
+ "state/**",
+ "board/**",
+ "crm/**",
+ "queue/**",
+ "strategy/**",
+ "briefs/**",
+ "scoreboard/**",
+ "dashboard/**",
+ "improvements/**",
+ "archive/**",
+ "paid/**",
+ "fleet/**",
+ "drafts/**",
+ "calendar/**",
+ "run/*.log",
+ "recipes/*.json",
+ "runlog.jsonl",
+ "*-latest.md",
+ ".installed.json"
+ ]
+ },
+ "notes": {
+ "merge": "SCHEDULE.md carries the shape the kit ships and the days, windows and budgets the member owns. An upgrade reports a changed shape and never rewrites the row values.",
+ "member": "Everything under member is the business the employee has been running: its evidence, its ledgers, its learned browser flows and its own field repairs. An upgrade that overwrites any of it has destroyed work that exists nowhere else.",
+ "recipes": "recipes/BROWSER-RECIPES.md ships with the kit. Every recipes/*.json is learned on the member's own screens by the routine that owns it, so it is member data."
+ }
+}
diff --git a/employees/customer-satisfaction-employee/CHANGELOG.md b/employees/customer-satisfaction-employee/CHANGELOG.md
index 245e850..d6b64c9 100644
--- a/employees/customer-satisfaction-employee/CHANGELOG.md
+++ b/employees/customer-satisfaction-employee/CHANGELOG.md
@@ -2,6 +2,17 @@
The version this kit ships as lives in `VERSION` at the root. This file is written by the people who publish the kit and **no routine ever writes it**. Your own improvements go to `improvements/CHANGELOG.md`, which is a different file and stays yours.
+## 1.3.0, 2026-09-04
+
+Upgrades become possible, and the kit tells any harness what it is.
+
+- `employee.json`, new: a machine readable manifest carrying the version, the standard it implements, every routine with its schedule row, and the file classification that makes an upgrade safe. It splits the folder into kit files, which an upgrade may replace, member files, which it must never touch, and `SCHEDULE.md`, which both sides own.
+- `.installed.json`, new, written by `npx ai-employees hire`: a hash per kit file at install time. It is what lets a later upgrade tell a file you edited from a file we changed.
+- `npx ai-employees upgrade <employee>`, new. It reports before it writes, and nothing happens without `--apply`. A kit file you or your employee edited is never overwritten: the new version lands beside it as `.new` and the change is listed. Your state, ledgers, strategy, learned browser flows and improvements are not read or written.
+- `npx ai-employees contribute <employee>`, new: turns `improvements/CHANGELOG.md`, the repairs your employee made to its own instructions, into a field report you can open upstream. Read it before you send it, because it can name your own files and numbers and nothing is redacted.
+- `AGENTS.md`, new, at the repository root and in every kit. It follows the AGENTS.md convention stewarded by the Linux Foundation's Agentic AI Foundation, so a harness that has never seen these kits still knows to read `CONTRACT.md`, `ROLE.md` and `SCHEDULE.md` in that order.
+- The product name is now "AI Employees" throughout. "Agent Employees" is retired. The Agent Employee Standard keeps its name, because that is the proper noun for the specification.
+
## 1.2.0, 2026-09-03
The cold install release. Everything a stranger needs to go from a fresh machine to a first run record, found by installing the GTM Engineer template on a machine that had never run it.
diff --git a/employees/customer-satisfaction-employee/VERSION b/employees/customer-satisfaction-employee/VERSION
index 26aaba0..f0bb29e 100644
--- a/employees/customer-satisfaction-employee/VERSION
+++ b/employees/customer-satisfaction-employee/VERSION
@@ -1 +1 @@
-1.2.0
+1.3.0
diff --git a/employees/customer-satisfaction-employee/employee.json b/employees/customer-satisfaction-employee/employee.json
new file mode 100644
index 0000000..5ab108c
--- /dev/null
+++ b/employees/customer-satisfaction-employee/employee.json
@@ -0,0 +1,152 @@
+{
+ "schema": "ai-employee/1",
+ "slug": "customer-satisfaction-employee",
+ "name": "Customer Satisfaction Employee",
+ "role": "Support and retention",
+ "version": "1.3.0",
+ "standard": "1.1",
+ "repository": "https://github.com/markfulton/ai-employees",
+ "license": "MIT",
+ "requires": {
+ "node": ">=18",
+ "harness": [
+ "claude-code",
+ "openclaw",
+ "hermes",
+ "opencode",
+ "grok-bot",
+ "codex",
+ "antigravity"
+ ]
+ },
+ "routines": [
+ {
+ "id": "csat-churn-watch",
+ "days": "mon-fri",
+ "fire": "09:20",
+ "window_start": "09:05",
+ "window_end": "13:00",
+ "period_key": "YYYY-MM-DD",
+ "budget": "25 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "csat-deflection-desk",
+ "days": "wed",
+ "fire": "11:00",
+ "window_start": "10:45",
+ "window_end": "15:00",
+ "period_key": "YYYY-Www",
+ "budget": "25 min",
+ "browser": "light"
+ },
+ {
+ "id": "csat-desk-intake",
+ "days": "first-weekday",
+ "fire": "13:00",
+ "window_start": "12:45",
+ "window_end": "17:00",
+ "period_key": "YYYY-MM",
+ "budget": "45 min",
+ "browser": "light"
+ },
+ {
+ "id": "csat-desk-standup",
+ "days": "mon-fri",
+ "fire": "07:30",
+ "window_start": "07:15",
+ "window_end": "11:30",
+ "period_key": "YYYY-MM-DD",
+ "budget": "15 min",
+ "browser": "never"
+ },
+ {
+ "id": "csat-inbox-sweep",
+ "days": "mon-fri",
+ "fire": "06:45",
+ "window_start": "06:30",
+ "window_end": "09:45",
+ "period_key": "YYYY-MM-DD",
+ "budget": "25 min",
+ "browser": "heavy"
+ },
+ {
+ "id": "csat-reply-desk",
+ "days": "mon-fri",
+ "fire": "08:15",
+ "window_start": "08:00",
+ "window_end": "12:00",
+ "period_key": "YYYY-MM-DD",
+ "budget": "30 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "csat-satisfaction-report",
+ "days": "fri",
+ "fire": "16:00",
+ "window_start": "15:45",
+ "window_end": "19:00",
+ "period_key": "YYYY-Www",
+ "budget": "35 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "csat-taxonomy-refresh",
+ "days": "last-weekday",
+ "fire": "14:00",
+ "window_start": "13:45",
+ "window_end": "17:30",
+ "period_key": "YYYY-MM",
+ "budget": "35 min",
+ "browser": "light"
+ }
+ ],
+ "files": {
+ "kit": [
+ "AGENTS.md",
+ "CAPABILITIES.md",
+ "CHANGELOG.md",
+ "CONTRACT.md",
+ "INSTALL-PROMPT.md",
+ "README.md",
+ "ROLE.md",
+ "VERSION",
+ ".gitignore",
+ "employee.json",
+ "recipes/BROWSER-RECIPES.md",
+ "routines/**",
+ "run/**",
+ "scripts/**",
+ "examples/**"
+ ],
+ "merge": [
+ "SCHEDULE.md"
+ ],
+ "member": [
+ "state/**",
+ "board/**",
+ "crm/**",
+ "queue/**",
+ "strategy/**",
+ "briefs/**",
+ "scoreboard/**",
+ "dashboard/**",
+ "improvements/**",
+ "archive/**",
+ "paid/**",
+ "fleet/**",
+ "drafts/**",
+ "calendar/**",
+ "run/*.log",
+ "recipes/*.json",
+ "runlog.jsonl",
+ "*-latest.md",
+ ".installed.json"
+ ]
+ },
+ "notes": {
+ "merge": "SCHEDULE.md carries the shape the kit ships and the days, windows and budgets the member owns. An upgrade reports a changed shape and never rewrites the row values.",
+ "member": "Everything under member is the business the employee has been running: its evidence, its ledgers, its learned browser flows and its own field repairs. An upgrade that overwrites any of it has destroyed work that exists nowhere else.",
+ "recipes": "recipes/BROWSER-RECIPES.md ships with the kit. Every recipes/*.json is learned on the member's own screens by the routine that owns it, so it is member data."
+ }
+}
diff --git a/employees/gtm-engineer/CHANGELOG.md b/employees/gtm-engineer/CHANGELOG.md
index 79ee561..06412b7 100644
--- a/employees/gtm-engineer/CHANGELOG.md
+++ b/employees/gtm-engineer/CHANGELOG.md
@@ -2,6 +2,17 @@
The version this kit ships as lives in `VERSION` at the root. This file is written by the people who publish the kit and **no routine ever writes it**. Your own improvements go to `improvements/CHANGELOG.md`, which is a different file and stays yours.
+## 1.3.0, 2026-09-04
+
+Upgrades become possible, and the kit tells any harness what it is.
+
+- `employee.json`, new: a machine readable manifest carrying the version, the standard it implements, every routine with its schedule row, and the file classification that makes an upgrade safe. It splits the folder into kit files, which an upgrade may replace, member files, which it must never touch, and `SCHEDULE.md`, which both sides own.
+- `.installed.json`, new, written by `npx ai-employees hire`: a hash per kit file at install time. It is what lets a later upgrade tell a file you edited from a file we changed.
+- `npx ai-employees upgrade <employee>`, new. It reports before it writes, and nothing happens without `--apply`. A kit file you or your employee edited is never overwritten: the new version lands beside it as `.new` and the change is listed. Your state, ledgers, strategy, learned browser flows and improvements are not read or written.
+- `npx ai-employees contribute <employee>`, new: turns `improvements/CHANGELOG.md`, the repairs your employee made to its own instructions, into a field report you can open upstream. Read it before you send it, because it can name your own files and numbers and nothing is redacted.
+- `AGENTS.md`, new, at the repository root and in every kit. It follows the AGENTS.md convention stewarded by the Linux Foundation's Agentic AI Foundation, so a harness that has never seen these kits still knows to read `CONTRACT.md`, `ROLE.md` and `SCHEDULE.md` in that order.
+- The product name is now "AI Employees" throughout. "Agent Employees" is retired. The Agent Employee Standard keeps its name, because that is the proper noun for the specification.
+
## 1.2.0, 2026-09-03
The cold install release. Everything a stranger needs to go from a fresh machine to a first run record, found by installing the GTM Engineer template on a machine that had never run it.
diff --git a/employees/gtm-engineer/VERSION b/employees/gtm-engineer/VERSION
index 26aaba0..f0bb29e 100644
--- a/employees/gtm-engineer/VERSION
+++ b/employees/gtm-engineer/VERSION
@@ -1 +1 @@
-1.2.0
+1.3.0
diff --git a/employees/gtm-engineer/employee.json b/employees/gtm-engineer/employee.json
new file mode 100644
index 0000000..380ac96
--- /dev/null
+++ b/employees/gtm-engineer/employee.json
@@ -0,0 +1,152 @@
+{
+ "schema": "ai-employee/1",
+ "slug": "gtm-engineer",
+ "name": "GTM Engineer",
+ "role": "Go to market and launch",
+ "version": "1.3.0",
+ "standard": "1.1",
+ "repository": "https://github.com/markfulton/ai-employees",
+ "license": "MIT",
+ "requires": {
+ "node": ">=18",
+ "harness": [
+ "claude-code",
+ "openclaw",
+ "hermes",
+ "opencode",
+ "grok-bot",
+ "codex",
+ "antigravity"
+ ]
+ },
+ "routines": [
+ {
+ "id": "gtm-board-standup",
+ "days": "mon-fri",
+ "fire": "07:30",
+ "window_start": "07:15",
+ "window_end": "11:30",
+ "period_key": "YYYY-MM-DD",
+ "budget": "12 min",
+ "browser": "never"
+ },
+ {
+ "id": "gtm-icp-refresh",
+ "days": "last-weekday",
+ "fire": "14:00",
+ "window_start": "13:45",
+ "window_end": "17:30",
+ "period_key": "YYYY-MM",
+ "budget": "35 min",
+ "browser": "light"
+ },
+ {
+ "id": "gtm-intake-and-dashboard",
+ "days": "first-weekday",
+ "fire": "13:00",
+ "window_start": "12:45",
+ "window_end": "17:00",
+ "period_key": "YYYY-MM",
+ "budget": "45 min",
+ "browser": "light"
+ },
+ {
+ "id": "gtm-launch-step-runner",
+ "days": "mon-fri",
+ "fire": "09:15",
+ "window_start": "09:00",
+ "window_end": "13:00",
+ "period_key": "YYYY-MM-DD",
+ "budget": "35 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "gtm-outreach-queue",
+ "days": "mon-fri",
+ "fire": "08:15",
+ "window_start": "08:00",
+ "window_end": "12:00",
+ "period_key": "YYYY-MM-DD",
+ "budget": "30 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "gtm-paid-and-tracking-guard",
+ "days": "mon",
+ "fire": "11:00",
+ "window_start": "10:45",
+ "window_end": "15:00",
+ "period_key": "YYYY-Www",
+ "budget": "20 min",
+ "browser": "read only"
+ },
+ {
+ "id": "gtm-scoreboard",
+ "days": "fri",
+ "fire": "16:00",
+ "window_start": "15:45",
+ "window_end": "19:00",
+ "period_key": "YYYY-Www",
+ "budget": "35 min",
+ "browser": "read only"
+ },
+ {
+ "id": "gtm-signal-sweep",
+ "days": "mon-fri",
+ "fire": "06:45",
+ "window_start": "06:30",
+ "window_end": "09:45",
+ "period_key": "YYYY-MM-DD",
+ "budget": "25 min",
+ "browser": "heavy"
+ }
+ ],
+ "files": {
+ "kit": [
+ "AGENTS.md",
+ "CAPABILITIES.md",
+ "CHANGELOG.md",
+ "CONTRACT.md",
+ "INSTALL-PROMPT.md",
+ "README.md",
+ "ROLE.md",
+ "VERSION",
+ ".gitignore",
+ "employee.json",
+ "recipes/BROWSER-RECIPES.md",
+ "routines/**",
+ "run/**",
+ "scripts/**",
+ "examples/**"
+ ],
+ "merge": [
+ "SCHEDULE.md"
+ ],
+ "member": [
+ "state/**",
+ "board/**",
+ "crm/**",
+ "queue/**",
+ "strategy/**",
+ "briefs/**",
+ "scoreboard/**",
+ "dashboard/**",
+ "improvements/**",
+ "archive/**",
+ "paid/**",
+ "fleet/**",
+ "drafts/**",
+ "calendar/**",
+ "run/*.log",
+ "recipes/*.json",
+ "runlog.jsonl",
+ "*-latest.md",
+ ".installed.json"
+ ]
+ },
+ "notes": {
+ "merge": "SCHEDULE.md carries the shape the kit ships and the days, windows and budgets the member owns. An upgrade reports a changed shape and never rewrites the row values.",
+ "member": "Everything under member is the business the employee has been running: its evidence, its ledgers, its learned browser flows and its own field repairs. An upgrade that overwrites any of it has destroyed work that exists nowhere else.",
+ "recipes": "recipes/BROWSER-RECIPES.md ships with the kit. Every recipes/*.json is learned on the member's own screens by the routine that owns it, so it is member data."
+ }
+}
diff --git a/employees/sales-employee/CHANGELOG.md b/employees/sales-employee/CHANGELOG.md
index c597375..a4e0116 100644
--- a/employees/sales-employee/CHANGELOG.md
+++ b/employees/sales-employee/CHANGELOG.md
@@ -2,6 +2,17 @@
The version this kit ships as lives in `VERSION` at the root. This file is written by the people who publish the kit and **no routine ever writes it**. Your own improvements go to `improvements/CHANGELOG.md`, which is a different file and stays yours.
+## 1.3.0, 2026-09-04
+
+Upgrades become possible, and the kit tells any harness what it is.
+
+- `employee.json`, new: a machine readable manifest carrying the version, the standard it implements, every routine with its schedule row, and the file classification that makes an upgrade safe. It splits the folder into kit files, which an upgrade may replace, member files, which it must never touch, and `SCHEDULE.md`, which both sides own.
+- `.installed.json`, new, written by `npx ai-employees hire`: a hash per kit file at install time. It is what lets a later upgrade tell a file you edited from a file we changed.
+- `npx ai-employees upgrade <employee>`, new. It reports before it writes, and nothing happens without `--apply`. A kit file you or your employee edited is never overwritten: the new version lands beside it as `.new` and the change is listed. Your state, ledgers, strategy, learned browser flows and improvements are not read or written.
+- `npx ai-employees contribute <employee>`, new: turns `improvements/CHANGELOG.md`, the repairs your employee made to its own instructions, into a field report you can open upstream. Read it before you send it, because it can name your own files and numbers and nothing is redacted.
+- `AGENTS.md`, new, at the repository root and in every kit. It follows the AGENTS.md convention stewarded by the Linux Foundation's Agentic AI Foundation, so a harness that has never seen these kits still knows to read `CONTRACT.md`, `ROLE.md` and `SCHEDULE.md` in that order.
+- The product name is now "AI Employees" throughout. "Agent Employees" is retired. The Agent Employee Standard keeps its name, because that is the proper noun for the specification.
+
## 1.2.0, 2026-09-03
The cold install release. Everything a stranger needs to go from a fresh machine to a first run record, found by installing the GTM Engineer template on a machine that had never run it.
diff --git a/employees/sales-employee/VERSION b/employees/sales-employee/VERSION
index 26aaba0..f0bb29e 100644
--- a/employees/sales-employee/VERSION
+++ b/employees/sales-employee/VERSION
@@ -1 +1 @@
-1.2.0
+1.3.0
diff --git a/employees/sales-employee/employee.json b/employees/sales-employee/employee.json
new file mode 100644
index 0000000..16ea154
--- /dev/null
+++ b/employees/sales-employee/employee.json
@@ -0,0 +1,142 @@
+{
+ "schema": "ai-employee/1",
+ "slug": "sales-employee",
+ "name": "Sales Employee",
+ "role": "Pipeline and outreach",
+ "version": "1.3.0",
+ "standard": "1.1",
+ "repository": "https://github.com/markfulton/ai-employees",
+ "license": "MIT",
+ "requires": {
+ "node": ">=18",
+ "harness": [
+ "claude-code",
+ "openclaw",
+ "hermes",
+ "opencode",
+ "grok-bot",
+ "codex",
+ "antigravity"
+ ]
+ },
+ "routines": [
+ {
+ "id": "sales-desk-setup",
+ "days": "first-weekday",
+ "fire": "11:00",
+ "window_start": "10:45",
+ "window_end": "15:00",
+ "period_key": "YYYY-MM",
+ "budget": "45 min",
+ "browser": "light"
+ },
+ {
+ "id": "sales-desk-standup",
+ "days": "mon-fri",
+ "fire": "07:30",
+ "window_start": "07:15",
+ "window_end": "11:30",
+ "period_key": "YYYY-MM-DD",
+ "budget": "12 min",
+ "browser": "never"
+ },
+ {
+ "id": "sales-first-touch-drafts",
+ "days": "mon-fri",
+ "fire": "08:15",
+ "window_start": "08:00",
+ "window_end": "12:00",
+ "period_key": "YYYY-MM-DD",
+ "budget": "30 min",
+ "browser": "heavy"
+ },
+ {
+ "id": "sales-followup-sweep",
+ "days": "mon-fri",
+ "fire": "13:30",
+ "window_start": "13:15",
+ "window_end": "17:00",
+ "period_key": "YYYY-MM-DD",
+ "budget": "35 min",
+ "browser": "heavy"
+ },
+ {
+ "id": "sales-pipeline-review",
+ "days": "fri",
+ "fire": "16:00",
+ "window_start": "15:45",
+ "window_end": "19:00",
+ "period_key": "YYYY-Www",
+ "budget": "35 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "sales-prospect-sweep",
+ "days": "mon-fri",
+ "fire": "06:45",
+ "window_start": "06:30",
+ "window_end": "09:45",
+ "period_key": "YYYY-MM-DD",
+ "budget": "25 min",
+ "browser": "heavy"
+ },
+ {
+ "id": "sales-qualification-refresh",
+ "days": "last-weekday",
+ "fire": "11:30",
+ "window_start": "11:15",
+ "window_end": "15:30",
+ "period_key": "YYYY-MM",
+ "budget": "30 min",
+ "browser": "light"
+ }
+ ],
+ "files": {
+ "kit": [
+ "AGENTS.md",
+ "CAPABILITIES.md",
+ "CHANGELOG.md",
+ "CONTRACT.md",
+ "INSTALL-PROMPT.md",
+ "README.md",
+ "ROLE.md",
+ "VERSION",
+ ".gitignore",
+ "employee.json",
+ "recipes/BROWSER-RECIPES.md",
+ "routines/**",
+ "run/**",
+ "scripts/**",
+ "examples/**"
+ ],
+ "merge": [
+ "SCHEDULE.md"
+ ],
+ "member": [
+ "state/**",
+ "board/**",
+ "crm/**",
+ "queue/**",
+ "strategy/**",
+ "briefs/**",
+ "scoreboard/**",
+ "dashboard/**",
+ "improvements/**",
+ "archive/**",
+ "paid/**",
+ "fleet/**",
+ "drafts/**",
+ "calendar/**",
+ "run/*.log",
+ "recipes/*.json",
+ "runlog.jsonl",
+ "*-latest.md",
+ ".installed.json"
+ ]
+ },
+ "notes": {
+ "merge": "SCHEDULE.md carries the shape the kit ships and the days, windows and budgets the member owns. An upgrade reports a changed shape and never rewrites the row values.",
+ "member": "Everything under member is the business the employee has been running: its evidence, its ledgers, its learned browser flows and its own field repairs. An upgrade that overwrites any of it has destroyed work that exists nowhere else.",
+ "recipes": "recipes/BROWSER-RECIPES.md ships with the kit. Every recipes/*.json is learned on the member's own screens by the routine that owns it, so it is member data."
+ }
+}
diff --git a/employees/seo-employee/CHANGELOG.md b/employees/seo-employee/CHANGELOG.md
index 9d68d79..c0c7df4 100644
--- a/employees/seo-employee/CHANGELOG.md
+++ b/employees/seo-employee/CHANGELOG.md
@@ -2,6 +2,17 @@
The version this kit ships as lives in `VERSION` at the root. This file is written by the people who publish the kit and **no routine ever writes it**. Your own improvements go to `improvements/CHANGELOG.md`, which is a different file and stays yours.
+## 1.3.0, 2026-09-04
+
+Upgrades become possible, and the kit tells any harness what it is.
+
+- `employee.json`, new: a machine readable manifest carrying the version, the standard it implements, every routine with its schedule row, and the file classification that makes an upgrade safe. It splits the folder into kit files, which an upgrade may replace, member files, which it must never touch, and `SCHEDULE.md`, which both sides own.
+- `.installed.json`, new, written by `npx ai-employees hire`: a hash per kit file at install time. It is what lets a later upgrade tell a file you edited from a file we changed.
+- `npx ai-employees upgrade <employee>`, new. It reports before it writes, and nothing happens without `--apply`. A kit file you or your employee edited is never overwritten: the new version lands beside it as `.new` and the change is listed. Your state, ledgers, strategy, learned browser flows and improvements are not read or written.
+- `npx ai-employees contribute <employee>`, new: turns `improvements/CHANGELOG.md`, the repairs your employee made to its own instructions, into a field report you can open upstream. Read it before you send it, because it can name your own files and numbers and nothing is redacted.
+- `AGENTS.md`, new, at the repository root and in every kit. It follows the AGENTS.md convention stewarded by the Linux Foundation's Agentic AI Foundation, so a harness that has never seen these kits still knows to read `CONTRACT.md`, `ROLE.md` and `SCHEDULE.md` in that order.
+- The product name is now "AI Employees" throughout. "Agent Employees" is retired. The Agent Employee Standard keeps its name, because that is the proper noun for the specification.
+
## 1.2.0, 2026-09-03
The cold install release. Everything a stranger needs to go from a fresh machine to a first run record, found by installing the GTM Engineer template on a machine that had never run it.
diff --git a/employees/seo-employee/VERSION b/employees/seo-employee/VERSION
index 26aaba0..f0bb29e 100644
--- a/employees/seo-employee/VERSION
+++ b/employees/seo-employee/VERSION
@@ -1 +1 @@
-1.2.0
+1.3.0
diff --git a/employees/seo-employee/employee.json b/employees/seo-employee/employee.json
new file mode 100644
index 0000000..72a11b5
--- /dev/null
+++ b/employees/seo-employee/employee.json
@@ -0,0 +1,142 @@
+{
+ "schema": "ai-employee/1",
+ "slug": "seo-employee",
+ "name": "SEO Employee",
+ "role": "Search and content",
+ "version": "1.3.0",
+ "standard": "1.1",
+ "repository": "https://github.com/markfulton/ai-employees",
+ "license": "MIT",
+ "requires": {
+ "node": ">=18",
+ "harness": [
+ "claude-code",
+ "openclaw",
+ "hermes",
+ "opencode",
+ "grok-bot",
+ "codex",
+ "antigravity"
+ ]
+ },
+ "routines": [
+ {
+ "id": "seo-calendar-refill",
+ "days": "wed",
+ "fire": "13:00",
+ "window_start": "12:45",
+ "window_end": "17:00",
+ "period_key": "YYYY-Www",
+ "budget": "40 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "seo-draft-run",
+ "days": "mon-fri",
+ "fire": "08:00",
+ "window_start": "07:45",
+ "window_end": "12:00",
+ "period_key": "YYYY-MM-DD",
+ "budget": "40 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "seo-index-sweep",
+ "days": "tue",
+ "fire": "11:00",
+ "window_start": "10:45",
+ "window_end": "16:00",
+ "period_key": "YYYY-Www",
+ "budget": "40 min",
+ "browser": "heavy"
+ },
+ {
+ "id": "seo-intake-and-map",
+ "days": "first-weekday",
+ "fire": "14:30",
+ "window_start": "14:15",
+ "window_end": "18:00",
+ "period_key": "YYYY-MM",
+ "budget": "45 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "seo-publish-run",
+ "days": "mon-fri",
+ "fire": "09:15",
+ "window_start": "09:00",
+ "window_end": "13:00",
+ "period_key": "YYYY-MM-DD",
+ "budget": "30 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "seo-rank-review",
+ "days": "fri",
+ "fire": "16:00",
+ "window_start": "15:45",
+ "window_end": "19:00",
+ "period_key": "YYYY-Www",
+ "budget": "40 min",
+ "browser": "heavy"
+ },
+ {
+ "id": "seo-standup",
+ "days": "mon-fri",
+ "fire": "07:15",
+ "window_start": "07:00",
+ "window_end": "11:30",
+ "period_key": "YYYY-MM-DD",
+ "budget": "12 min",
+ "browser": "never"
+ }
+ ],
+ "files": {
+ "kit": [
+ "AGENTS.md",
+ "CAPABILITIES.md",
+ "CHANGELOG.md",
+ "CONTRACT.md",
+ "INSTALL-PROMPT.md",
+ "README.md",
+ "ROLE.md",
+ "VERSION",
+ ".gitignore",
+ "employee.json",
+ "recipes/BROWSER-RECIPES.md",
+ "routines/**",
+ "run/**",
+ "scripts/**",
+ "examples/**"
+ ],
+ "merge": [
+ "SCHEDULE.md"
+ ],
+ "member": [
+ "state/**",
+ "board/**",
+ "crm/**",
+ "queue/**",
+ "strategy/**",
+ "briefs/**",
+ "scoreboard/**",
+ "dashboard/**",
+ "improvements/**",
+ "archive/**",
+ "paid/**",
+ "fleet/**",
+ "drafts/**",
+ "calendar/**",
+ "run/*.log",
+ "recipes/*.json",
+ "runlog.jsonl",
+ "*-latest.md",
+ ".installed.json"
+ ]
+ },
+ "notes": {
+ "merge": "SCHEDULE.md carries the shape the kit ships and the days, windows and budgets the member owns. An upgrade reports a changed shape and never rewrites the row values.",
+ "member": "Everything under member is the business the employee has been running: its evidence, its ledgers, its learned browser flows and its own field repairs. An upgrade that overwrites any of it has destroyed work that exists nowhere else.",
+ "recipes": "recipes/BROWSER-RECIPES.md ships with the kit. Every recipes/*.json is learned on the member's own screens by the routine that owns it, so it is member data."
+ }
+}
diff --git a/employees/social-media-employee/CHANGELOG.md b/employees/social-media-employee/CHANGELOG.md
index 3d5c13a..023a654 100644
--- a/employees/social-media-employee/CHANGELOG.md
+++ b/employees/social-media-employee/CHANGELOG.md
@@ -2,6 +2,17 @@
The version this kit ships as lives in `VERSION` at the root. This file is written by the people who publish the kit and **no routine ever writes it**. Your own improvements go to `improvements/CHANGELOG.md`, which is a different file and stays yours.
+## 1.3.0, 2026-09-04
+
+Upgrades become possible, and the kit tells any harness what it is.
+
+- `employee.json`, new: a machine readable manifest carrying the version, the standard it implements, every routine with its schedule row, and the file classification that makes an upgrade safe. It splits the folder into kit files, which an upgrade may replace, member files, which it must never touch, and `SCHEDULE.md`, which both sides own.
+- `.installed.json`, new, written by `npx ai-employees hire`: a hash per kit file at install time. It is what lets a later upgrade tell a file you edited from a file we changed.
+- `npx ai-employees upgrade <employee>`, new. It reports before it writes, and nothing happens without `--apply`. A kit file you or your employee edited is never overwritten: the new version lands beside it as `.new` and the change is listed. Your state, ledgers, strategy, learned browser flows and improvements are not read or written.
+- `npx ai-employees contribute <employee>`, new: turns `improvements/CHANGELOG.md`, the repairs your employee made to its own instructions, into a field report you can open upstream. Read it before you send it, because it can name your own files and numbers and nothing is redacted.
+- `AGENTS.md`, new, at the repository root and in every kit. It follows the AGENTS.md convention stewarded by the Linux Foundation's Agentic AI Foundation, so a harness that has never seen these kits still knows to read `CONTRACT.md`, `ROLE.md` and `SCHEDULE.md` in that order.
+- The product name is now "AI Employees" throughout. "Agent Employees" is retired. The Agent Employee Standard keeps its name, because that is the proper noun for the specification.
+
## 1.2.0, 2026-09-03
The cold install release. Everything a stranger needs to go from a fresh machine to a first run record, found by installing the GTM Engineer template on a machine that had never run it.
diff --git a/employees/social-media-employee/VERSION b/employees/social-media-employee/VERSION
index 26aaba0..f0bb29e 100644
--- a/employees/social-media-employee/VERSION
+++ b/employees/social-media-employee/VERSION
@@ -1 +1 @@
-1.2.0
+1.3.0
diff --git a/employees/social-media-employee/employee.json b/employees/social-media-employee/employee.json
new file mode 100644
index 0000000..83e8658
--- /dev/null
+++ b/employees/social-media-employee/employee.json
@@ -0,0 +1,142 @@
+{
+ "schema": "ai-employee/1",
+ "slug": "social-media-employee",
+ "name": "Social Media Employee",
+ "role": "Audience and distribution",
+ "version": "1.3.0",
+ "standard": "1.1",
+ "repository": "https://github.com/markfulton/ai-employees",
+ "license": "MIT",
+ "requires": {
+ "node": ">=18",
+ "harness": [
+ "claude-code",
+ "openclaw",
+ "hermes",
+ "opencode",
+ "grok-bot",
+ "codex",
+ "antigravity"
+ ]
+ },
+ "routines": [
+ {
+ "id": "soc-calendar-standup",
+ "days": "mon-fri",
+ "fire": "06:50",
+ "window_start": "06:40",
+ "window_end": "07:20",
+ "period_key": "YYYY-MM-DD",
+ "budget": "12 min",
+ "browser": "never"
+ },
+ {
+ "id": "soc-draft-queue",
+ "days": "mon-fri",
+ "fire": "09:15",
+ "window_start": "09:05",
+ "window_end": "15:00",
+ "period_key": "YYYY-MM-DD",
+ "budget": "35 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "soc-engagement-sweep",
+ "days": "mon-fri",
+ "fire": "05:45",
+ "window_start": "05:30",
+ "window_end": "08:00",
+ "period_key": "YYYY-MM-DD",
+ "budget": "40 min",
+ "browser": "heavy"
+ },
+ {
+ "id": "soc-intake-and-voice",
+ "days": "first-weekday",
+ "fire": "13:00",
+ "window_start": "12:45",
+ "window_end": "17:00",
+ "period_key": "YYYY-MM",
+ "budget": "45 min",
+ "browser": "light"
+ },
+ {
+ "id": "soc-material-sweep",
+ "days": "mon-fri",
+ "fire": "08:10",
+ "window_start": "08:00",
+ "window_end": "12:30",
+ "period_key": "YYYY-MM-DD",
+ "budget": "35 min",
+ "browser": "heavy"
+ },
+ {
+ "id": "soc-performance-review",
+ "days": "fri",
+ "fire": "16:00",
+ "window_start": "15:45",
+ "window_end": "19:00",
+ "period_key": "YYYY-Www",
+ "budget": "40 min",
+ "browser": "heavy"
+ },
+ {
+ "id": "soc-publish-run",
+ "days": "mon-fri",
+ "fire": "07:25",
+ "window_start": "07:22",
+ "window_end": "11:00",
+ "period_key": "YYYY-MM-DD",
+ "budget": "20 min",
+ "browser": "light"
+ }
+ ],
+ "files": {
+ "kit": [
+ "AGENTS.md",
+ "CAPABILITIES.md",
+ "CHANGELOG.md",
+ "CONTRACT.md",
+ "INSTALL-PROMPT.md",
+ "README.md",
+ "ROLE.md",
+ "VERSION",
+ ".gitignore",
+ "employee.json",
+ "recipes/BROWSER-RECIPES.md",
+ "routines/**",
+ "run/**",
+ "scripts/**",
+ "examples/**"
+ ],
+ "merge": [
+ "SCHEDULE.md"
+ ],
+ "member": [
+ "state/**",
+ "board/**",
+ "crm/**",
+ "queue/**",
+ "strategy/**",
+ "briefs/**",
+ "scoreboard/**",
+ "dashboard/**",
+ "improvements/**",
+ "archive/**",
+ "paid/**",
+ "fleet/**",
+ "drafts/**",
+ "calendar/**",
+ "run/*.log",
+ "recipes/*.json",
+ "runlog.jsonl",
+ "*-latest.md",
+ ".installed.json"
+ ]
+ },
+ "notes": {
+ "merge": "SCHEDULE.md carries the shape the kit ships and the days, windows and budgets the member owns. An upgrade reports a changed shape and never rewrites the row values.",
+ "member": "Everything under member is the business the employee has been running: its evidence, its ledgers, its learned browser flows and its own field repairs. An upgrade that overwrites any of it has destroyed work that exists nowhere else.",
+ "recipes": "recipes/BROWSER-RECIPES.md ships with the kit. Every recipes/*.json is learned on the member's own screens by the routine that owns it, so it is member data."
+ }
+}
diff --git a/employees/web-dev-employee/CHANGELOG.md b/employees/web-dev-employee/CHANGELOG.md
index ce5179a..4a7001c 100644
--- a/employees/web-dev-employee/CHANGELOG.md
+++ b/employees/web-dev-employee/CHANGELOG.md
@@ -2,6 +2,17 @@
The version this kit ships as lives in `VERSION` at the root. This file is written by the people who publish the kit and **no routine ever writes it**. Your own improvements go to `improvements/CHANGELOG.md`, which is a different file and stays yours.
+## 1.3.0, 2026-09-04
+
+Upgrades become possible, and the kit tells any harness what it is.
+
+- `employee.json`, new: a machine readable manifest carrying the version, the standard it implements, every routine with its schedule row, and the file classification that makes an upgrade safe. It splits the folder into kit files, which an upgrade may replace, member files, which it must never touch, and `SCHEDULE.md`, which both sides own.
+- `.installed.json`, new, written by `npx ai-employees hire`: a hash per kit file at install time. It is what lets a later upgrade tell a file you edited from a file we changed.
+- `npx ai-employees upgrade <employee>`, new. It reports before it writes, and nothing happens without `--apply`. A kit file you or your employee edited is never overwritten: the new version lands beside it as `.new` and the change is listed. Your state, ledgers, strategy, learned browser flows and improvements are not read or written.
+- `npx ai-employees contribute <employee>`, new: turns `improvements/CHANGELOG.md`, the repairs your employee made to its own instructions, into a field report you can open upstream. Read it before you send it, because it can name your own files and numbers and nothing is redacted.
+- `AGENTS.md`, new, at the repository root and in every kit. It follows the AGENTS.md convention stewarded by the Linux Foundation's Agentic AI Foundation, so a harness that has never seen these kits still knows to read `CONTRACT.md`, `ROLE.md` and `SCHEDULE.md` in that order.
+- The product name is now "AI Employees" throughout. "Agent Employees" is retired. The Agent Employee Standard keeps its name, because that is the proper noun for the specification.
+
## 1.2.0, 2026-09-03
The cold install release. Everything a stranger needs to go from a fresh machine to a first run record, found by installing the GTM Engineer template on a machine that had never run it.
diff --git a/employees/web-dev-employee/VERSION b/employees/web-dev-employee/VERSION
index 26aaba0..f0bb29e 100644
--- a/employees/web-dev-employee/VERSION
+++ b/employees/web-dev-employee/VERSION
@@ -1 +1 @@
-1.2.0
+1.3.0
diff --git a/employees/web-dev-employee/employee.json b/employees/web-dev-employee/employee.json
new file mode 100644
index 0000000..8ba404b
--- /dev/null
+++ b/employees/web-dev-employee/employee.json
@@ -0,0 +1,152 @@
+{
+ "schema": "ai-employee/1",
+ "slug": "web-dev-employee",
+ "name": "Web Dev Employee",
+ "role": "Engineering and maintenance",
+ "version": "1.3.0",
+ "standard": "1.1",
+ "repository": "https://github.com/markfulton/ai-employees",
+ "license": "MIT",
+ "requires": {
+ "node": ">=18",
+ "harness": [
+ "claude-code",
+ "openclaw",
+ "hermes",
+ "opencode",
+ "grok-bot",
+ "codex",
+ "antigravity"
+ ]
+ },
+ "routines": [
+ {
+ "id": "web-dependency-run",
+ "days": "wed",
+ "fire": "13:30",
+ "window_start": "13:15",
+ "window_end": "17:00",
+ "period_key": "YYYY-Www",
+ "budget": "40 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "web-fix-runner",
+ "days": "mon-fri",
+ "fire": "08:10",
+ "window_start": "08:00",
+ "window_end": "13:00",
+ "period_key": "YYYY-MM-DD",
+ "budget": "40 min",
+ "browser": "conditional"
+ },
+ {
+ "id": "web-guardrail-review",
+ "days": "last-weekday",
+ "fire": "16:45",
+ "window_start": "16:30",
+ "window_end": "19:30",
+ "period_key": "YYYY-MM",
+ "budget": "20 min",
+ "browser": "never"
+ },
+ {
+ "id": "web-inventory-refresh",
+ "days": "first-weekday",
+ "fire": "11:45",
+ "window_start": "11:30",
+ "window_end": "16:00",
+ "period_key": "YYYY-MM",
+ "budget": "45 min",
+ "browser": "light"
+ },
+ {
+ "id": "web-platform-guard",
+ "days": "mon",
+ "fire": "10:30",
+ "window_start": "10:15",
+ "window_end": "15:00",
+ "period_key": "YYYY-Www",
+ "budget": "30 min",
+ "browser": "heavy"
+ },
+ {
+ "id": "web-site-sweep",
+ "days": "mon-fri",
+ "fire": "06:45",
+ "window_start": "06:30",
+ "window_end": "09:45",
+ "period_key": "YYYY-MM-DD",
+ "budget": "25 min",
+ "browser": "heavy"
+ },
+ {
+ "id": "web-standup",
+ "days": "mon-fri",
+ "fire": "07:30",
+ "window_start": "07:15",
+ "window_end": "11:30",
+ "period_key": "YYYY-MM-DD",
+ "budget": "15 min",
+ "browser": "never"
+ },
+ {
+ "id": "web-weekly-report",
+ "days": "fri",
+ "fire": "15:30",
+ "window_start": "15:15",
+ "window_end": "18:00",
+ "period_key": "YYYY-Www",
+ "budget": "35 min",
+ "browser": "light"
+ }
+ ],
+ "files": {
+ "kit": [
+ "AGENTS.md",
+ "CAPABILITIES.md",
+ "CHANGELOG.md",
+ "CONTRACT.md",
+ "INSTALL-PROMPT.md",
+ "README.md",
+ "ROLE.md",
+ "VERSION",
+ ".gitignore",
+ "employee.json",
+ "recipes/BROWSER-RECIPES.md",
+ "routines/**",
+ "run/**",
+ "scripts/**",
+ "examples/**"
+ ],
+ "merge": [
+ "SCHEDULE.md"
+ ],
+ "member": [
+ "state/**",
+ "board/**",
+ "crm/**",
+ "queue/**",
+ "strategy/**",
+ "briefs/**",
+ "scoreboard/**",
+ "dashboard/**",
+ "improvements/**",
+ "archive/**",
+ "paid/**",
+ "fleet/**",
+ "drafts/**",
+ "calendar/**",
+ "run/*.log",
+ "recipes/*.json",
+ "runlog.jsonl",
+ "*-latest.md",
+ ".installed.json"
+ ]
+ },
+ "notes": {
+ "merge": "SCHEDULE.md carries the shape the kit ships and the days, windows and budgets the member owns. An upgrade reports a changed shape and never rewrites the row values.",
+ "member": "Everything under member is the business the employee has been running: its evidence, its ledgers, its learned browser flows and its own field repairs. An upgrade that overwrites any of it has destroyed work that exists nowhere else.",
+ "recipes": "recipes/BROWSER-RECIPES.md ships with the kit. Every recipes/*.json is learned on the member's own screens by the routine that owns it, so it is member data."
+ }
+}
diff --git a/installer/cli.mjs b/installer/cli.mjs
index 08c08ba..edc46bb 100644
--- a/installer/cli.mjs
+++ b/installer/cli.mjs
@@ -19,6 +19,7 @@ import os from "node:os";
import path from "node:path";
import { fileURLToPath } from "node:url";
import { spawnSync } from "node:child_process";
+import { upgrade as runUpgrade, contribute as runContribute, writeReceipt } from "./upgrade.mjs";
const SELF = fileURLToPath(import.meta.url);
const HERE = path.dirname(SELF);
@@ -52,6 +53,8 @@ function usage() {
"",
" npx ai-employees hire <employee> [--to <folder>] copy one employee into place and print its install prompt",
" npx ai-employees list the eight, one line each",
+ " npx ai-employees upgrade <employee> [--to <folder>] [--apply] report what a new version would change, then apply it",
+ " npx ai-employees contribute <employee> [--to <folder>] [--since YYYY-MM-DD] turn your employee's own field repairs into an issue",
"",
"The folder must be outside OneDrive, Dropbox, Google Drive and iCloud. Without --to it is ./employees/<slug>.",
"Nothing is scheduled and nothing is sent. Prerequisites: https://github.com/" + REPO + "/blob/main/docs/PREREQUISITES.md",
@@ -166,6 +169,8 @@ async function hire(args) {
const version = fs.existsSync(path.join(dst, "VERSION")) ? fs.readFileSync(path.join(dst, "VERSION"), "utf8").trim() : "unknown";
out(" kit version " + version);
+ writeReceipt(dst, slug, version);
+ out(" wrote .installed.json so a later upgrade can tell your edits from ours");
out("Self tests:");
const ok = selftests(dst);
out("Login: " + loginStatus());
@@ -189,12 +194,44 @@ async function hire(args) {
out("Guided version, updates and premium employees: club.reinventing.ai (https://club.reinventing.ai/?utm_source=github&utm_medium=kit&utm_campaign=" + slug + ")");
}
+
+async function resolveFreshKit(slug) {
+ const local = path.join(HERE, "..", "employees", slug);
+ if (fs.existsSync(path.join(local, "CONTRACT.md"))) return { dir: local, cleanup: null };
+ const tmp = fs.mkdtempSync(path.join(os.tmpdir(), "ai-employees-up-"));
+ const dst = path.join(tmp, slug);
+ await fetchTarball(slug, dst);
+ return { dir: dst, cleanup: () => fs.rmSync(tmp, { recursive: true, force: true }) };
+}
+
+async function upgradeCmd(args) {
+ const slug = resolveSlug(args._[0]);
+ if (!slug) { out("Which employee? One of:"); list(); process.exit(2); }
+ const installed = path.resolve(args.to || path.join(process.cwd(), "employees", slug));
+ const fresh = await resolveFreshKit(slug);
+ try {
+ runUpgrade({ installed, fresh: fresh.dir, slug, apply: args.apply, out, fail });
+ } finally {
+ if (fresh.cleanup) fresh.cleanup();
+ }
+}
+
+function contributeCmd(args) {
+ const slug = resolveSlug(args._[0]);
+ if (!slug) { out("Which employee? One of:"); list(); process.exit(2); }
+ const installed = path.resolve(args.to || path.join(process.cwd(), "employees", slug));
+ runContribute({ installed, slug, since: args.since, out, fail });
+}
+
function parse(argv) {
- const args = { _: [], to: null, help: false };
+ const args = { _: [], to: null, help: false, apply: false, since: null };
for (let i = 0; i < argv.length; i++) {
const a = argv[i];
if (a === "--to") { args.to = argv[++i]; if (!args.to) fail("--to needs a folder", 2); continue; }
if (a.startsWith("--to=")) { args.to = a.slice(5); continue; }
+ if (a === "--apply") { args.apply = true; continue; }
+ if (a === "--since") { args.since = argv[++i]; if (!args.since) fail("--since needs a date, YYYY-MM-DD", 2); continue; }
+ if (a.startsWith("--since=")) { args.since = a.slice(8); continue; }
if (a === "--help" || a === "-h") { args.help = true; continue; }
if (a === "--version" || a === "-v") { out(VERSION); process.exit(0); }
if (a.startsWith("--")) fail("unknown option " + a, 2);
@@ -208,4 +245,6 @@ const cmd = args._.shift();
if (args.help || !cmd) { usage(); process.exit(cmd ? 0 : 2); }
if (cmd === "list") { list(); process.exit(0); }
if (cmd === "hire") { await hire(args); process.exit(0); }
-fail("unknown command " + cmd + ". Try: npx ai-employees hire gtm-engineer", 2);
+if (cmd === "upgrade") { await upgradeCmd(args); process.exit(0); }
+if (cmd === "contribute") { contributeCmd(args); process.exit(0); }
+fail("unknown command " + cmd + ". Try one of: list, hire, upgrade, contribute", 2);
diff --git a/installer/upgrade.mjs b/installer/upgrade.mjs
new file mode 100644
index 0000000..fc028ff
--- /dev/null
+++ b/installer/upgrade.mjs
@@ -0,0 +1,255 @@
+/*
+ * Upgrade and contribute.
+ *
+ * An installed employee is two things sharing one folder: the kit, which is
+ * ours, and the business it has been running, which is the member's. The
+ * manifest in employee.json says which is which. Everything here exists so an
+ * upgrade can replace the first without ever touching the second.
+ *
+ * The rule that shapes the whole file: a kit file the member has edited is
+ * never overwritten. It is written beside the original as <name>.new and
+ * reported, because a routine that has been repaired in the field carries a
+ * fix that exists nowhere else.
+ */
+
+import fs from "node:fs";
+import path from "node:path";
+import crypto from "node:crypto";
+
+export const RECEIPT = ".installed.json";
+
+function readJson(p) {
+ try { return JSON.parse(fs.readFileSync(p, "utf8")); } catch { return null; }
+}
+
+/* A small glob: ** spans separators, * does not. */
+function globToRe(glob) {
+ let re = "";
+ for (let i = 0; i < glob.length; i++) {
+ const c = glob[i];
+ if (c === "*" && glob[i + 1] === "*") { re += ".*"; i += 1; if (glob[i + 1] === "/") i += 1; continue; }
+ if (c === "*") { re += "[^/]*"; continue; }
+ if (c === "?") { re += "[^/]"; continue; }
+ re += c.replace(/[.+^${}()|[\]\\]/g, "\\$&");
+ }
+ return new RegExp("^" + re + "$");
+}
+
+export function classify(manifest, rel) {
+ const p = rel.split(path.sep).join("/");
+ const test = (globs) => (globs || []).some((g) => globToRe(g).test(p));
+ if (test(manifest.files?.member)) return "member";
+ if (test(manifest.files?.merge)) return "merge";
+ if (test(manifest.files?.kit)) return "kit";
+ return "unknown";
+}
+
+export function walkFiles(root, base = root, acc = []) {
+ for (const e of fs.readdirSync(root, { withFileTypes: true })) {
+ if (e.name === ".git" || e.name === "node_modules") continue;
+ const p = path.join(root, e.name);
+ if (e.isDirectory()) walkFiles(p, base, acc);
+ else acc.push(path.relative(base, p));
+ }
+ return acc;
+}
+
+export function hashFile(p) {
+ return crypto.createHash("sha256").update(fs.readFileSync(p)).digest("hex").slice(0, 16);
+}
+
+/*
+ * Written at hire time. Without it an upgrade cannot tell a file the member
+ * edited from a file the kit changed, and the safe thing becomes impossible.
+ */
+export function writeReceipt(dst, slug, version) {
+ const manifest = readJson(path.join(dst, "employee.json"));
+ const files = {};
+ for (const rel of walkFiles(dst)) {
+ if (rel === RECEIPT) continue;
+ if (manifest && classify(manifest, rel) === "member") continue;
+ files[rel.split(path.sep).join("/")] = hashFile(path.join(dst, rel));
+ }
+ const receipt = {
+ schema: "ai-employee-receipt/1",
+ slug,
+ version,
+ standard: manifest?.standard ?? null,
+ installed_on: new Date().toISOString().slice(0, 10),
+ files,
+ };
+ fs.writeFileSync(path.join(dst, RECEIPT), JSON.stringify(receipt, null, 2) + "\n");
+ return receipt;
+}
+
+function changelogBetween(dir, from, to) {
+ const p = path.join(dir, "CHANGELOG.md");
+ if (!fs.existsSync(p)) return [];
+ const lines = fs.readFileSync(p, "utf8").split(/\r?\n/);
+ const out = [];
+ let taking = false;
+ for (const line of lines) {
+ const m = line.match(/^##\s+([0-9]+\.[0-9]+\.[0-9]+)/);
+ if (m) { taking = m[1] !== from; if (m[1] === from) break; }
+ if (taking) out.push(line);
+ }
+ return out;
+}
+
+/*
+ * Compare an installed folder against a fresh kit and report before changing
+ * anything. Nothing is written unless --apply is passed, and even then a
+ * locally edited kit file is written as <name>.new rather than replaced.
+ */
+export function upgrade({ installed, fresh, slug, apply, out, fail }) {
+ if (!fs.existsSync(path.join(installed, "CONTRACT.md"))) {
+ fail(installed + " does not look like an installed employee. Point --to at the folder you hired into.", 4);
+ }
+
+ const manifest = readJson(path.join(fresh, "employee.json"));
+ if (!manifest) fail("the new kit has no employee.json, so nothing can be classified safely. Upgrade by hand.", 5);
+
+ const receipt = readJson(path.join(installed, RECEIPT));
+ const installedVersion = fs.existsSync(path.join(installed, "VERSION"))
+ ? fs.readFileSync(path.join(installed, "VERSION"), "utf8").trim()
+ : "unknown";
+ const newVersion = manifest.version;
+
+ out("Employee " + manifest.name + " (" + slug + ")");
+ out("Installed " + installedVersion + " at " + installed);
+ out("Available " + newVersion);
+ out("");
+
+ if (!receipt) {
+ out("No " + RECEIPT + " in the installed folder, so this kit was installed before receipts existed.");
+ out("Every kit file therefore has to be treated as possibly edited, and nothing will be");
+ out("replaced in place. Review the .new files this run writes, then keep or discard each one.");
+ out("");
+ }
+
+ if (installedVersion === newVersion) {
+ out("Already on " + newVersion + ". Nothing to upgrade.");
+ return { changed: 0, drifted: 0, skipped: 0 };
+ }
+
+ /*
+ Count what is the member's by walking the INSTALLED folder, not the kit.
+ A freshly shipped kit contains no state, no ledgers and no learned flows,
+ so walking it would always report zero and hide the very thing this
+ command exists to protect.
+ */
+ const rows = { replace: [], drifted: [], added: [], merge: [], member: 0 };
+ for (const rel of walkFiles(installed)) {
+ if (classify(manifest, rel) === "member") rows.member += 1;
+ }
+
+ for (const rel of walkFiles(fresh)) {
+ const key = rel.split(path.sep).join("/");
+ if (key === RECEIPT) continue;
+ const kind = classify(manifest, rel);
+ if (kind === "member") continue;
+
+ const target = path.join(installed, rel);
+ const source = path.join(fresh, rel);
+
+ if (kind === "merge") { rows.merge.push(key); continue; }
+ if (!fs.existsSync(target)) { rows.added.push(key); continue; }
+
+ const now = hashFile(target);
+ if (now === hashFile(source)) continue; // identical already
+ const asShipped = receipt?.files?.[key];
+ if (asShipped && asShipped === now) rows.replace.push(key);
+ else rows.drifted.push(key);
+ }
+
+ out(" " + String(rows.replace.length).padStart(4) + " kit files unchanged since install, safe to replace");
+ out(" " + String(rows.added.length).padStart(4) + " new files this version adds");
+ out(" " + String(rows.drifted.length).padStart(4) + " kit files you or your employee edited, kept and written beside as .new");
+ out(" " + String(rows.merge.length).padStart(4) + " files both sides own, never rewritten (" + rows.merge.join(", ") + ")");
+ out(" " + String(rows.member).padStart(4) + " files that are yours and are not read or written by this command");
+ out("");
+
+ if (rows.drifted.length) {
+ out("Edited since install, so these keep what they have:");
+ for (const f of rows.drifted) out(" " + f);
+ out("");
+ }
+
+ const notes = changelogBetween(fresh, installedVersion, newVersion).filter((l) => l.trim());
+ if (notes.length) {
+ out("What changed between " + installedVersion + " and " + newVersion + ":");
+ for (const l of notes.slice(0, 40)) out(" " + l);
+ out("");
+ }
+
+ if (!apply) {
+ out("This was a report. Nothing was written.");
+ out("Run it again with --apply to replace the safe files and write the rest as .new.");
+ return rows;
+ }
+
+ for (const rel of rows.replace.concat(rows.added)) {
+ const target = path.join(installed, rel);
+ fs.mkdirSync(path.dirname(target), { recursive: true });
+ fs.copyFileSync(path.join(fresh, rel), target);
+ }
+ for (const rel of rows.drifted) {
+ const target = path.join(installed, rel + ".new");
+ fs.mkdirSync(path.dirname(target), { recursive: true });
+ fs.copyFileSync(path.join(fresh, rel), target);
+ }
+ for (const rel of rows.merge) {
+ const target = path.join(installed, rel);
+ if (!fs.existsSync(target)) fs.copyFileSync(path.join(fresh, rel), target);
+ else fs.copyFileSync(path.join(fresh, rel), path.join(installed, rel + ".new"));
+ }
+
+ writeReceipt(installed, slug, newVersion);
+ out("Applied. " + (rows.replace.length + rows.added.length) + " files updated, " +
+ (rows.drifted.length + rows.merge.length) + " written as .new for you to read.");
+ out("Your state, ledgers, strategy, learned browser flows and improvements were not touched.");
+ return rows;
+}
+
+/*
+ * Every kit writes improvements/CHANGELOG.md when a routine hits a defect in
+ * its own instructions and repairs it, quoting the text it replaced. Those
+ * entries are field reports and they are worth more than anything written from
+ * a desk, so this turns them into something that can be opened upstream.
+ */
+export function contribute({ installed, slug, since, out, fail }) {
+ const p = path.join(installed, "improvements", "CHANGELOG.md");
+ if (!fs.existsSync(p)) {
+ fail("no improvements/CHANGELOG.md in " + installed + ". Nothing to contribute yet, which is normal for a young install.", 4);
+ }
+ const version = fs.existsSync(path.join(installed, "VERSION"))
+ ? fs.readFileSync(path.join(installed, "VERSION"), "utf8").trim()
+ : "unknown";
+
+ const entries = fs.readFileSync(p, "utf8").split(/\r?\n/)
+ .filter((l) => l.trim())
+ .filter((l) => (since ? (l.slice(0, 10) >= since) : true));
+
+ if (!entries.length) {
+ out("No entries" + (since ? " on or after " + since : "") + ". Nothing to contribute.");
+ return;
+ }
+
+ out("Copy everything below into a new issue at");
+ out("https://github.com/markfulton/ai-employees/issues/new?labels=field-report");
+ out("");
+ out("=".repeat(78));
+ out("Field report: " + slug + " " + version + ", " + entries.length + " repairs");
+ out("");
+ out("These are repairs the running employee made to its own instructions after");
+ out("hitting a defect in them. Each line gives the date, the routine, what went");
+ out("wrong, and the text that was replaced.");
+ out("");
+ out("Kit version: " + version);
+ out("");
+ for (const e of entries) out("- " + e);
+ out("=".repeat(78));
+ out("");
+ out("Read it before you send it. These lines can name your own files, your");
+ out("customers and your numbers, and this command does not redact anything.");
+}
diff --git a/package.json b/package.json
index 2de6e44..81c25c3 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ai-employees",
- "version": "1.2.0",
+ "version": "1.3.0",
"description": "Open source AI Employees. 8 scheduled business roles on Claude Code. You own the files. They never send or spend.",
"private": true,
"type": "module",