Machine Payload Matrix
This chapter summarizes command-specific JSON payload keys emitted under the machine envelope.
For envelope compatibility policy, see Machine Interface.
Core Project Commands
new
project_rootmanifest_pathcreated_paths
init
project_rootmanifest_pathcreated_paths
add
project_root,manifest_pathdependency,source,registry,source_packagefetched(source fetch metadata when applicable)installed(header install metadata)sync(sync-lite result)
remove
project_root,manifest_pathdependencyheader_link_removedwarnings
update
project_root,manifest_pathupdated_count,manifest_changedupdated[]entries with source/resolve/install metadatawarnings
tree
project_root,manifest_pathroots[]packages[]with source/provenance/dependency edges
why
project_root,manifest_pathpackagelockedroots[],paths[]package_info
outdated
project_root,manifest_path,lockfile_pathroots[]sourcessummary(direct/transitive/source counts)packages[]outdated[]
Registry and Discovery
registry (all subcommands)
action(add|remove|set-default) for mutating subcommandsscopename,index,default_set,removed(as applicable)registries[]anddefaultforlist
search
queryregistrycountpackages[](id,latest_version)
info
registrypackagelatest_versionversions[]
Dependency State, Integrity, and Cache
fetch
project_root,manifest_pathfetched_count,skipped_countfetched[]with source/provenance/cache metadata
vendor
project_root,lockfile_path,output_dirvendored_count,skipped_countvendored[],skipped[]
verify
project_root,lockfile_pathstrictsummary(package_count,passed_count,warning_count,failed_count)results[]sbomsbom_path
cache (gc)
action(gc)aggressiveremoved_paths[]cache_root
recipe-check
recipes_rootrecipe_countpackages[]
Publishing and Ownership
package (init)
action(init)manifest_pathid,version,kind
publish
packageversionregistryindex_pathgit_committed
owner
action(list|add|remove)packageregistryowners[](forlist)changed(for mutation flows)
yank
packageversionregistryyankedchangedindex_path
Build, Run, and Sync
build
project_root,manifest_pathbuild_file,binary_path,source_file,compiled_sources[]target,target_default,profileinclude_dirs[],link_dirs[],link_libs[]compiled_dependencies_built[]toolchainninja_status,ninja_stdout,ninja_stderrlockfile_path,lockfile_updated
sync
project_root,manifest_pathprofileinclude_dirs[],link_dirs[],link_libs[]compiled_dependencies_built[]toolchain(optional)lockfile_path,lockfile_updated
run
project_root,binary_path,build_filetoolchain,profile,target,target_defaultargs[],exit_codestdout,stderrlockfile_path,lockfile_updated
Diagnostics and Metadata
metadata
project_root,manifest_pathroots[]artifacts(joy/state/build/compile-db paths + flags)lockfilegrapheditor_extension_gate
doctor
ok,cwdenv,tools,toolchain,cache,recipesproject,artifacts,lockfile,dependency_metadataeditor_extension_gateproject_warnings[],project_hints[]
version
joy_versionschema_versionbuild_targetbuild_profilegit_commit
Workspace Metadata Note
Project-scoped command payloads can include additive workspace_root and workspace_member keys when invoked from workspace-routed contexts.