app-anything GitHub

Operations

Generated from the operation modules; do not edit. Run app-anything docs to refresh.

Every operation takes a frozen request dataclass; the CLI flags, MCP tools and this page derive from the same metadata.

check

Run the rule catalogue against a project

project: Project root. (optional)
target: Also assess these targets. (optional)
phase: static, dynamic or all. (optional)
release: Apply release-level severities. (optional)
rule: Run only these rules. (optional)
fail_on: Lowest severity that fails. (optional)
effective_config: Print the merged manifest with provenance. (optional)

create

Build installable artifacts from a package

package: Package directory built by pack.
creator: Creator id, like 'web'. (optional)
target: Target to build for. (optional)
out: Directory that receives the artifacts. (optional)

describe

Describe capabilities, creators, rules, schema and format versions

section: capabilities, creators, rules, schema or formats. (optional)

dev

Run the app under the contract and serve it locally

project: Project root. (optional)
no_browser: Do not open a browser window. (optional)

docs

Regenerate the generated documentation

project: Repository root to write docs into. (optional)

doctor

Report host readiness for every creator target

target: Check readiness for these targets only. (optional)

explain

Explain a rule, capability, error code or contract clause

topic: Rule id, capability id, error code or contract clause.

init

Detect the project and write app-anything/manifest.json

project: Project root. (optional)
answer: Resolve a question, like 'id=com.example.app'. (optional)

pack

Build a deterministic .aapkg package from the project

project: Project root. (optional)
out: Package directory; defaults to dist/<id>-<version>.aapkg. (optional)
zip: Also write a deterministic .aapkg.zip archive. (optional)
allow_errors: Package even when checks find problems. (optional)
dynamic: Run dynamic rules before packing. (optional)

probe

Run one sandboxed host session and report contract violations

project: Project root. (optional)

upgrade

Migrate the manifest to the current format version

project: Project root. (optional)
dry_run: Show the target version without writing. (optional)

Rendered from docs/reference/operations.md on main.