Lights-on Software Factory Boilerplate for Claude Code
github.com/gojko/lights-on-software-factory- Category
- Developer Tools
- Rank
- No. 1326Tools index
Previous survey · No. 1317 ·
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Agent Building · Coding
- Interfaces
- Agent Skill / Plugin
- GitHub
- 122 stars
- Date
About
A boilerplate for running a lights-on software factory with Claude Code, derived from the setup built for Votito. It bundles a sandboxed container, a deterministic Bash command regulator, a lint hook that feeds custom rule errors back to agents, a basic planning workflow, and an orchestrator that generates multi-agent workflow scripts. Moving mechanical orchestration from LLM inference to command-line tools is claimed by the author to cut token spend by around 80% versus bare Claude workflow execution.
At a glance
Lights-on Software Factory is a Claude Code template with a container, command rules, lint feedback and a workflow generator. It is worth reading if you repeatedly give agents the same code-review corrections and want to turn them into checks.
Good fit
Teams that can encode project conventions in scripts and supervise a Claude Code workflow.
Consider something else when
Skip it if you need a hosted service or expect the sample rules to cover your own project out of the box.
Start here
Use the disposable example project to turn one recurring review comment into a lint rule. Make an intentional violation and check whether the edit hook explains how to fix it.
Cost and requirements
The template uses a local container toolchain and Claude Code access. The workspace is shared into the container, and the model still runs through Claude Code.
Limits to know
The sample workflow is intentionally simple. The author reports lower token use in one setup. Measure your own workloads before budgeting around that result.
Sources checked 2026-11-05. Source-based assessment.
Read the source review
What it does
A starter repository that puts Claude Code inside a Docker container and surrounds it with fixed, scripted checks. A hook reads every shell command before it runs and allows, denies or escalates it by rule. Another hook lints each JavaScript file the agent edits and sends the errors back. Three slash commands turn a written idea into a numbered plan, and a generator converts that plan into a script for Claude Code's Workflow tool, where parallel workers, gates and a final checker carry it out. A progress log records each run so a stopped one resumes where it left off.
Why it's ranked here
The case rests on mechanism, not on the headline number. Command approval is decided by an ordered rule list that splits chained commands, unwraps wrappers like timeout and env, opens nested shell calls, and refuses to run at all under the bypass permission mode. Each agent role gets a hard command boundary. The orchestration that would otherwise cost model tokens is plain code with a validator. It is MIT licensed and documented file by file. The roughly 80% token saving is the author's figure from his own product; nothing in the repository reproduces it, though it ships a tool to measure your runs.
What's good
The regulator's denials carry instructions, so a blocked agent is told the allowed form, for example run the test runner bare instead of through npx. Workflow agents never get a prompt: anything no rule allows is denied outright. Progress is append-only and safe to repeat, so a missed poll loses nothing, and an agent silent for ten minutes is flagged as stuck. Gates fix small failures themselves and send a step back for at most three rework rounds before halting. The host needs only Docker and make, and the Claude login survives container restarts.
Tradeoffs
It depends on Claude Code's Workflow tool being enabled, plus the loop and cron tools, so it only works where those exist. The lint hook and example agents assume JavaScript and Node tooling; other stacks need rewriting. The regulator only sees the command the agent sends, and make is allowed, so a make recipe can run anything the rules would block. The bundled settings include the author's personal preferences, such as a controlled-English output language, and live in a file Claude Code normally keeps out of git. The planning flow is described by its author as a trivial example to replace.
How to use it well
Best for a team already on Claude Code that wants to run epic-sized changes with agents in parallel and needs hard limits on what those agents can execute. Clone it, replace the sample greeting module, adapt the two gate goals to your build and tests, and strip the personal settings before sharing. Add a regulator rule each time you approve a command by hand. Measure token spend on your own runs before trusting the savings claim. It is not a hosted platform, does not cover deployment, and offers nothing for non-Claude agents.
Technical notes+
regulate.js is the PreToolUse Bash hook: it returns exit 2 when permission_mode is bypassPermissions, passes non-Bash events through, and maps evaluateCommand's verdict to permissionDecision, emitting nothing on no-match so Claude Code's own prompt applies (REGULATOR.md: deny beats ask beats allow across segments; workflow-agent-catch-all denies the rest for workflow-* roles). settings.local.json wires it alongside a PostToolUse lint hook on Edit|MultiEdit|Write and sets enableWorkflows plus CLAUDE_TRANSIENT_DIR. generate-workflow.js validates the plan and its JSON sidecar, reads the append-only progress JSONL to skip completed steps, and writes the generated workflow module and a groups file beside the plan. workflow-gate.md runs exactly one make goal, reads the Test Suites line rather than exit status, and allows three repair attempts.
Observed
- License
- MIT
- Language
- JavaScript (Node.js ES modules)
- Runtime
- Docker container (Alpine, Node.js, make, git); host needs only Docker and make
- Interfaces
- Claude Code hooks (PreToolUse Bash regulator, PostToolUse lint), slash commands, Node command-line tools
- Requires
- Claude Code with the Workflow tool enabled
- Agent roles
- workflow-worker, workflow-gate, workflow-check
- Token savings claim
- Author's figure from the Votito setup; not reproduced in the repository
Read from README.md, GETTING-STARTED.md, WORKFLOW.md, ORCHESTRATOR.md, REGULATOR.md, CONTAINER.md, SETTINGS.md, workspace/.claude/settings.local.json, workspace/.claude/agents/workflow-gate.md, workspace/.claude/workflow/bin/regulate.js, workspace/.claude/workflow/bin/generate-workflow.js, workspace/.claude/commands/execute.md, LICENSE.
Similar tools
Tags
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.