Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.2 KB

AGENTS.md

File metadata and controls

24 lines (17 loc) · 1.2 KB

AGENTS.md

Commit Conventions

Use Conventional Commits (feat:, fix:, build:, ci:, docs:, refactor:).

Build and Test

  • make build builds the multi-stage Docker image.
  • make smoke-test runs tests against the final image.
  • make validate runs the complete local validation sequence, including the build and smoke test.
  • After changes affecting the image, build process, NetLogo installation, or runtime behavior, run make validate.

Repository Invariants

  • The published image does not contain examples/, checksums/, download tools, or package-manager caches. Keep build dependencies and test fixtures out of the final image.
  • NetLogo is installed under /opt/netlogo. netlogo-headless.sh resolves BASE_DIR from its own location, so preserve the complete /opt/netlogo directory structure when copying it between build stages.
  • NETLOGO_VERSION currently defaults to 7.0.4. Override it with make build NETLOGO_VERSION=<version>.
  • When changing NETLOGO_VERSION, add or update its SHA-256 checksum in checksums/. Do not bypass checksum verification.
  • Example models are test fixtures supplied from the host by make smoke-test; do not copy them into the published image.