Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/crates/aienos-artifact-tool/README.md # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / crates / aienos-artifact-tool / README.md` 64 lines ยท 1863 bytes Raw Blame History Source # aienos-artifact-tool Host CLI for Binary Artifact v0. The CLI calls the same `aienos-artifact` parser and identity code used by the kernel. ``` aienos-artifact-tool pack MANIFEST.json CODE.bin DATA.bin OUTPUT.aien aienos-artifact-tool inspect FILE.aien aienos-artifact-tool id FILE.aien aienos-artifact-tool sign INPUT.aien OUTPUT.aien aienos-artifact-tool verify FILE.aien aienos-artifact-tool receipt ... ``` `receipt` has its own subcommands (`inspect`, `check`, `from-hex`, `sign-test`, `verify`); `aienos-artifact-tool receipt` with no further arguments prints their usage. `pack` accepts UTF-8 JSON with exactly these top-level fields: ``` { "entry_offset": 0, "capabilities": [ { "resource_kind": 3, "resource_id": 7, "rights": 1, "bounds_kind": 1, "max_operations": 4, "max_bytes": 4, "byte_offset": 0, "byte_length": 4 } ], "resources": { "code_pages": 1, "data_pages": 1, "stack_pages": 1, "max_capabilities": 1, "ipc_messages": 2, "ipc_bytes": 16, "cpu_ticks": 1000, "elapsed_ticks": 2000, "syscall_count": 16 } } ``` `pack` rejects unknown JSON fields and validates its output with the shared parser. Repeating `pack` with the same manifest and code/data bytes produces identical bytes. The initial signature block is structurally valid but unauthenticated until signed. Qualification signing is deliberately opt-in: ``` cargo run -p aienos-artifact-tool --features seed0b-test-signing -- sign INPUT.aien OUTPUT.aien cargo run -p aienos-artifact-tool --features seed0b-test-signing -- verify OUTPUT.aien ``` That feature uses only the public RFC 8032 test-vector identity. It is not a production key or production signing facility. Without the feature, the verification trust-anchor set is empty and signing returns an error.