Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

chore(ci): clear rustfmt and ADR catalog gates already red on main

vastsaaf1580c91f64
diff --git a/crates/host-core/src/sessions.rs b/crates/host-core/src/sessions.rs
index 0be59e0e3..5a2bd6eb7 100644
--- a/crates/host-core/src/sessions.rs
+++ b/crates/host-core/src/sessions.rs
@@ -482,9 +482,10 @@ pub(crate) fn record_to_ui(record: MessageRecord) -> UiMessage {
})
.collect::<Vec<_>>();
let thinking = (!thinking.is_empty()).then(|| thinking.concat());
- let hosted_search = blocks.iter().find(|b| {
- b.get("type").and_then(|t| t.as_str()) == Some("hostedSearch")
- }).cloned();
+ let hosted_search = blocks
+ .iter()
+ .find(|b| b.get("type").and_then(|t| t.as_str()) == Some("hostedSearch"))
+ .cloned();
let is_error = record.is_error.then_some(true);
let attachments = blocks
.iter()
diff --git a/crates/host-core/src/user_skills/tests.rs b/crates/host-core/src/user_skills/tests.rs
index 6380c0e68..3e7534d49 100644
--- a/crates/host-core/src/user_skills/tests.rs
+++ b/crates/host-core/src/user_skills/tests.rs
@@ -685,11 +685,7 @@ fn imports_a_directory_with_skill_md_in_copy_mode() {
let record = registry
.import(
source_dir.to_str().unwrap(),
- input(
- "Ignored",
- "project",
- Some(app.path().to_str().unwrap()),
- ),
+ input("Ignored", "project", Some(app.path().to_str().unwrap())),
)
.unwrap();
let normalized_project =
@@ -703,10 +699,16 @@ fn imports_a_directory_with_skill_md_in_copy_mode() {
.join("example");
assert!(expected_root.is_dir(), "target dir exists");
assert!(expected_root.join("SKILL.md").is_file(), "SKILL.md placed");
- assert!(expected_root.join("resource.txt").is_file(), "resources copied");
+ assert!(
+ expected_root.join("resource.txt").is_file(),
+ "resources copied"
+ );
assert_eq!(record.name, "Example");
// The record path points at the SKILL.md the scanner selects.
- assert_eq!(record.path, expected_root.join("SKILL.md").to_string_lossy());
+ assert_eq!(
+ record.path,
+ expected_root.join("SKILL.md").to_string_lossy()
+ );
// Source is untouched under copy mode.
assert!(source_dir.join("SKILL.md").is_file());
}
@@ -799,11 +801,7 @@ fn directory_import_without_skill_md_is_rejected() {
fn unknown_import_mode_is_rejected() {
let app = tempdir().unwrap();
let source = app.path().join("incoming.md");
- fs::write(
- &source,
- "---\nname: Any\n---\n\nBody.\n",
- )
- .unwrap();
+ fs::write(&source, "---\nname: Any\n---\n\nBody.\n").unwrap();
let mut registry = UserSkillRegistry::new(app.path());
let mut payload = input("Ignored", "project", Some(app.path().to_str().unwrap()));
payload.mode = Some("teleport".into());
diff --git a/docs/adr/0287-host-rendered-plugin-scenic-settings-surfaces.md b/docs/adr/0287-host-rendered-plugin-scenic-settings-surfaces.md
index 0c8cee3f8..4a6242d8a 100644
--- a/docs/adr/0287-host-rendered-plugin-scenic-settings-surfaces.md
+++ b/docs/adr/0287-host-rendered-plugin-scenic-settings-surfaces.md
@@ -1,4 +1,4 @@
-# ADR 0280 — Host-rendered plugin scenic Settings surfaces
+# ADR 0287 — Host-rendered plugin scenic Settings surfaces
- **Status:** Accepted for implementation
- **Date:** 2026-09-17
diff --git a/docs/adr/0288-package-local-theme-assets.md b/docs/adr/0288-package-local-theme-assets.md
index 4564c9ba0..d01680745 100644
--- a/docs/adr/0288-package-local-theme-assets.md
+++ b/docs/adr/0288-package-local-theme-assets.md
@@ -1,4 +1,4 @@
-# ADR 0281: Package-local theme assets remain available
+# ADR 0288: Package-local theme assets remain available
- Status: Accepted for implementation
- Date: 2026-09-17