Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(scripts): expand READMEs with current tool descriptions and CI job names

Steven Enamakel3d4aeb69d3f1
diff --git a/scripts/README.md b/scripts/README.md
index 2542bf60e8..5082f65851 100644
--- a/scripts/README.md
+++ b/scripts/README.md
@@ -4,7 +4,10 @@ Repo-maintenance, CI, dev-loop, and release tooling. This is a map, not a
manual — each entry point below has its own header comment or README with the
details.
-## Sub-directories with their own README
+## Sub-directories
+
+The first seven have their own README; the rest are documented by the header
+comments of the scripts inside them.
| Directory | Purpose |
| --- | --- |
@@ -19,10 +22,10 @@ details.
| `mock-api/` | The shared mock backend modules (routes, socket, admin, state) behind `mock-api-server.mjs` / `mock-api-core.mjs`; exercised by `pnpm mock:api` and Rust/E2E test runs. |
| `lib/` | Small parsers shared by the CI gates (checklist, coverage matrix, feature forwarding, module pins). |
| `__tests__/`, `tests/` | Unit tests for the scripts themselves (`node --test`, plus a PowerShell installer test). |
-| `fixtures/` | Static JSON fixtures used by release/version scripts. |
-| `theme-codemod/` | Codemod for migrating design-token/theme usage. |
-| `agent-batch/` | Launches and tracks batches of agent runs (`pnpm agent-batch`). |
-| `deep-work/` | CLI for long-running focused work sessions (`pnpm deep-work`). |
+| `fixtures/` | `latest.json` / `release.json` release-metadata fixtures consumed by `test_install.sh` (the `install.sh` test). |
+| `theme-codemod/` | Codemod collapsing audited `light dark:` Tailwind pairings into the semantic theme utilities (`node scripts/theme-codemod/migrate.mjs [--write]`; see `gitbooks/developing/theming.md`). |
+| `agent-batch/` | Validates a batch spec of parallel agent branches, checks file overlap, prints per-agent launch prompts, and reports status (`pnpm agent-batch <validate\|overlap\|launch\|status> <spec.json>`). |
+| `deep-work/` | Issue-to-PR workflow automation over worktrees and AI agents: `pnpm deep-work start\|pick\|continue\|status\|list\|cleanup`. |
## pnpm-wired entry points
@@ -56,13 +59,18 @@ above.
`check-kernel-floor.sh` (dependency-floor ratchet), `check-prompt-budget.sh`
(fixed-prefix token ratchet), `check-linux-tls-dependencies.sh`.
- **`i18n-*`** — translation coverage and audit tools (`i18n-coverage.ts`,
- `i18n-find-english.ts`, `i18n-react-audit.ts`, `i18n-doc-scan.sh`).
-- **`ios-*` / `android-init.sh`** — mobile client scaffolding
- (`tauri ios init` / `tauri android init` wrappers) for the experimental iOS
- client and Android.
+ `i18n-find-english.ts`, `i18n-react-audit.ts`, behind `pnpm i18n:*`);
+ `i18n-doc-scan.sh` scans the Chinese GitBook docs instead of the app.
+- **`ios-init.sh` / `android-init.sh`** — `tauri ios init` /
+ `tauri android init` wrappers (`pnpm tauri:ios:init`, `pnpm tauri:android:init`)
+ for the experimental mobile clients; **`ios-appstore-*`** build, export, and
+ upload the iOS IPA and its App Store Connect assets/metadata.
- **`install.sh` / `install.ps1`** — the public installer scripts referenced
from the README/download flow; exercised by `docs/RELEASE-MANUAL-SMOKE.md`.
-- **`ci-cancel-aware.sh`** — wraps a long-running CI command so a superseding
- push cancels it; required by `AGENTS.md` for long CI build/test commands.
+- **`ci-cancel-aware.sh`** — wraps a long-running CI command, polling the
+ workflow run's status (via `GH_TOKEN`) and killing the command's process tree
+ when the run is cancelled — needed because `docker exec` swallows the
+ runner's signals in container jobs. Required by `AGENTS.md` for long CI
+ build/test commands.
- **`assert-shed.sh`** / **`dep-sim.py`** — prove or simulate a dependency
reduction before claiming one in a PR; cited by `AGENTS.md`.
diff --git a/scripts/ci/README.md b/scripts/ci/README.md
index d3d73daf3a..bd2ab9f399 100644
--- a/scripts/ci/README.md
+++ b/scripts/ci/README.md
@@ -15,7 +15,7 @@ authoritative spec; this is an index so a CI failure log points somewhere.
| `rust-coverage-changed.sh` | PR fast-lane: runs `cargo-llvm-cov` scoped to only the domains/tests a PR touched instead of the full suite, and escalates to the full suite when scoping selects zero tests. |
| `vitest-changed-coverage.sh` | Frontend counterpart — runs `vitest related` against changed files instead of the full unit suite. |
| `assert-coverage-presence.sh` + `coverage-presence-allowlist.txt` | Fails when a changed Rust file produced no lcov records at all, meaning no lane even compiled it (openhuman#5593). Allowlist entries must document, inline, which gate excludes the file and why that's intended. |
-| `list-feature-gated-rust-tests.mjs` | Prints every file under `crates/openhuman-core/src` that carries tests behind a product feature gate (`voice`, `media`, `web3`, `meet`, `mcp`, `skills`, `flows`, `channels`, `contacts`). `ci-lite.yml`'s feature-gate smoke lane diffs the output against a checked-in EXPECTED list so a new gated test file forces the scoped `cargo test` filter to be extended (#5022). |
+| `list-feature-gated-rust-tests.mjs` | Prints every file under `crates/openhuman-core/src` that carries tests behind a product feature gate (`voice`, `media`, `web3`, `meet`, `mcp`, `skills`, `flows`, `channels`, `contacts`). `ci-lite.yml`'s `rust-feature-gate-smoke` job diffs the output against a checked-in EXPECTED list so a new gated test file forces the scoped `cargo test` filter to be extended (#5022). |
| `orch-ip-gate.sh` | Blocks the server-side orchestration "brain" (reasoning/wake graph, its prompts, per-agent model-selection metadata) from re-entering this open client repo. |
`rust-coverage-changed.sh` and `vitest-changed-coverage.sh` both feed the PR