2026-11-27 16:21 UTC

Claude Code starter kit shifts orchestration into scripts; project claims ~80% lower token spend

state: expiredheat: lowuncertainty: mediumrelevance: mediumtoken-optimization coding-agent-harness orchestrator-patternGojko Adzic

What is this?

Gojko Adzic’s open-source Lights-on Software Factory is a Claude Code starter setup based on the system used at Votito. It combines containerized execution, a deterministic Bash-command regulator, lint hooks, a basic planning workflow and a script generator that moves some multi-agent orchestration from model inference into command-line tools. The project says this approach reduced token spend by around 80% versus a bare-bones Claude workflow; the supplied sources do not provide the measurement method or independent verification.

Why it matters

A practical, open-source Claude Code harness that shifts parts of agent orchestration from model inference to deterministic scripts, while adding command controls and lint-based feedback. It may be useful to developers building repeatable coding workflows, but the headline claim of roughly 80% lower token spend is the project’s own comparison and is not independently documented in the supplied evidence.

Current assessment

Gojko Adzic’s Lights-on Software Factory is a Claude Code starter setup based on a system developed for Votito. The repository describes containerized execution, a deterministic Bash-command regulator, lint hooks, a basic planning workflow, and a generator for multi-agent workflow scripts. Its stated rationale is to reduce repeated model-driven orchestration by moving mechanical steps into command-line tools. The project reports around 80% lower token spend than β€œbare-bones Claude workflow execution”; the sources do not specify the workload, baseline, measurement method, or whether the comparison includes equivalent results, so treat the figure as an attributed claim rather than a general expected saving. The repository is presented as both boilerplate and an educational example, and is MIT-licensed. This is a useful example of the coding-agent ecosystem’s focus on harnesses, deterministic controls, and cost managementβ€”not evidence that the approach or savings generalize to other projects. Security and credential isolation also merit review before adoption; the supplied material describes a workspace-sharing container but does not establish the limits of credential or network access.

Measured heat

no measured readings yet β€” the hourly heat pass fills this in

How the heat travelled

10-18 13:00⭐ origin echo-reconstructedA starting point for running a lights-on software factory with Claude Code. Based on the setup developed for Votito, where the orchestrator
Gojko Adzic on github (echo) Β· attributed from hn.story.50160198
β€”
10-20 01:22first on hacker news Β· published Β· +36.4hShow HN: Lights-on software factory boilerplate for Claude Code
gojkoa
β€”
10-20 01:22amplified on hacker news πŸ‘‘hn.story.50160198
gojkoa
peak 21 Β· 8 comments Β· 100% of case engagement
10-20 03:30our radar first saw it Β· +38.5hdiscovery anchor: hn.story.50160198β€”

Evidence (2) β€” ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Lights-on software factory boilerplate for Claude Code
Retrieved article excerpt

Open article Β· Retrieved 2026-10-20T03:33:50.873869+00:00

# Lights-on software factory boilerplate for Claude Code

