Swap bootstrap: colibri-tui as primary dashboard, Firefox for docs

- Launch colibri-tui in xfce4-terminal at login (primary operator dashboard)
- Firefox opens bootstrap.html as reference/docs page
- HTML updated for v0.9.1: colibri daemon, skills, Glasspane, pi, DeepSeek cache
This commit is contained in:
Clawdie Operator 2026-06-04 12:36:41 +00:00
parent 8fc139365c
commit 1ae6269ce3
2 changed files with 76 additions and 31 deletions

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Clawdie Operator USB</title>
<title>Clawdie Operator USB — v0.9.1</title>
<style>
:root {
--bg: #f3f1ea;
@ -13,6 +13,8 @@
--line: #d8d1c4;
--accent: #1f6a5e;
--accent-soft: #d8eee9;
--warn: #b85c1a;
--warn-soft: #fef0e4;
}
body {
margin: 0;
@ -52,6 +54,10 @@
background: var(--accent-soft);
border-left: 4px solid var(--accent);
}
.warn {
background: var(--warn-soft);
border-left-color: var(--warn);
}
code,
pre {
font-family: "DM Mono", "Cascadia Mono", monospace;
@ -72,39 +78,53 @@
<main>
<h1>Clawdie Operator USB</h1>
<p class="lead">
This USB is your operator workstation, not the final runtime. Use it to
verify desktop, browser, networking, <code>pi</code>, and future deploy
flow.
Live USB workstation for the Clawdie operator. Colibri daemon manages
agent supervision, skills, and tasks. The TUI dashboard is your primary
monitor — this page is for reference and quick checks.
</p>
<div class="card">
<strong>Included now:</strong>
<strong>Included now (v0.9.1):</strong>
<ul>
<li>XFCE desktop</li>
<li>XFCE desktop — dual-monitor, panel, wallpaper</li>
<li><code>colibri-daemon</code> — agent supervisor, skills catalog, Glasspane state machine</li>
<li><code>colibri-tui</code> — live ratatui dashboard (agent states, spawn/kill, sessions)</li>
<li>Firefox browser</li>
<li>Tailscale package</li>
<li>Bundled npm globals, including <code>pi</code></li>
<li>
FreeBSD mac_do for kernel-enforced privilege escalation (no sudo)
</li>
<li>Tailscale package (needs auth key)</li>
<li><code>pi</code> coding agent harness (npm global)</li>
<li>DeepSeek prefix caching (~3,500 free tokens per request)</li>
<li>FreeBSD <code>mac_do</code> for kernel-enforced privilege escalation</li>
<li>Python 3.11 with <code>python</code> + <code>python3</code> symlinks</li>
</ul>
</div>
<h2>Quick checks</h2>
<pre>
pi --help
tailscale version
tailscale status
firefox</pre
>
<h2>Primary dashboard</h2>
<p>
The <code>colibri-tui</code> dashboard opens automatically in a terminal
window at login. If closed, restart with:
</p>
<pre>colibri-tui</pre>
<h2>What to do next</h2>
<ul>
<li>Verify network access and browser usability.</li>
<li>Authenticate Tailscale if you have an auth key.</li>
<li>Use <code>pi</code> as the minimal assistant harness.</li>
<li>Later phases will add disk deploy, upgrade, and rescue flows.</li>
</ul>
<div class="card warn">
<strong>Colibri daemon must be running:</strong>
<pre>service colibri_daemon status
mdo -u root service colibri_daemon start</pre>
</div>
<h2>Colibri quick checks</h2>
<pre>
colibri status
colibri snapshot # Glasspane agent states
colibri list-tasks # Coordination board
colibri list-skills # Skills catalog
colibri create-task --title "check network"
colibri list-tasks --status queued</pre>
<h2>pi assistant</h2>
<pre>
pi # interactive session
pi --help # options
pi --provider deepseek --model deepseek-v4-pro</pre>
<h2>Tailscale</h2>
<p>If this USB was built without an auth key, join later with:</p>
@ -118,13 +138,12 @@ firefox</pre
<pre>
mdo -u root &lt;command&gt;
mdo -u root service tailscaled restart
mdo -u root networkmgr</pre
>
mdo -u root service colibri_daemon start</pre>
<h2>Disk deployment</h2>
<p>
Disk deployment is intentionally deferred on this branch. This first
milestone is only about a stable operator USB environment.
Disk deployment is intentionally deferred. This milestone is a stable
operator USB with full agent supervision and skills catalog.
</p>
</main>
</body>

View file

@ -1,4 +1,11 @@
#!/bin/sh
# Clawdie Operator USB — session bootstrap
#
# 1. Launch colibri-tui in xfce4-terminal (primary operator dashboard).
# 2. Open the bootstrap docs page in Firefox (reference / quick checks).
#
# The TUI gives live agent supervision (states, sessions, spawn/kill).
# Firefox remains available for docs, browsing, and Tailscale admin.
set -eu
@ -13,8 +20,27 @@ log_msg() {
mkdir -p "$(dirname "$LOG_FILE")"
touch "$LOG_FILE" 2>/dev/null || LOG_FILE=/dev/null
URL="file://${PAGE}"
# 1. Launch colibri-tui in a dedicated terminal window.
TUI_BIN="/usr/local/bin/colibri-tui"
TERM_BIN="/usr/local/bin/xfce4-terminal"
if [ -x "$TUI_BIN" ]; then
if [ -x "$TERM_BIN" ]; then
log_msg "Launching colibri-tui in xfce4-terminal"
"$TERM_BIN" \
--title="Colibri Dashboard" \
--geometry=120x30 \
--command="$TUI_BIN" \
>> "$LOG_FILE" 2>&1 &
else
log_msg "xfce4-terminal not found, colibri-tui requires a terminal"
fi
else
log_msg "colibri-tui not found — skipping TUI dashboard"
fi
# 2. Open the bootstrap reference page in Firefox.
URL="file://${PAGE}"
for browser in /usr/local/bin/firefox /usr/local/bin/xdg-open; do
if [ -x "$browser" ]; then
log_msg "Launching ${browser} ${URL}"
@ -22,5 +48,5 @@ for browser in /usr/local/bin/firefox /usr/local/bin/xdg-open; do
fi
done
log_msg "No supported browser launcher found for ${URL}"
log_msg "No supported browser found for ${URL}"
exit 1