Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

Harness OS: OpenCode starts on Muse Spark 1.3 Free

bubu-dudu90b0aaf89f40
diff --git a/os/root/etc/skel/.config/opencode/opencode.json b/os/root/etc/skel/.config/opencode/opencode.json
index b0113fbf9..7383abedf 100644
--- a/os/root/etc/skel/.config/opencode/opencode.json
+++ b/os/root/etc/skel/.config/opencode/opencode.json
@@ -1,6 +1,7 @@
{
"$schema": "https://opencode.ai/config.json",
"update": "disable",
+ "model": "opencode/muse-spark-1.3-contributor-free",
"permissions": [
{ "action": "external_directory", "resource": "/usr/share/harness-os/*", "effect": "allow" },
{ "action": "read", "resource": "/usr/share/harness-os/*", "effect": "allow" },
diff --git a/os/tests/test_package.py b/os/tests/test_package.py
index 58d5c9250..d20270250 100644
--- a/os/tests/test_package.py
+++ b/os/tests/test_package.py
@@ -29,7 +29,10 @@ class PackageIdentity(unittest.TestCase):
self.assertIn('Super+n', (destination / 'usr/share/harness-os/guide.md').read_text())
settings = json.loads((config / 'opencode.json').read_text())
self.assertEqual(settings['update'], 'disable')
- self.assertFalse(set(settings) & {'model', 'provider', 'providers', 'instructions'})
+ # One free Zen model that answers with tools (upstream's Exo Free default fails every
+ # tool call with "Endpoint is unavailable"); providers and instructions stay upstream's.
+ self.assertEqual(settings['model'], 'opencode/muse-spark-1.3-contributor-free')
+ self.assertFalse(set(settings) & {'provider', 'providers', 'instructions'})
self.assertEqual(settings['permissions'], [
{'action': 'external_directory', 'resource': '/usr/share/harness-os/*', 'effect': 'allow'},
{'action': 'read', 'resource': '/usr/share/harness-os/*', 'effect': 'allow'},
diff --git a/os/tests/vm.py b/os/tests/vm.py
index 41bbcdea7..f0c5111b1 100644
--- a/os/tests/vm.py
+++ b/os/tests/vm.py
@@ -521,7 +521,8 @@ def check_first_use(vm, user, folder, installed=False):
version, _ = vm.command(user('/usr/bin/opencode --version'))
(folder / 'bundled-opencode-version.txt').write_text(version)
defaults = json.loads(vm.read_file('/home/me/.config/opencode/opencode.json'))
- assert not set(defaults) & {'model', 'provider', 'providers'}, 'The image must retain upstream model and provider defaults'
+ assert defaults.get('model') == 'opencode/muse-spark-1.3-contributor-free', 'The image must start on the pinned free model'
+ assert not set(defaults) & {'provider', 'providers'}, 'The image must retain upstream provider defaults'
assert defaults.get('update') == 'disable', 'The packaged agent must remain managed by system updates'
if installed:
vm.command('test ! -e /etc/harness-live && test "$(id -un)" = me')
diff --git a/os/tools/publish.py b/os/tools/publish.py
index d11006770..36f85dbe0 100644
--- a/os/tools/publish.py
+++ b/os/tools/publish.py
@@ -323,7 +323,7 @@ def main():
Arch Linux with the LTS kernel, labwc, foot, and an on-demand browser. No desktop panels or preinstalled development stacks.
-To install: follow the included `INSTALL.md` for Mac → USB → ThinkPad instructions. Verify the ISO's SHA-256, write the whole ISO to a USB stick, and boot an x86-64 PC with Secure Boot disabled. The USB opens the installer directly; installation works offline. Select the disk, enter the password twice and choose Install Harness. Shut down, remove the USB and boot the installed disk. The existing Wi-Fi page appears when disconnected, then bundled OpenCode opens on the left beside two terminal panes. Working Ethernet skips Wi-Fi setup. OpenCode retains its upstream model defaults and the local Harness guide. Super+n opens New Harness, Super+m connects a computer, and Super+t opens a shell directly. These shortcuts require no Shift; existing Ctrl+b bindings remain available. The installer erases the entire selected disk and does not resize another OS. Encryption is enabled by default.
+To install: follow the included `INSTALL.md` for Mac → USB → ThinkPad instructions. Verify the ISO's SHA-256, write the whole ISO to a USB stick, and boot an x86-64 PC with Secure Boot disabled. The USB opens the installer directly; installation works offline. Select the disk, enter the password twice and choose Install Harness. Shut down, remove the USB and boot the installed disk. The existing Wi-Fi page appears when disconnected, then bundled OpenCode opens on the left beside two terminal panes. Working Ethernet skips Wi-Fi setup. OpenCode starts on Muse Spark 1.3 Free, a free OpenCode Zen model that answers tool calls, with upstream provider defaults and the local Harness guide. Super+n opens New Harness, Super+m connects a computer, and Super+t opens a shell directly. These shortcuts require no Shift; existing Ctrl+b bindings remain available. The installer erases the entire selected disk and does not resize another OS. Encryption is enabled by default.
{'The installer has four aligned fields: disk, encryption, password, repeat password. Disk choices fit on one line. Activate Install to begin; there is no second confirmation screen or minimum password length. Empty passwords are rejected. The account is me@harness. The password initially protects both the local account and, when enabled, the encrypted disk. There is no first-boot account wizard.' if interactive_install else ''}