A starting point for running a lights-on software factory with Claude Code. Based on the setup developed for
[Votito](https://www.votito.com), where the orchestrator reduced token spend compared to bare-bones Claude workflow execution by around 80%.

See [gojko.net/slides/202609-gotocph.pdf](https://gojko.net/slides/202609-gotocph.pdf) for a quick overview.

## What is in this repostory?

The purpose of this repository is to act both as a simple boilerplate setup for
new projects, and as an educational demonstration of the core concepts of
software factories:

This repository provides setup for:

1. A sandbox/container for running Claude Code in a secure environment, sharing only the workspace directory with the host. See [CONTAINER.md](https://github.com/gojko/lights-on-software-factory/blob/master/CONTAINER.md) for more information.
2. A deterministic bash command regulator, to reduce approval fatigue and ensure agents execute the commands allowed by project-specific rules. The regulator performs a deep-inspection of bash commands and provides automated approve/deny with instructions on what to do instead if blocked. See [REGULATOR.md](https://github.com/gojko/lights-on-software-factory/blob/master/REGULATOR.md) for more information. Ask Claude to add more custom rules each time it asks you for approval.
3. A deterministic linter-based feedback system for enforcing custom domain-specific rules, to help reduce human involvement in code review. A `PostToolUse` hook runs the linter on every JavaScript file Claude edits, and guides the agents to avoid common mistakes with helpful error messages. Ask Claude to write more custom rules each time you find yourself providing repetitive design/code feedback. Ask Claude to implement custom eslint language parsers for HTML/CSS/other file types. See [LINTER-HOOK.md](https://github.com/gojko/lights-on-software-factory/blob/master/LINTER-HOOK.md) for more information.
4. A basic planning/implementation workflow. This is a trivial example intentionally kept simple to demonstrate the format and serve as a foundation for the orchestrator. You should probably replace it with your own commands or more complex rules. See [WORKFLOW.md](https://github.com/gojko/lights-on-software-factory/blob/master/WORKFLOW.md) for more information.
5. A deterministic multi-agent Claude workflow script generator. Based on the plan produced by the implementation workflow, it creates Claude workflow scripts, structures testing and gates and avoids wasting inference tokens on the mechanical part of workflow orchestration. It speeds up workflow creation and moves many common workflow orchestration tasks from inference (LLM) to deterministic tools (command-line) speeding them up and significantly reducing token spend. See [ORCHESTRATOR.md](https://github.com/gojko/lights-on-software-factory/blob/master/ORCHESTRATOR.md) for more information.

The `workspace` directory contains Claude code setup and a trivial example project.

To set up the container and run a first change, start with [GETTING-STARTED.md](https://github.com/gojko/lights-on-software-factory/blob/master/GETTING-STARTED.md).

## Layout

```
.
β”œβ”€β”€ README.md                    this file
β”œβ”€β”€ GETTING-STARTED.md           first setup and a first change
β”œβ”€β”€ SETTINGS.md                  what settings.local.json wires up
β”œβ”€β”€ LINTER-HOOK.md               the lint hook and custom lint rules
β”œβ”€β”€ REGULATOR.md                 the Bash-command regulator
β”œβ”€β”€ ORCHESTRATOR.md              how the orchestrator works inside
β”œβ”€β”€ WORKFLOW.md                  the user flow, from an idea to a finished run
β”œβ”€β”€ CONTAINER.md                 the container image and the root goals
β”œβ”€β”€ LICENSE
β”œβ”€β”€ makefile                     container goals: docker-image, init, claude, shell, test, lint, root
β”œβ”€β”€ vm/Dockerfile                the container image (Alpine, Node.js, make, git, ...)
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .claude-home/                git-ignored; Claude Code login and history of the container
└── workspace/                   the project; `make claude` starts Claude Code here
    β”œβ”€β”€ CLAUDE.md                includes CONTRIBUTING.md for Claude Code
    β”œβ”€β”€ CONTRIBUTING.md          workspace layout, commands and rules
    β”œβ”€β”€ .claude/
    β”‚   β”œβ”€β”€ settings.local.json  hooks, env, permissions, preferences
    β”‚   β”œβ”€β”€ agents/              workflow-worker, workflow-gate, workflow-check
    β”‚   β”œβ”€β”€ commands/            impact-analysis, plan-execution, execute, regulator
    β”‚   └── workflow/
    β”‚       β”œβ”€β”€ README.md        plan notation and generator reference
    β”‚       β”œβ”€β”€ package.json     {"type": "module"} for the tooling
    β”‚       β”œβ”€β”€ bin/             hook entries and command-line tools
    β”‚       β”œβ”€β”€ src/
    β”‚       β”‚   β”œβ”€β”€ regulator/   regulator engine, rules.js, rules/
    β”‚       β”‚   β”œβ”€β”€ generator/   plan validator and workflow generator
    β”‚       β”‚   β”œβ”€β”€ lint/        eslint plugin, two rules, lint hook logic
    β”‚       β”‚   └── transient-dir.js
    β”‚       └── tests/           tests for all of the tooling
    β”œβ”€β”€ plans/                   plans, sidecars and progress records
    β”œβ”€β”€ src/format-greeting.js   sample module (replace it)
    β”œβ”€β”€ tests/format-greeting.test.js
    β”œβ”€β”€ eslint.config.js
    β”œβ”€β”€ makefile                 init, test, lint and the two workflow gate goals
    β”œβ”€β”€ package.json
    β”œβ”€β”€ package-lock.json
    └── .gitignore
```

## Further reading

- [GETTING-STARTED.md](https://github.com/gojko/lights-on-software-factory/blob/master/GETTING-STARTED.md) β€” start here: set up the container,
  start Claude Code and run a first change.
- [SETTINGS.md](https://github.com/gojko/lights-on-software-factory/blob/master/SETTINGS.md) β€” the hooks, environment, permissions and
  preferences in `workspace/.claude/settings.local.json`.
- [LINTER-HOOK.md](https://github.com/gojko/lights-on-software-factory/blob/master/LINTER-HOOK.md) β€” the lint-on-edit hook, the two example
  rules and how to write a rule.
- [REGULATOR.md](https://github.com/gojko/lights-on-software-factory/blob/master/REGULATOR.md) β€” how the regulator decides, the roles, the
  notable rules, diagnosing a decision, configuring it and adding a rule.
- [WORKFLOW.md](https://github.com/gojko/lights-on-software-factory/blob/master/WORKFLOW.md) β€” the user flow: `/impact-analysis`,
  `/plan-execution`, `/execute`, watching and resuming a run, `/regulator`, and
  a worked example.
- [ORCHESTRATOR.md](https://github.com/gojko/lights-on-software-factory/blob/master/ORCHESTRATOR.md) β€” how the orchestrator works inside: the
  pieces, the bins, the agents, the gate goals, progress and resume.
- [CONTAINER.md](https://github.com/gojko/lights-on-software-factory/blob/master/CONTAINER.md) β€” the container image, the root goals, mounts,
  overrides, keeping `node_modules` in the container, troubleshooting.
- [workspace/.claude/workflow/README.md](https://github.com/gojko/lights-on-software-factory/blob/master/workspace/.claude/workflow/README.md) β€”
  the plan notation, the run shape, the answer schemas and the fault list.

## Licence

MIT. See [LICENSE](https://github.com/gojko/lights-on-software-factory/blob/master/LICENSE).
gojkoa218
🟧 echo.github ⭐A starting point for running a lights-on software factory with Claude Code. Based on the setup developed for Votito, where the orchestrator Gojko Adzicβ€”β€”

Interpretation history

Decision trace