Reference / Package types

Settings package (.acs)

A settings package delivers a small, versioned preference payload to Acruz One. It may change only the interface locale and the reduced-motion preference. Credentials, URLs, device grants and arbitrary application settings are unsupported, and a settings package can never contain executable code. The manifest kind is settings, the container extension is .acs and the manifest template is templates/settings.yml.

Payload contract

The entrypoint declared by templates/settings.yml is settings/preferences.json. The JSON contains exactly schema_version: 1, locale (either ar or en) and reduce_motion (boolean). One continues to honour the operating-system reduced-motion preference even when an imported preference is false.

{
  "locale": "en",
  "reduce_motion": false,
  "schema_version": 1
}

Each package declares no permissions and exactly one .json entrypoint of at most 64 KiB; website envelopes are at most 256 KiB compressed and expanded, and the JSON must be canonical compact UTF-8 with sorted keys and no final newline. See projects/acruz-one/docs/DATA_PACKAGES.md for the full rules and sdk/core/rust/fixtures/data-v1.json for the shared acceptance and rejection cases.

Canonicalize the payload

New-Item -ItemType Directory -Force staging/settings
cargo run --manifest-path sdk/core/rust/Cargo.toml --example build-data -- settings sdk/core/examples/data/settings.json staging/settings/preferences.json

The canonicalizer enforces the schema and refuses to overwrite an existing output file. Start from sdk/core/examples/data/settings.json.

Build and verify

New-Item -ItemType Directory -Force .keys
npm run sdk -- keygen .keys/developer
npm run sdk -- build templates/settings.yml staging .keys/developer.private.pem example.acs
npm run sdk -- verify example.acs .keys/developer.public.pem

npm run sdk -- <subcommand> is the alias for node sdk/core/src/cli.ts <subcommand> from the repository root. inspect prints a manifest without packing anything: npm run sdk -- inspect templates/settings.yml.

Upload and review

Upload the .acs in the developer portal, wait for queued verification, complete the listing and privacy fields, submit explicitly, and let an administrator approve and publish. Importing preferences in One always goes through an explicit preview and consent step, and revert restores the previous state transactionally.

What was executed here

cargo run --manifest-path sdk/core/rust/Cargo.toml --example build-data -- settings sdk/core/examples/data/settings.json <staging>/settings/preferences.json, npm run sdk -- keygen, npm run sdk -- build templates/settings.yml <staging> <private key> example.acs and npm run sdk -- verify example.acs <public key> all completed successfully in this working copy. No claim is made about interactive Windows UI acceptance, which remains open.