docs/guide-port #208

Merged
clawdie merged 4 commits from docs/guide-port into main 2026-06-26 09:25:28 +02:00
Owner
No description provided.
clawdie added 4 commits 2026-06-26 09:25:15 +02:00
Layer 1 — rc.d ordering:
- Add tailscaled to colibri_daemon REQUIRE so the daemon doesn't start
  before the tailscale daemon is running.

Layer 2 — autospawn hook:
- After agent spawn, if clawdie-hw-probe was collected, read
  external-mcp.json to detect a 'mother' server entry.
- If configured, SSH to mother and call node_register via colibri-mcp
  with 3 retries / 5s backoff (tailscale auth can lag).
- Runs in a detached tokio task so SSH retries never block the daemon.

The probe data is already collected at autospawn time and passed to
the agent via CLAWDIE_HW_PROFILE; this addition closes the loop by
actually sending it to the mother node as a best-effort side effect.

Sam & Claude
Replace three std:🧵:sleep calls with tokio::time::sleep().await
in try_register_hw_with_mother. The function is now async so retry
delays yield the tokio worker instead of blocking it — the detached
task won't starve the daemon's other async work (scheduler, heartbeat,
socket handlers) during SSH retries.
Convert std::process::Command → tokio::process::Command so SSH
spawn/wait_with_output yield the tokio worker instead of blocking it.
Stdin write uses AsyncWriteExt::write_all. This, combined with the
earlier tokio::time::sleep fix, makes the entire mother registration
async — no thread is ever blocked during SSH retries.
docs(guide): port 39 procedural docs from clawdie-ai to colibri
Some checks are pending
CI / rust (pull_request) Waiting to run
CI / markdown (pull_request) Waiting to run
CI / port (pull_request) Waiting to run
CI / agent-jail-pkgs (pull_request) Waiting to run
95c487546d
New docs/guide/ tree — canonical home for operator-facing procedural docs.
Starlight frontmatter added to all files. 0.12 alignment fixes applied:

- v0.11.0 → v0.12.0 throughout
- PI_TUI_PROVIDER/MODEL → DEEPSEEK_API_KEY
- Headless Codex login → Agent runtime setup (zot + RPC mode)
- /login and auth.json references removed
- pi → zot in provider-fallback spawn reference
- colibri-provider-verify (was pi-provider-smoke)
- Language cleanup: smoke test → verification, fake → test,
  can't self-fix → requires operator intervention,
  broken → unresponsive, Fix anything broken → Verify all checks pass

Two-tree model: docs/wiki/ (decisions) + docs/guide/ (procedural).
Single source of truth in colibri. clawdie-ai docs/public/ to be retired.
clawdie merged commit 13303e88b3 into main 2026-06-26 09:25:28 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: clawdie/colibri#208
No description provided.