Synopsis
Shell
$ phrony bundles publish BUNDLEDescription
Publishes a multi-agent Bundle to the runtime:
- Validates the manifest, including required
metadata.versionsemver. - Requires
bundle.lock.json; fails with a message namingbundle lockwhen missing. - Re-walks the closure, resolves external
content_hashvalues when needed, and verifies the result matches the committed lock. - Sends the committed lock bytes in
committed_lock; the server re-verifies before storing. - Enforces immutable version semantics (same semver or same lock hash cannot be rebound to different content).
- Validates the secret union across closure members; rejects when two members use the same secret name with different
fromEnvvalues (same rule asbundle lockandbundle validate). - Resolves external members (verifying DB
content_hashagainst the lock), materializes vendored members, and pinsagent_version_idon delegation bindings.
Each published snapshot is identified by semver (metadata.version) and lock hash (sha256:… from the lockfile). Bump metadata.version when the closure changes. Publishing does not make the bundle runnable—use bundle deploy next.
BUNDLE is the path to the kind: Bundle YAML file.
Do not use phrony agents publish for bundles.
Example
Shell
$ phrony bundles lock ./support/bundle.yaml
$ phrony bundles publish ./support/bundle.yamlOn success:
Text
support/support 1.2.0 (sha256:…)Up next
bundle deploy
Activate the published semver or lock hash for sessions.
Bundle spec
Full publish, deploy, and run semantics.