Working DraftRev 0.1
工場KŌJŌ · FACTORY1 The Factory

Factory Blueprint

One operation, three production lines. Repos, standards, surfaces, and the flows between them.

Nouns
Factory
The whole operation. Three lines.
Standard
Convention encoded as markdown.
Scan
Batch mode. Sweeps whole codebase.
Check
Incremental mode. Reviews every PR.
Flag
Awareness signal. Routes attention.
Surface
A place users see our work (website, extension, etc).
Flow
Data or artifacts passed between production lines.
Service
External infrastructure and services.
Verbs
Build
Ship code from repos to production.
Enforce
Scans fix existing code, checks guard new PRs.
Cascade
Push messaging updates to all surfaces.
Publish
Signal to blog, social, email.
Evolve
Standards update over time. /push auto-evolves checks.
Generate
AI drafts content, images, code.
Scan
Run a standard against the whole codebase.
Intervene
A human makes the call instead of automation.
Principles
自働化 Jidoka
Automation with a human touch.
改善 Kaizen
Continuous improvement.
見える化 Mieruka
Making the invisible visible.
標準 Hyōjun
Standardized work.
道具 Dōgu
Tools that serve the worker.
看板 Kanban
Visual signal cards. Pull, don't push.
行灯 Andon
Pull the cord. Route attention.
平準化 Heijunka
Level the load. Smooth the flow.
反省 Hansei
Honest reflection. Five whys.
横展 Yokoten
Best practices spread sideways.
ポカヨケ Poka-yoke
Mistake-proof the process.
2 Architecture

The Whole System

Three production lines. Standards enforce quality. Everything ships to 18+ surfaces.

positioningcn CLIContentsignal + positioningMission Controlremote-config-serverIDEcontinuedev/continue9 standards27 standards7 standards18+ SURFACESwebsites · extensions · marketplaces · social · docs · blogINFRASTRUCTUREAWS · Vercel · PostgreSQL · WorkOS · Stripe · Runloop
生産SEISAN · PRODUCTION3 Repos & Artifacts

Production Lines

Three lines. Shared infrastructure. Standards flow between them.

MISSION CONTROL
remote-config-server
Next.js + tRPC + TypeORM / 27 standards
Hub (legacy config server)
Produces
continue.dev (marketing)
Mission Control (app)
blog.continue.dev
amplified.dev
cn CLI connects here from IDE line
IDE
continuedev/continue
TypeScript monorepo / 7 standards
Produces
VS Code extension
JetBrains plugin
Open VSX
cn CLI
docs.continue.dev
cn → Mission Control API
CONTENT
strategic-positioning
Canonical. Feeds all lines. 3 standards
signal
Content generation pipeline. 6 standards
Produces
blog posts
email broadcasts
Twitter / LinkedIn / Bluesky
next-geo makes properties machine-readable
4 Surfaces

Distribution

18+ surfaces organized by which production line feeds them.

自働化JIDOKA · AUTOMATION5 Linting & Review

Quality Control

A standard is a markdown file describing a rule. Three enforcement modes:

Scans

New standard triggers a codebase sweep. Agents fix violations in batches.

Checks

Run on every PR. Review diff against standard. Pass or fail.

Flags

Route attention to sensitive changes: auth, migrations, billing. Visibility, not verdict.

STANDARDSCANBatch sweepCHECKEvery PRFLAGRoute attention
標準HYŌJUN · STANDARDS6 Standards by Repo

Standards

道具DŌGU · TOOLS7 Skills & CLIs

Agent Tooling

The tools that keep the line moving.

Skills (38)

Workflow
Observe
Author
Environment
/pushcheck-gated push
/sentry-daily-review
/writing-checks
/database
/checkrun checks on diff
/intercom-daily-review
/create-skill
/dev-server
/scanbatch audit
/agent-failure-review
/add-agent-check
/worktree-setup
/all-greenget PR merge-ready
/performance-debug
/add-model
/cn-local-dev
/linearissue to PR
/prod-debug
/intent-layer
/infisical
/fix-with-sentryerror to fix
/runloop-debugging
/polish-repo
/setup-dev
/regressionfind root cause
/devbox-e2e-test
/why
/create-feature-flag
/qatest a page
/pr-screenshots
/qa-suitefull QA in parallel
ジャストインタイムJASUTO IN TAIMU · JUST-IN-TIME8 Shipment

Inventory & Deployment

What the factory has built, and how it reaches users.

Standards43Skills31Surfaces19Services16CLIs9Production Lines3

Deployment Modes

Pipeline
Mission Control (backend: ECS, frontend: Vercel)
Preview → Staging → Production. Auto-deploy to staging on merge to main. Manual promotion to prod.
Independent
blog, docs, amplified.dev, app-home, app-allgreen
Vercel auto-deploy. Each surface has its own deploy cycle.
Manual
Marketplaces (VS Code, JetBrains, Open VSX), social, GitHub Releases (CLIs)
Human-initiated. Version bumps, store submissions, social posts.
平準化HEIJUNKA · LEVELING9 Merge Queue

The Merge Queue

Parallel agents prepare PRs in isolated worktrees. Sequential merge into main.

PR #1Worktree APR #2Worktree BPR #3Worktree CAGENTOrchestrate + mergeMAINSequential merge
大部屋ŌBEYA · THE BIG ROOM10 Observability

The Control Room

Data flows in from monitoring. Decisions flow out to action channels.

PostHogAnalytics + flagsSentryErrors + tracesGitHubPRs + checksFOREMANSlackAlertsLinearIssuesIntercomSupport
行灯ANDON · ALERT LAMP11 Flags

The Andon Cord

Sensitive change detected. Flag raised. Human reviews. Resolution.

CHANGESensitive diffCHECKDetects patternFLAGRoute attentionHUMANReviews contextRESOLUTIONApprove or act
現場GENBA · THE REAL PLACE12 Session Logs

The Factory Floor

Threader syncs every Claude Code session to the cloud. Share, search, and attach session context to PRs.

AGENT SESSIONClaude Code transcriptDAEMONAppend-only syncCLOUDthreader.shSHARESearch · PR context · Replay
反省HANSEI · REFLECTION13 Retrospectives

Reflection

Something breaks. Five whys to root cause. Issue. Retro. Ship the fix.

INCIDENTSomething broke5 WHYSRoot cause analysisGITHUB ISSUEDocument findingsRETROBatch into reviewIMPROVEMENTSShip the fix
改善KAIZEN · IMPROVEMENT14 R&D

Prototyping

Downstream Cascade

Update once. Propagates across all repos and surfaces.

Factory Observability

Intervention rates per standard, per line. Check pass/fail trends. Issue-to-ship latency. Positioning drift detection.

Signal Ingestion

Everything that generates insight feeds signal: support emails, Intercom, #feedback Slack, Notion discussions, Claude Code sessions, MC usage patterns, check CLI results.

Check CLI as Infrastructure

check CLI runs all .continue/checks locally in parallel via claude -p (haiku). Local experience mirrors CI in Mission Control.

Standards Evolution

/push updates checks based on what it learns from each session. Scans graduate to checks. Flags adjust based on human response.

Mini-Factory Templates

Packaged starter kits for spinning up fun, simple side-project websites. Same standards, same checks, same deployment. Just smaller.