Behind jackin❯ — crates
jackin-image
Image generation and binary-artifact management for jackin❯. Builds the derived role image, acquires/caches the agent and capsule binaries, and decides the image-build vs reuse path.
What this crate owns
- Derived-image Dockerfile generation (
derived_image,image_recipe) and the build pipeline (image_build). - Agent + capsule binary acquisition and caching (
agent_binary,capsule_binary,binary_artifact). - The image decision — build vs reuse vs published (
image_decision,version_check) and image naming (naming).
Architecture tier and allowed dependencies
L1 application (image subsystem). Allowed workspace dependencies: jackin-core, jackin-manifest, jackin-docker, jackin-diagnostics, jackin-build-meta. No presentation or runtime dependencies — image materialization is a domain/app concern consumed by jackin-runtime.
Structure
| Module | Owns | Tests |
|---|---|---|
| crate root, re-exports | — |
· | derived-image Dockerfile generation | |
· | Dockerfile recipe | |
· | build pipeline | |
· | agent binary acquisition + cache | |
· | capsule binary acquisition + cache | |
· | shared artifact helpers | |
· | build-vs-reuse decision | |
· | version check | |
| image naming | — |
Public API
The image-build decision and materialization entry points consumed by jackin-runtime. The construct Dockerfile (operator-built base) lives under docker/construct/; this crate generates derived images on top of it.
How to verify
cargo nextest run -p jackin-image
cargo clippy -p jackin-image --all-targets -- -D warnings