agentleFS
BlackBeltTechnologyBlackBeltTechnology/pi-agent-dashboard/docker/AGENTS.md

pi-agent-dashboard / docker

AGENTS.md312 starsChanged 4 months agoMITView on GitHub

Files in this directory. One row per file. Non-source area. Subdir files owned by their own AGENTS.md (fixtures/, scripts/). See change: migrate-file-index-to-agents-tree. See change: fold-oversized-agents-directories.

  • Reads credentials

The file

Files
AGENTS.md

DOX — docker

Files in this directory. One row per file. Non-source area. Subdir files owned by their own AGENTS.md (fixtures/, scripts/). See change: migrate-file-index-to-agents-tree. See change: fold-oversized-agents-directories.

FilePurpose
.env.exampleContainer env knobs, each commented. API keys, DASHBOARD_PORT, PI_GATEWAY_PORT, PI_GATEWAY_BIND,… → see .env.example.AGENTS.md
.gitignoreExcludes .env + compose.override.yml (user-specific). See change: docker-packaging.
compose.dev.ymlDev overlay. Bind-mounts source, anonymous node_modules volume keeps Linux node-pty, exposes 5173, NODE_ENV=development, command start --dev. See change: docker-packaging.
compose.override.yml.examplePower-user template. Path-identical workspace binds, :ro example, PI_DASHBOARD_PIN_DIRS. Copy to compose.override.yml. See change: docker-packaging.
compose.kroki.ymlKroki diagram rendering overlay. Adds yuzutech/kroki with KROKI_SAFE_MODE=secure and no host ports, atomically sets KROKI_URL=http://kroki:8000 on pi-dashboard. See change: diagram-rendering.
compose.test.cap.ymlOverlay-mode capability layer. Grants cap_add: [SYS_ADMIN] for mount -t overlay in test-entrypoint.sh. → see compose.test.cap.yml.AGENTS.md
compose.test.ymlTest overlay on compose.yml. Sets PI_DASHBOARD_NO_MDNS=1, DASHBOARD_PORT="${DASHBOARD_PORT:-18000}",… → see compose.test.yml.AGENTS.md
compose.ymlBase compose. Service pi-dashboard, init:true, env-driven ports, named volumes pi-state→/home/pi/.pi… → see compose.yml.AGENTS.md
DockerfileMulti-stage. base: node:24-bookworm-slim +… → see Dockerfile.AGENTS.md
entrypoint.shRuns seed-auth.js, seeds spawnStrategy into config.json first-run-only, starts tmux server, enrolls zrok v2… → see entrypoint.sh.AGENTS.md
harness-audit.shRecords docker events (create/start/die/destroy/kill) for the pi-dash-test-* label set into a file, so a container destroyed by a non-repo actor (#451 part 1) leaves evidence. harness-audit.sh <outfile>; start before test-up.sh. See change: stabilize-browser-e2e.
lib-ports.shSourced pure-helper lib. Exports derive_hash(cwd) (cksum), derive_project(cwd) -> pi-dash-test-<hash>,… → see lib-ports.sh.AGENTS.md
README.mdUser guide. Quick-start, config table, path-identical workspace mounts, volume perf profiles, gateway access, dev mode, Electron remote mode. See change: docker-packaging. Gains Memory Sizing & Container Limits: 1536 MB heap implies ~2.5-3 GB RSS (~1.07 GB lives outside V8); a limit below that is SIGKILLed before V8 reaches its ceiling — no heap dump, no GC telemetry, no FATAL ERROR line. Floor 4 GB; compose.yml already ships MEM_LIMIT:-4g. 4 GB is SHARED with co-tenants. Bare host ≤2 GB is a named gap. See change: bound-session-heap-and-gc-telemetry.
supervise-daemon.shsupervise_daemon <pidfile> [label] — keeps PID 1 alive for a DETACHED dashboard daemon, sourced by BOTH… → see supervise-daemon.sh.AGENTS.md
test-down.shTeardown. Re-derives COMPOSE_PROJECT_NAME from $PWD via lib-ports.sh cksum. → see test-down.sh.AGENTS.md
test-entrypoint.shTest entrypoint wrapper. HOST_CWD set → mounts overlayfs (lower /mnt/test-lower ro, upper/work tmpfs) at… → see test-entrypoint.sh.AGENTS.md Seeds the windowed-session fixture via scripts/seed-sessions-window.mjs under PI_E2E_SEED. See change: fix-connect-snapshot-frame-loss.
test-up.shSpin-up. Sources lib-ports.sh. Exports HOST_CWD=$PWD. Derives stable port pair + COMPOSE_PROJECT_NAME… → see test-up.sh.AGENTS.md
TESTING.mdRunbook for disposable isolated test harness. Quick start. → see TESTING.md.AGENTS.md
up.shWorkspace launcher. Parses PI_WORKSPACES path-separator list, one path-identical -v dir:dir RW bind per… → see up.sh.AGENTS.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.