Koda Dojo
· Claude Code

Module 14: Workspace Org, Deployment, and the Future

An organized multi-workspace operation in place of one messy folder and one session at a time: parallel agents in worktrees, groomed memory, headless pipelines, and a deliberate roadmap for what to automate next.

Lessons

  1. Every file has one right home. A try-out of the three homes, then ten files from billing-api. Give each a home, save it, and watch who gets it: a teammate's clone, you here, you in another repo.
  2. Launch inside the client. Priya's plan for two clients on one laptop. Flag what leaks or goes stale, then run her week and watch what still crosses over.
  3. One worktree per agent. Four rounds on parallel sessions: fix a collision, predict where --worktree puts files, predict what is shared, then run a pair of tasks to merge.
  4. Nobody is watching at 06:00. Build Priya's cron line part by part, schedule it, and watch 06:00 play each part out.
  5. Automate by rubric. Six recurring tasks with their scores. Put each in a lane, run the week, and watch what runs with nobody approving.
  6. Fresh check. An invented case: two clients share a parent instruction file. Fix the scope, then prove it with a receipt. Your first result is kept.

What you take away

  • Directory boundaries are context boundaries: separate workspaces per client and context, each with its own CLAUDE.md and rules
  • Your .claude/ directory is infrastructure as code: version it, audit it, and commit project-level config to the repo
  • Git worktrees give each agent its own checkout; task independence, not tooling, is what makes parallelism safe
  • Groom memory monthly and rewrite corrections in place; stale entries actively mislead future sessions
  • Automate by rubric: high repeatability, high determinism, low risk, low judgment goes first, and judgment tasks stay agent-assisted

Field exercises

  • Map Workspace Context and Access Boundaries
  • Take Inventory of Everything Your Sessions Load
  • Set Up Worktrees for Three Parallel Lanes
  • Run Two Agents in Parallel and Merge Their Work
  • Groom Your Memory Before It Rots
  • Ship Your First Headless Pipeline
  • Score Your Week for Automation Readiness
  • Write Your 90-Day Operator Roadmap
  • Set Up cc Alias and Inline Bash
  • Test AGENTS.md Guidance and Its Loading Route
  • Restrict File Tools and Check Their Limits

All fifteen modules of the Claude Code Dojo