Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

chore: address CodeRabbit review feedback on agent bootstrap

EtienneLescot3e954cf2eee0
diff --git a/.harness/memory/MEMORY.md b/.harness/memory/MEMORY.md
index 619775fc9..40dedd073 100644
--- a/.harness/memory/MEMORY.md
+++ b/.harness/memory/MEMORY.md
@@ -4,20 +4,20 @@ This file is the shared memory across all Mavis reins in this repo. Add durable
Format:
```
-### <Topic> (<YYYY-MM-DD>)
+## <Topic> (<YYYY-MM-DD>)
<one-paragraph fact or gotcha>
```
---
-### i18n: 13 locales must stay in sync (2026-06-21)
+## i18n: 13 locales must stay in sync (2026-06-21)
Any new user-facing string needs a key in all 13 locale files under `src/locales/`. The `npm run i18n:check` script validates structural consistency. Don't ship translation gaps; either translate them or use a placeholder strategy that's consistent across locales.
-### Native helpers need manual smoke tests (2026-06-21)
+## Native helpers need manual smoke tests (2026-06-21)
CI runs on Linux only. The macOS (Swift/ScreenCaptureKit) and Windows (C++/WGC) native helpers cannot be auto-verified. Any change in `electron/macos-helper/` or `electron/windows-helper/` must include a manual smoke-test note in the PR description (recorded on a real host).
-### Biome owns lint AND format (2026-06-21)
+## Biome owns lint AND format (2026-06-21)
There's no Prettier/ESLint — Biome 2.4 does both. Config in `biome.json`: tabs, double quotes, 100-col width, LF line endings. Don't add `eslint`/`prettier` configs on top; that would fight Biome.
-### `npm run build` is slow (2026-06-21)
+## `npm run build` is slow (2026-06-21)
`npm run build` runs tsc + vite build + electron-builder packaging. For renderer-only iteration use `npm run build-vite` (tsc + vite only, no packaging). Only run the full `build` when verifying a release artifact.
diff --git a/.harness/reins/openscreen-dev/agent.md b/.harness/reins/openscreen-dev/agent.md
index 7c3817b9e..7dfa520bf 100644
--- a/.harness/reins/openscreen-dev/agent.md
+++ b/.harness/reins/openscreen-dev/agent.md
@@ -15,7 +15,7 @@ You are the generalist implementer for the OpenScreen project — a free, open-s
## How you work
- Read `AGENTS.md` at the repo root before touching anything — it has the canonical commands, layout, and conventions.
-- Read `.harness/docs/architecture/` and `.harness/docs/engineering/` when the change touches the recording pipeline, IPC, or native bridge.
+- When the change touches recording, IPC, or the native bridge, read `.harness/docs/architecture-overview.md` (start here), `docs/architecture/native-bridge.md` (deeper dive), and `docs/engineering/` (native helper roadmaps).
- TypeScript strict mode, Biome format (tabs, double quotes, 100-col). Run `npm run lint:fix` before committing.
- For renderer-only iteration use `npm run build-vite`. For full packaging use `npm run build` (electron-builder, slow).
- Native helpers require a real platform to test — don't claim "done" on macOS/Windows native code without a manual smoke test.