Draft specification, RFCs, reference registries and examples, plus the reference-implementation skeleton: build.zig, diagnostic envelope with error-code registry synced to docs, aji CLI, conformance runner with seed tests, CI and contributor docs.
814 B
814 B
12. Packages and Build
1. Manifest
A package contains an aji.toml manifest.
Illustrative manifest:
[package]
name = "aji-log"
version = "0.1.0"
[target]
os = "linux"
arch = "x86_64"
[capabilities]
filesystem = ["read", "write"]
network = false
2. Reproducibility
Given the same:
- source;
- compiler version;
- dependency lock;
- target;
- feature set;
build graph evaluation must be deterministic.
3. Build scripts
Packages cannot execute arbitrary host code merely because they are dependencies.
Any build extension must be explicitly declared, sandboxed and capability-limited.
4. Dependencies
Dependencies should be content-addressed or lockfile-pinned.
The package system should record unsafe/runtime dependencies separately from ordinary safe source dependencies.