OpenClaw Project Operating System: Multi-Project Management Framework

Core Problem and Solution
The OpenClaw Project Operating System addresses execution failures and inconsistencies in multi-project environments. The main issue was agents doing predictable work that should be handled by tools, leading to wasted tokens, context pollution, instability, and inconsistent execution.
The core shift: "Agents should not do predictable work. Tools should." Agents were doing repetitive work like babysitting processes, repeatedly summarizing, checking status loops, and managing state manually. Now tools and scripts handle all predictable tasks, cron runs everything automatically, and agents are used only for planning, debugging, and decision-making.
System Architecture
Core System Rules:
- Agents think. Tools do. Cron runs code.
- Every project is isolated with required structure: /project_name/ PROJECT.md SKILL.md /state/ /chat/ /daily/ /scripts/ /logs/ /backups/ /archive/ /cleanup_queue/
- File-first memory: Memory is markdown docs, JSON state, logs, and summaries (chats are NOT memory)
- Backup-first (mandatory): Before any change, backup first, version files, allow rollback
- Pull before push (critical): Before updating servers, websites, or remote systems, you must: 1. pull 2. compare 3. backup 4. then push
- No instant deletion: Move files to archive/ or cleanup_queue/, delete later via cron
- Explain changes: If changing anything, explain problem, solution, benefit, and confirm backup
Automation System
Cron runs scripts, jobs, and deterministic tasks but NOT freeform agents or reasoning loops.
Required Cron Jobs:
- Project Discovery: Find all projects, validate structure, build registry
- 6-Hour Summarizer (local model): Summarize project, keep last 10 messages, archive rest, fresh context every run
- Daily Planner: Log daily work, track blockers, track decisions
- Health Check: Detect stale projects, failed jobs, missing updates
- Backup/Checkpoint: Version files, snapshot state
- Weekly Cleanup: Remove old files only if safe, require checkpoint
- Cron Audit: Detect missed jobs, failures
- Scheduled Posting: Use JSON + tools, no agents
- Remote Sync: Pull before updating, compare versions
- Morning Report: Summarize all projects, prepare for agent review
Summarization System
Every 6 hours: Read project logs, summarize, update state, keep only last 10 messages, archive rest.
📖 Read the full source: r/openclaw
👀 See Also

Scaling Agentic Coding to 150+ PRs/Week: Lessons from $85K in Tokens at Lovable
Alexander Lebedev shares how he scaled from 20–30 PRs/week with one human to 150+ PRs/week with a swarm of AI agents, spending $85K in tokens since January. Key learnings: risk classification, AI review replacing human code review, and the challenge of preserving knowledge diffusion.

Understanding AI Agent Architecture: Deterministic vs Probabilistic Layers
A Reddit user shares a mental model for AI agent systems that separates deterministic layers (scripts, commands, APIs) from probabilistic layers (LLM reasoning and decisions). The key insight: push as much work as possible to the deterministic side.

Using AI to Write Better Code More Slowly: A Bug-Finding Workflow
Nolan Lawson describes a workflow using multiple AI agents (Claude, Codex, Cursor Bugbot) to find and prioritize bugs in PRs, improving code quality over raw velocity.
JIT Compiling Code in 5μs: Building a Fast JIT for Postgres pgrust
pgrust's JIT compiler compiles SQL queries in about 5μs, enabling JIT for every query. The author explains how AI-assisted assembly targeting makes fast JIT practical.