clawd/memory/2026-03-23.md

104 lines
4.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 2026-03-23 — Session Notes
## Mission Control Experiment
**Goal:** Test builderz-labs/mission-control for agent orchestration.
**Outcome:** Mixed. The Kanban workflow and Aegis quality gates are powerful, but:
- Discord notification spam was overwhelming
- Claude Code fixed the filter ("wake" + "deliver": false instead of invalid "drop" action)
- I kept falling into implementer role instead of orchestrator
- MC terminated after too much noise; may restart with proper config
**Key lesson:** Need proper delegation flow — I should orchestrate, not implement.
## Multi-Agent Blocker
`sessions_spawn` fails with "model not allowed" error. Need to:
1. Check OpenClaw subagent configuration
2. Either add models to allowlist or use ACP runtime properly
3. Test Engineer/QA/Guardian role delegation once spawning works
## GitHub Org 'clavitor'
Token provided (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). Org creation returned 404 — needs investigation. Token may need admin:org scope verification.
## Tasks Completed
| Task | Status |
|------|--------|
| Port 8888 kill | ✅ Done |
| VNC kill | ✅ Done |
| vault1984 push | ✅ Verified clean |
| Hugo bot working | ✅ Responds to "Hey" |
| 7 agents killed | ✅ Mobile, Misc, DocSys, Dossier, HA, Mail, Prompt |
## Blocked Tasks
- TASK-018/019/020 (inou security): Need proper subagent delegation or manual implementation
- TASK-023 (18 uncommitted files): Pending git review
- TASK-029 (GitHub org): Token provided but org not created (404)
- TASK-030 (Kernel reboot): Scheduled for downtime
## Next Steps
1. Fix `sessions_spawn` model restrictions
2. Restart Mission Control with proper notification filtering
3. Test Engineer → QA → Guardian → Me workflow
4. Complete GitHub org creation
---
## Mission Control Full Migration (night session, ~midnight4am ET)
### What was done
- Removed 7 dead agents from `openclaw.json` (docsys, mail, mobile, dossier, prompt, misc, homeassistant) — they were being re-synced every 60s from MC config sync
- Fixed MC DB path issue: systemd service runs from `.next/standalone/` so DB is at `.next/standalone/.data/mission-control.db` (NOT `/home/johan/mission-control/.data/`)
- Created proper systemd service: `/home/johan/.config/systemd/user/mission-control.service` — MC now auto-starts, survives restarts
- Fixed `PATH` in service env so `openclaw` binary is found (`/home/johan/.npm-global/bin/openclaw`)
- Added `MC_EXCLUDED_AGENTS=hugo,luca` env var + patched `agent-sync.ts` to filter excluded agents — Hugo and Luca are Discord-only, not product team
- Rebuilt MC from source (`pnpm build`) with exclusion filter
- Fixed `OPENCLAW_HOME``OPENCLAW_CONFIG_PATH=/home/johan/.openclaw/openclaw.json`
### MC Agent Roster (final)
| Agent | MC ID | openclawId | Role |
|-------|-------|-----------|------|
| James | 1 | main | CoS |
| Mira | 2 | mira | DealSpace |
| George | 3 | george | vault1984 writer |
| Iaso | 4 | iaso | inou health |
| Sarah | 5 | sarah | design |
Hugo and Luca: Discord-only, excluded from MC via `MC_EXCLUDED_AGENTS`
### Dispatch wiring verified
- MC dispatches via `openclaw gateway call agent --expect-final`
- Sarah test task: confirmed `SARAH_WIRED` returned and stored in MC DB ✅
- James dispatch works via channel delivery when in active conversation; isolated session when idle
- Known issue: when James is mid-conversation, `--expect-final` times out → MC retries → spam loop. Fix: delete test tasks promptly; MC restart flushes in-memory queue.
### clovis repo restructure
- Renamed `~/dev/clavitor/oss/``~/dev/clavitor/clovis/`
- Subfolders: `clovis-vault/`, `clovis-cli/`, `clovis-crypto/`, `clovis-chrome/` (+ planned: firefox, safari, ios, android)
- Removed `clovis-app/` — vault has built-in embedded UI
- Fixed all Makefiles and test paths
- GitHub org `clavitor` created manually by Johan; repos: `clavitor/clavis` (monorepo)
### Clovis local→GitHub sync
- Local monorepo structure in `clovis/` needs to be pushed to `clavitor/clavis` on GitHub
- Token: `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` (full scopes)
### OpenClaw patches still active (2026.3.13)
- Deleted transcript indexing: grep `dist/query-expansion-*.js` for `.jsonl` filter, add `.jsonl.deleted.` inclusion
- Scope preservation: NOT needed as of 2026.2.23+
### clovis/clovis-chrome
- Directory created as stub (README only, no code yet)
### Pending from this session
- Commit restructured `~/dev/clavitor/clovis/` to git (renames tracked)
- Push to `github.com/clavitor/clavis`
- MC gateway status shows `unknown` — cosmetic, dispatch works via CLI anyway
- TimeoutOverflowWarning still in OC logs (~30 days as ms); non-fatal