{"slug":"package-wavefunction-install-kit","title":"package-wavefunction-install-kit","summary":"Build and verify a shareable Wavefunction macOS app ZIP and checksum using its bundled Python runtime. Use when the user asks for an install kit, test kit, or app archive for another Mac.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-11-29T00:42:48.19765Z","repo":{"url":"https://github.com/stoyan-stoyanov/wavefunction","stars":22,"forks":1,"license":"MIT","updatedAt":"2026-11-28T23:05:28Z"},"bodyHtml":"<hr>\n<h2>name: package-wavefunction-install-kit\ndescription: Build and verify a shareable Wavefunction macOS app ZIP and checksum using its bundled Python runtime. Use when the user asks for an install kit, test kit, or app archive for another Mac.</h2>\n<h1>Package a Wavefunction install kit</h1>\n<p>Work from the repository root. The recipient needs a Mac matching the build architecture; running this app does not require Python, Rust, uv, or repository access. Docker is optional for computer use, and model/connector accounts remain the recipient's own.</p>\n<h2>Prepare the candidate</h2>\n<ul>\n<li>Check the requested branch, commit, and working tree. Preserve unrelated edits. Packaging does not authorize release publication, uploads, a workspace reset, PR merge, or replacing a local app.</li>\n<li>This kit is ad-hoc signed, so another Mac's Gatekeeper warns before opening it. When the user wants a DMG, or a build that opens without that warning, use <a href=\"../release-wavefunction-dmg/SKILL.md\">release-wavefunction-dmg</a> instead: it is Developer ID-signed and notarized.</li>\n<li>Reuse a successful bundle from this task when its application inputs are unchanged. Otherwise run <code>npm run desktop:build</code>. For a combined rebuild/reopen request, follow <a href=\"../rebuild-wavefunction/SKILL.md\">rebuild-wavefunction</a>, then reuse that build.</li>\n<li>Use <code>scripts/package-desktop.mjs</code>.</li>\n<li>Keep user data, databases, credentials, test fixtures containing live accounts, and unrelated local files out of archives. A normal app ZIP needs no source snapshot or private account state. If source delivery is specifically requested, select the intended repository files separately and retain the original license and third-party notices.</li>\n</ul>\n<h2>Package and verify</h2>\n<p>If the bundle is already built, run:</p>\n<pre><code>node scripts/package-desktop.mjs\n</code></pre>\n<p>The script seals the assembled app with an ad-hoc signature, verifies it, and writes the app ZIP and SHA-256 file to ignored <code>dist/desktop</code>. It stops if signing, verification, or archiving fails. Keep the archive and checksum from the same run; repackaging changes the checksum.</p>\n<p>For the architecture produced by the current build, run:</p>\n<pre><code>codesign --verify --deep --strict src-tauri/target/release/bundle/macos/Wavefunction.app\nunzip -tq dist/desktop/Wavefunction-0.1.0-macos-&lt;arch&gt;.zip\n(cd dist/desktop &amp;&amp; shasum -a 256 -c Wavefunction-0.1.0-macos-&lt;arch&gt;.zip.sha256)\n</code></pre>\n<p>Replace <code>&lt;arch&gt;</code> with the actual suffix, normally <code>arm64</code> on Apple Silicon. Confirm the app's <code>CFBundleIdentifier</code> is <code>app.harness.coding</code> and its version matches the candidate. Do not describe a working tree with local changes as an unchanged commit.</p>\n<p>When testing extraction, use a task-owned temporary directory, verify the extracted bundle's signature, and remove that directory afterward. Native launch verification uses the isolated workflow in the rebuild skill; never replace the recipient/user app or data as an archive test. ZIP/signature checks are not a fresh-Mac installation test.</p>\n<h2>Hand off</h2>\n<ul>\n<li>Return absolute links to the ZIP and checksum. The recipient verifies the checksum, extracts the ZIP, moves <code>Wavefunction.app</code> to their chosen Applications directory if desired, then opens it and connects their model in Settings → Models.</li>\n<li>The app is ad-hoc signed unless this task explicitly configured another identity. Report notarization, clean-Mac testing, and other architectures as unverified when they were not exercised. Do not bypass operating-system security warnings for the recipient.</li>\n<li>Publish or send the archive or source only when requested, and only to the intended destination.</li>\n<li>Remove task-owned extraction folders, synthetic state, test processes, and disposable caches. Keep the archive, checksum, requested source changes, and useful verification evidence. Leave a requested user launch running.</li>\n</ul>\n","files":[{"path":"SKILL.md","sizeBytes":3791,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-11-29T00:44:54.44867Z","sha256":"13003DDD411B0AF5AD9DB59835B8A905BF10DD9BD8419EFA9AE275464E6FF78B","sizeBytes":1884},"review":null,"source":{"repositoryUrl":"https://github.com/stoyan-stoyanov/wavefunction","path":".agents/skills/package-wavefunction-install-kit","license":"MIT","commit":"ceb9faf030c5f05313bf4e9ab670592ea3279052","subtreeSha":"C0C6406E03DD7665A7FFAFDA2ABFC5882C7D2215955947F9CBCE0426B4ECC720","lastSyncedAt":"2026-11-29T00:42:47.729542Z"},"reviewedAt":"2026-11-29T00:49:55.83886Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/stoyan-stoyanov/wavefunction/tree/main/.agents/skills/package-wavefunction-install-kit"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install stoyan-stoyanov-wavefunction@llmmart"},{"target":"git","command":"git clone https://github.com/stoyan-stoyanov/wavefunction.git"}]}