.agents/skills/tesser/, named after the service.
To put a whole repo on Tesser for the first time, have your agent follow
Put a repo on Tesser. It writes these files for you.
setup prepares the box and runs before every start, so it must be safe to
run again. dev starts the server. The manifest reference has
every field; the common ones are root for a monorepo package, [health]
for a real readiness check, [deps] for services this one calls, and
[env] for env files and required secrets.
Running it
tesser dev waits until the server is healthy and always exits on its own.
Running it again only syncs, unless something the server cannot reload on
its own changed, such as a lockfile or the manifest; then it restarts.
Dev runs lists exactly what triggers a restart.
For a run that should not block, use tesser dev --detach, then
tesser wait <box_id> when you need it up. Don’t poll the URL with curl:
it can’t tell a failed setup from a slow one.
Shared setup
Put the setup every box of the repo shares, such as the workspace install, in a snapshot file beside the manifests instead of in each manifest’ssetup. New boxes start from a disk captured right after it ran, so their
installs only catch up. Snapshots shows how.
Env files
Sync skips gitignored files, so.env.local does not reach the box on its
own. A missing variable is usually why a dev server fails. Either list the
file in the manifest so every sync ships it:
tesser env push <box_id>, then
tesser sync <box_id> --restart.
Secrets for shared instances
A shared instance is the org’s copy of a service that teammates’ boxes connect to (see Connect a frontend to a backend). It has no laptop behind it, so its env comes from the org:PATH and NODE_OPTIONS, are refused; the
manifest rules list them.
Several services
Give each service its own file.tesser dev api web then runs them on two
boxes from the same worktree, starts web once api is up, and connects the
two (see
Connect a frontend to a backend). Service names are shared
across the org, so api means the same service in every repo.