A local-first multi-agent app development platform, built on PenguinHarness
A skill for standing the app up to test by hand
- Date: 2026-08-23
- Type: process
- Scope:
skills,docs - PR: #428
.agents/skills/penguin-harness-manual-test/SKILL.md is a new repo-development
skill covering how to bring the app up on a developer machine so a change can be tried by hand: the four dev entry points (pnpm dev, pnpm desktop,
pnpm dev:landing, pnpm dev:docs) with their fixed ports, and the environment traps that make a
working setup read as a broken one. Two neighbouring documents were corrected to match it.
Details
- Data roots are stated per entry point:
resolveRoot()isPENGUIN_HOME ?? ~/.penguin/data, anddesktopDataRoot()sends a packaged build to that same CLI-shared root while only an unpackaged run takes~/.penguin/dev-data. The skill also names the startup lines that report the root actually taken (Data root: <root>,[shell] dev instance '<name>' on data root <root>). scripts/run-with-env.mjsappliesVAR=valuewith${VAR:-value}semantics, so every dev default is a default and an inheritedPENGUIN_HOMEsilently wins. The rule the skill gives is never to export it and to prefix a single command (PENGUIN_HOME=~/.penguin/dev-data-<topic> pnpm dev) when an isolated root is needed, plus the asymmetry an empty value creates between that script andresolveRoot()'s??.<root>/server.lockadmits one server per data root, refusing withAnother PenguinHarness server is already running on this data root (pid N)and exit 3 regardless ofPORT. The instruction is to move to a distinct root, not to kill what usually is the user's own desktop app.- An environment proxy routes loopback
curlthrough itself and answers 502 while the server is healthy; browsers and the server's own outbound path are unaffected. The skill givescurl --noproxy '*'/NO_PROXYand says to suspect the proxy before debugging the server. - Two more surfaces that read as failures:
/apion127.0.0.1is the Workspace-preview host and answers 401 by design, and the dev backend on 7368 serves the last-builtpackages/web/distrather than what Vite is serving on 7365. - Sign-in is covered for scripted runs: the seeded
adminnotice,<root>/initial-admin-password,PENGUIN_SEED_ADMIN_PASSWORD, and thepackages/web/e2e/harness for chat flows on a root with no model credential. CONTRIBUTING.md's data-root paragraph now tells contributors to passPENGUIN_HOMEinline for the one command that needs it rather than exporting it, and names both the unset-or-empty rule that makes an exported value win and the collision an exported~/.penguin/dataproduces.penguin-harness-devdropped its claim that a remote branch literally nameddocsmakesdocs/<topic>branch names impossible in this repo: no such branch is on the remote, and the slashed form pushes normally. Thedocs-<topic>names left over from that period are explained where the rule is stated, withgit ls-remote --heads originas the check if it ever recurs.
The override says so now
scripts/run-with-env.mjs keeps applying its VAR=value arguments as defaults — an inherited value
still wins, which is what makes PENGUIN_HOME=/somewhere pnpm dev work at all, since a child
process cannot tell an inline assignment from an exported one. What changed is that it no longer
happens in silence: any default the environment displaced is named on stderr before the command
runs, so a shell-wide export cannot quietly redirect a dev script at another data root.