OpenOffice
CLAUDE.md267 starsChanged 8 months agoMITView on GitHub
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
All git commit messages MUST be in English.
- Distinctive: line 33
Before each task: auto-rebase onto latest main, conflicts auto-resolved
- Very specific: line 38
Only 4 key events shown in UI: TASK_STARTED, APPROVAL_NEEDED, TASK_DONE, TASK_FAILED.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Open Office
Project Structure
apps/web- Next.js 15 PWA (Vercel deployment)apps/gateway- Mac daemon (Node.js + multi-channel + AI CLI control)packages/shared- Shared event protocol (Zod schemas)packages/orchestrator- Multi-agent engine (worktree, delegation, phases)packages/memory- Persistent agent memory (sessions, facts, shared knowledge)
Git
- All git commit messages MUST be in English.
Key Commands
pnpm dev:web- Start web dev serverpnpm dev:gateway- Start gateway
Architecture
- Channels: WebSocket (always), Ably (optional), Telegram (optional)
- UI: PixiJS v8 pixel office + Key Node Mode agent cards
Data Directory
- Dev:
~/.open-office-dev/, Release:~/.open-office/ config.json— global configdata/instances/<id>/— per-gateway state (logs, sessions, memory)data/agents.json— agent definitionsprojects/— default agent workspace (team projects created here)worktrees/<repo-hash>/<agentId>/— centralized worktree isolation
Worktree Isolation
- One agent = one worktree = one branch (keyed by agentId, not taskId)
- Worktrees stored outside repo at
~/.open-office[-dev]/worktrees/to prevent path traversal - On task:done: auto-merge to main (default), with per-agent toggle + undo merge
- Before each task: auto-rebase onto latest main, conflicts auto-resolved
- Cleanup: on fire agent only (no startup GC)
- Full docs:
packages/orchestrator/README.md→ "Worktree Isolation"
Key Node Mode
Only 4 key events shown in UI: TASK_STARTED, APPROVAL_NEEDED, TASK_DONE, TASK_FAILED. Agent states: idle, working, waiting_approval, done, error. TASK_DONE includes structured result (changedFiles, diffStat, testResult).
Team Execution Flow
Phases: CREATE → DESIGN → EXECUTE → COMPLETE → (loop or END). Execute: Leader → Dev (build+self-fix) → Reviewer (VERDICT) → Fix loop (max 3 reviews). Roles: Developer (ENTRY_FILE or PREVIEW_CMD+PORT), Code Reviewer (VERDICT PASS/FAIL), Team Lead (delegates only). Preview: static HTML (npx serve:9100), build output (dist/index.html), or command (PREVIEW_CMD on PREVIEW_PORT). Project dir: unique per session, all members share it. Created on APPROVE_PLAN.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

