CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

jbaruch/nanoclaw-host

Host rules and skills for NanoClaw deployment, image package inventories, private browser access, plugin promotion, staging and upstream updates.

Quality

89%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

orchestrator-dep-refresh.mdskills/host-contracts/references/

Orchestrator Dep Refresh

When this rule fires

Dockerfile.orchestrator installs npm packages directly from GitHub repos (e.g. RUN npm install -g jbaruch/reclaim-tripit-timezones-sync). When the upstream GitHub repo ships a new version, a default ./scripts/deploy.sh run does NOT pick it up — even though the script reports "deploy complete" and exits 0. The orchestrator silently keeps running the prior version of the dep.

Do not run docker compose build --no-cache --pull followed by up -d --build as a workaround. Use ./scripts/deploy.sh --no-cache per ## How to refresh below.

How to refresh

When an npm-from-GitHub dep in Dockerfile.orchestrator ships a new version, run in the deployment checkout verified under Host Agent Conventions.

./scripts/deploy.sh --no-cache

The flag (1) propagates --no-cache --pull through container/build.sh for the agent-runner image, and (2) splits the orchestrator step into separate docker compose build --no-cache --pull nanoclaw and docker compose up -d --force-recreate --no-build nanoclaw calls — no second --build invocation that BuildKit can cache-confuse. Mutually exclusive with --tiles-only.

When NOT to use --no-cache

The default ./scripts/deploy.sh (no flags) is correct for every other deploy: source-code changes, tessl-plugin updates, agent-runner Dockerfile changes that don't touch the GitHub-sourced npm install line. Use --no-cache ONLY when an npm-from-GitHub dep version is the actual change you're deploying.

Verify after refresh

From that same runtime, check the package in the running orchestrator. For example:

docker exec nanoclaw npm list -g --depth=0 reclaim-tripit-timezones-sync

If the version is unchanged from before the deploy, the cache wasn't actually busted — investigate before moving on.

README.md

tile.json