Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .agents/skills/manage-ci/references/current-inventory.md
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ Reusable slices/workflows with a `container:` job, and what backs it:
| `nightly-stability-run.yml` | `stability` | `public cpu`, the image `prepare-automation` verifies (also bakes the node/pnpm the CLI-smoke step needs) |
| `nightly-kv-coverage.yml` | `ownership-state-machines` | `public cpu`, sha256:8d93de6b... |
| `release.yml` (CUDA/ROCm/Vulkan compiler rows) | per-backend `public` digests | Native compiler/toolkit images remain backend-specific; amd64 CUDA preserves its intentional ARC self-hosted placement |
| `release.yml` (Linux CUDA/ROCm/Vulkan composition rows) | `public cpu`, sha256:8d93de6b... | Verify, compose, readiness-test and archive exact producer bytes without downloading a compiler toolkit; packaging also fetches the pinned default-plugin archives from their GitHub releases (curl, HTTPS only) and checks them against the pins |
| `release.yml` (Linux CUDA/ROCm/Vulkan composition rows) | `public cpu`, sha256:8d93de6b... | Verify, compose, readiness-test and archive exact producer bytes without downloading a compiler toolkit |

`public cpu` and `public web` are separate image builds (the latter adds
`PLAYWRIGHT_BROWSERS_PATH=/opt/ms-playwright`,
Expand Down Expand Up @@ -1057,11 +1057,8 @@ Release host producers use `upload-automation` to publish one immutable xtask
per OS/architecture and source SHA. Every release composer has its host producer
in `needs` and uses `restore-automation` to verify checksums/source identity and
export `MESH_LLM_AUTOMATION_BIN`, without Cargo or compiler bootstrap.
Composition is not fully offline: on macOS and Linux, `package-release.sh`
fetches each default plugin archive the host pins (`repository bundled-plugins`)
from that plugin's GitHub release over HTTPS, checks it against the pinned
SHA-256, places it under `plugins/`, and runs `repository bundled-plugins-check`
with the composed host. The shared
Composition is fully offline: `package-release.sh` places no plugins in any
bundle. The shared
artifact actions remain reusable; L2 bare-hosted callers use hosted-bare preparation.
Windows release composers no longer use `prepare-automation`; the release workflow has
no setup-python steps. Runtime-package verification embeds the GLIBC policy
Expand Down
15 changes: 0 additions & 15 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,21 +157,6 @@ release archives contain `mesh-llm`, `host-imports.json`,
`native-runtimes/<runtime-id>` directory. Backend-flavored archive names select
different runtimes while retaining byte-identical host input for an OS/arch.

macOS and Linux release archives also carry `plugins/`, holding the release
archive of each default plugin the host pins for that target
(`DEFAULT_PLUGINS` in `mesh-llm-plugin-manager`). `scripts/package-release.sh`
lists them with `cargo xtool repository bundled-plugins --target <triple>`,
downloads each from the plugin's own GitHub release, and fails unless it
matches the pinned SHA-256 and the bundle's own host installs it as a default
(`cargo xtool repository bundled-plugins-check --bundle <dir>`). The check runs
even when nothing is listed, and fails if the host reports a default it pins for
that platform as missing from the bundle. Packaging
needs network access to GitHub; for an offline run, set
`MESH_LLM_BUNDLED_PLUGINS_INPUT_DIR` to a directory that already holds the
archives, which are checked against the pins all the same. Windows packaging
(`package-release.ps1`) bundles no plugins; no default pins a Windows build
today.

Verify the packaged executable with `cargo run -p xtask -- release-attestation inspect --binary /tmp/test-bundle/mesh-llm --public-key-file /tmp/mesh-release-key.pub`.
`valid` means the packaged binary matches a trusted release signer, `missing`
means an unstamped build, and `invalid` means the bytes changed after packaging.
Expand Down
7 changes: 1 addition & 6 deletions ci/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -1380,12 +1380,7 @@ Every product has three immutable layers:

`compose-product-input` verifies checksums, manifests and host import policy,
then composes exact producer bytes without compiling or substituting inputs.
In release, `scripts/package-release.sh` then adds `plugins/` to the macOS and
Linux bundles: the default plugin archives the host pins, downloaded from each
plugin's own GitHub release and checked against the pinned SHA-256, after
which the bundle's own host must install each one as a default
(`repository bundled-plugins` and `repository bundled-plugins-check`; see
`RELEASE.md`). Nothing builds those plugins in this repository.
Nothing builds those plugins in this repository.
Smoke and SDK consumers download those artifacts and never rebuild a missing
producer. PR and smoke artifacts retain for one day; caches are acceleration,
not correctness contracts.
Expand Down
20 changes: 0 additions & 20 deletions mesh/crates/mesh-llm-cli/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,26 +232,6 @@ mod tests {
assert_eq!(cli.kv_cache.kv_cache_min_free.as_deref(), Some("16GiB"));
}

#[test]
fn serve_and_client_still_take_the_hidden_no_default_plugins_flag() {
for surface in ["serve", "client"] {
let normalized = super::normalize_runtime_surface_args(
["mesh-llm", surface, "--headless", "--no-default-plugins"]
.into_iter()
.map(std::ffi::OsString::from)
.collect::<Vec<_>>(),
);
let cli = Cli::try_parse_from(normalized.normalized)
.unwrap_or_else(|error| panic!("{surface} --no-default-plugins: {error}"));
assert!(cli.node.headless);
assert!(cli.no_default_plugins, "{surface}");
}
let help = <Cli as clap::CommandFactory>::command()
.render_long_help()
.to_string();
assert!(!help.contains("--no-default-plugins"));
}

#[test]
fn kv_cache_lifecycle_commands_parse_exact_model_identity_and_confirmation() {
let cli = Cli::try_parse_from([
Expand Down
17 changes: 0 additions & 17 deletions mesh/crates/mesh-llm-cli/src/parser/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -544,12 +544,6 @@ pub struct Cli {
/// Internal: set when this node joined via Nostr discovery (not --join).
#[arg(skip)]
pub nostr_discovery: bool,

/// Don't install the default plugins when this node starts.
/// Same as MESH_LLM_NO_DEFAULT_PLUGINS=1. Hidden; kept so existing
/// `serve` and `client` invocations still parse.
#[arg(long, hide = true)]
pub no_default_plugins: bool,
}

#[derive(Subcommand, Debug)]
Expand Down Expand Up @@ -582,11 +576,6 @@ pub enum Command {
/// Re-detect the best host backend flavor before selecting the release bundle.
#[arg(long, conflicts_with = "flavor")]
detect_flavor: bool,
/// Turn off the default plugins this build lists: the updated node
/// does not install them from its release until `mesh-llm plugins
/// enable NAME`. Same as `mesh-llm plugins install-defaults --off`.
#[arg(long)]
no_default_plugins: bool,
},
/// Inspect local GPUs, stable IDs, and cached bandwidth.
#[command(alias = "gpu")]
Expand Down Expand Up @@ -988,12 +977,6 @@ pub enum ConfigCommand {
pub enum PluginCommand {
/// Install the default plugins from this release's bundled copy (no download).
/// A node also does this when it starts.
InstallDefaults {
/// Turn every default plugin off instead: none is installed, and an
/// installed one is disabled, until `mesh-llm plugins enable NAME`.
#[arg(long)]
off: bool,
},
/// Install native plugins in order, or install one local release archive.
Install {
/// Plugin catalog names, GitHub owner/repo references, or GitHub URLs.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ pub(super) fn format_skills(command: &mesh_llm_cli::SkillCommand, assembly: &mut
pub(super) fn format_plugin(command: &mesh_llm_cli::PluginCommand, assembly: &mut SummaryAssembly) {
use mesh_llm_cli::PluginCommand;
match command {
PluginCommand::InstallDefaults { off } => {
assembly.command.push_str(" plugins install-defaults");
assembly.flag("off", *off);
}
PluginCommand::Install {
reference,
archive,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,11 @@ pub(super) fn format_command(command: &Command, assembly: &mut SummaryAssembly)
version,
flavor,
detect_flavor,
no_default_plugins,
} => {
assembly.command.push_str(" update");
assembly.redact("--version", version.is_some());
assembly.redact("--flavor", flavor.is_some());
assembly.flag("detect-flavor", *detect_flavor);
assembly.flag("no-default-plugins", *no_default_plugins);
}
Command::Gpus { json, command } => {
administration::format_gpus(*json, command.as_ref(), assembly);
Expand Down
Loading
Loading