[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-117427":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":33,"updatedAt":34,"readmeContent":35,"aiSummary":10,"trendingCount":16,"starSnapshotCount":16,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},117427,"andon","mitaku\u002Fandon","mitaku","A one-person software factory: AI coding agents take tasks from a ledger through review to merge, and call the human only for decisions only they can make.","",null,"Go",212,11,53,1,0,5,153,163,83.24,"Apache License 2.0",false,"main",[25,26,27,28,29,30,31,32],"ai-agents","claude-code","codex","coding-agents","developer-tools","human-in-the-loop","multi-agent","software-factory","2026-11-23 20:52:02","2026-11-23 16:51:40","\u003Cp>\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fassets\u002Flogo\u002Fandon-wordmark-dark.svg\">\u003Cimg src=\"docs\u002Fassets\u002Flogo\u002Fandon-wordmark.svg\" alt=\"andon\" height=\"64\">\u003C\u002Fpicture>\u003C\u002Fp>\n\n# Andon\n\n**Andon — a one-person software factory.** AI coding agents take issues from a ledger through implementation, review and merge, and the human is called only for the decisions that only they can make.\n\n一人で使うソフトウェア工場。エージェントが kanban の課題を実装・レビュー・マージまで流し、オーナーは自分にしかできない決断のときだけ呼ばれる。kanban は、プロジェクトごとの課題・問い・ルーチン・履歴を置くファイル群で、`kanban` コマンドで読み書きする。\n\n## English summary\n\n**What it is.** Andon — a one-person software factory — is the package, the contracts and the documents for running a software \"line\" with AI agents. One long-lived container (a *cell*) is set up per trust boundary (one client, one hobby, ...). Inside it, a coordinating agent (the *Chief of Staff*) reads a file-based issue ledger, starts one worker agent per issue in its own git worktree, asks a reviewer agent of a different model family to review the pull request, and lets a gate decide from rules what can merge without a person. The human is called (the andon light turns on) only for five kinds of decisions: what to build, how users should experience it, promises to the outside, irreversible risks, and changes to the line itself. Which of these a person must answer can be delegated per project, except what to build.\n\nThe design calls this a *selective dark factory*. A \"dark factory\" is a factory that runs with the lights off because no person is on the floor. Andon is selective: machines stop what machines can decide (tests, gates), language models handle what needs judgment, and a person sees only what is left. The name comes from the andon cord and light of the Toyota Production System. Andon is not a manufacturing-floor andon product.\n\n**Why a cell.** Andon is a one-person factory seen from two sides: the cell is the place (a boundary and a space, set up one per trust boundary), and Andon is the mechanism (the discipline kept inside that boundary). There is not one root for the whole of Andon but one per cell. The root directory of each cell is itself a git repository (the *cell repo*, `\u002Fworkspace` in the container). Everything the cell's agents need hangs from that root: projects with their ledger, project instructions and skills (`projects\u002F\u003Cslug>\u002F`), the cell's wiki (`wiki\u002F`), the cell's own instructions (`AGENTS.local.md`), and the client repositories it works on (`.ghq\u002F`). So instructions, skills and the wiki are versioned, can be moved to another machine, and the cell can be rebuilt from a clone; the ledger stays outside git as a log that lives with the cell. The container image draws the boundary and carries the tools (Claude Code, Codex, herdr and hc, Playwright with a pre-installed browser, and Andon itself under `\u002Fopt\u002Fandon`), so every cell has the same tools at the same versions, the host needs only Docker and bash, and an Andon upgrade is one pull request that bumps `FROM`. Client repositories are only cloned into the cell; workers change them through pull requests from per-issue worktrees, and the ledger and the cell settings never go into them. Details (Japanese): [The cell](#セルの考え方), [ADR-0005](docs\u002Fadr\u002F0005-cell-repo.md), [ADR-0016](docs\u002Fadr\u002F0016-cell-wiki-llm-wiki.md).\n\n**Who it is for.** One developer who already runs several coding agents in terminals and wants them to keep working while the developer is away, without giving up control of merges and irreversible operations. It is built for its author's own use first.\n\n**Status.** Experimental. It is used by one person, and the interfaces change without notice. Most documents are written in Japanese; English is added only where needed. There are no releases with compatibility promises yet; what changed in each tagged version, and what to do when upgrading, is in [CHANGELOG.md](CHANGELOG.md). The host must be Linux or WSL with Docker and bash. The cell image bundles agent CLIs (Claude Code, Codex) and the terminal workspace herdr; you bring your own accounts for them.\n\n**Getting started.** The step-by-step procedure (Japanese) is [docs\u002Foperate.md](docs\u002Foperate.md): pull the image, create a cell repo with `andon init \u003Cslug>`, run `bin\u002Fbootstrap`, then start the Chief of Staff and run one issue. The commands are also in [Set up a cell](#セルを立てる) below.\n\n**Map.**\n\n| Path | What is there |\n|---|---|\n| [docs\u002Fdesign.md](docs\u002Fdesign.md) | What Andon is, its vocabulary, the repo layout and tool choices (the main design document) |\n| [docs\u002Fvision.md](docs\u002Fvision.md) | Vision, mission and values on one page, with a figure of the line (stages, roles, mechanisms, and what Andon does not have yet) |\n| [docs\u002Fcontract.md](docs\u002Fcontract.md), [schema\u002F](schema\u002F) | Machine-readable contracts (ledger keys, findings, reports, questions, notifications, gate, delegation). `schema\u002F` is the source of truth |\n| [docs\u002Foperate.md](docs\u002Foperate.md) | How to set up a cell and run one issue |\n| [docs\u002Fcommands.md](docs\u002Fcommands.md) | Every `andon` command with who runs it, generated from the command table (`andon help --all --markdown`) |\n| [docs\u002Fdispatcher.md](docs\u002Fdispatcher.md), [docs\u002Fledger.md](docs\u002Fledger.md), [docs\u002Fimage.md](docs\u002Fimage.md) | The dispatcher (resident notifier), the ledger CLI, the container image |\n| [docs\u002Fadr\u002F](docs\u002Fadr\u002F), [docs\u002Fdecisions.md](docs\u002Fdecisions.md), [docs\u002Fdecisions\u002F](docs\u002Fdecisions\u002F) | Architecture decision records and the decision log (one file per decision from 2026-11-07) |\n| [process\u002F](process\u002F), [docs\u002Fprocess\u002F](docs\u002Fprocess\u002F) | Definitions of the Chief of Staff's workstreams and of the state machines (YAML), and the pages rendered from them ([ADR-0017](docs\u002Fadr\u002F0017-process-definitions.md)) |\n| `cmd\u002Fandon`, `cmd\u002Fkanban`, `internal\u002F` | The `andon` CLI and the ledger CLI (`kanban`), in Go |\n| `package\u002F` | What is shipped into the cell at `\u002Fopt\u002Fandon`: skills, agent profiles, gate rules, managed settings, hooks, compose file, host templates |\n| `image\u002F`, `init\u002F` | The base image, and the template that `andon init` copies into a new cell repo |\n| `tests\u002F` | Shell tests run on every pull request, including `tests\u002Fpublic.sh` (no secrets or personal values) |\n\n**Contributing and security.** This is a one-person project and does not take pull requests for now. To report a vulnerability, see [SECURITY.md](SECURITY.md).\n\n**License.** [Apache-2.0](LICENSE).\n\n## 日本語\n\n設計の言葉では「選択的 Dark Factory」と呼んでいる。Dark Factory は、床に人間がいないので灯りを消して回る工場のこと。Andon はそのうち、止められるものは機械（テスト・gate）、判断が要るものは LLM、決断が要るものだけオーナーが見る。名前は TPS のアンドン（監督者を呼ぶ灯り）から。製造業のアンドン製品ではない。設計は docs\u002F に PR で入る。public の repo（2026-11-09 から。秘密と、案件や個人に固有の値は入れない。`docs\u002Fdesign.md` §2.6）。\n\n文書と commit メッセージにある `Y-\u003C数>`（`Y-123` など）は、前身の仮設の工場の kanban の番号で、この repo の課題の id（`A-0001` の形）とは別物。履歴は書き換えない。\n\n今の状態: 実験的で、1人で使っている。約束（コマンド・形式）は断りなく変わる。文書は日本語が中心。1人用の repo なので、今は PR を受け付けていない。脆弱性の知らせ方は [SECURITY.md](SECURITY.md)。\n\n### 文書の地図\n\n- [docs\u002Fvision.md](docs\u002Fvision.md) — ビジョン・ミッション・バリューの1枚（それぞれ既存の決定に遡れる形）と、工程・役・仕組みの図（今あるもの・無いものを分けて描く）\n- [docs\u002Fdesign.md](docs\u002Fdesign.md) — Andon とは何か（語彙と役: Chief Engineer・Chief of Staff・dispatcher・gate。リーン開発と TPS の系譜・委譲・Warp との違い）・repo の構成と道具の選定・散らばっているツールの棚卸し・仮設からの引っ越しとセルフホストの線・決めきれない点\n- [docs\u002Fcontract.md](docs\u002Fcontract.md) — 機械向けの約束（kanban の項目・指摘・報告・問い・通知・gate・hc・フック・委譲・候補・流れの数え・オーナーの手直し・信号の記録・届けた通知の記録）。正は `schema\u002F`（JSON Schema。`tests\u002Fschema.sh` が例と突き合わせる）\n- [docs\u002Fdispatcher.md](docs\u002Fdispatcher.md) — dispatcher（常駐の係）の設計: 何を拾い、Chief of Staff にいつどう届け（フック2つと離席中の待ち役）、どこまで動かすか（判断はしない）\n- [docs\u002Fledger.md](docs\u002Fledger.md) — kanban の形式（形式 3）と kanban の CLI `kanban` の約束（英語）\n- [docs\u002Fimage.md](docs\u002Fimage.md) — セルの image の中身・ビルド・検査・CI と配布\n- [docs\u002Fprocess\u002F](docs\u002Fprocess\u002F) — Chief of Staff の定常の仕事（ワークストリーム）と、課題・担当・通知などの状態の移り方の定義。`process\u002F` の YAML から `andon process render` が作る（[ADR-0017](docs\u002Fadr\u002F0017-process-definitions.md)）\n- [docs\u002Fcommands.md](docs\u002Fcommands.md) — andon のコマンドの全部を、誰が打つかと1行の説明で並べた一覧。葉の表から `andon help --all --markdown` が作る（[ADR-0053](docs\u002Fadr\u002F0053-command-system.md)）\n- [docs\u002Foperate.md](docs\u002Foperate.md) — セルを立てて1本流す手順（ホストで打つ順。各段の「通ったら見えるもの」「落ちたら見る所」・設計書 §5.1 の確かめ方との対応表・フックと skill の実測の見る場所・いま通らない所の回り道と直しの課題）\n- [docs\u002Fadr\u002FREADME.md](docs\u002Fadr\u002FREADME.md) — Chief Engineer の題ごとの ADR の読み方と、番号・状態つきの一覧（設計書 §1.8）\n- [docs\u002Fdecisions.md](docs\u002Fdecisions.md) — 決定の記録（日付・出典）。設計書 §6 のオーナーの答えと、仮設の設計文書の決定。2026-11-07 からの決定は [docs\u002Fdecisions\u002F](docs\u002Fdecisions\u002F) に1件1ファイル\n- [CHANGELOG.md](CHANGELOG.md) — バージョンごとの変更と、上げるときにすること\n- [AGENTS.md](AGENTS.md) — この repo で働く担当の指針\n- [REVIEW.md](REVIEW.md) — この repo のレビュアーの観点\n- [SECURITY.md](SECURITY.md) — 脆弱性の知らせ方\n- [LICENSE](LICENSE) — Apache-2.0\n\n### ディレクトリ\n\n`docs\u002Fdesign.md` §2.2 の構成のとおり。`package\u002F` には skill（`skills\u002F`）・プロファイル（`templates\u002F`）・gate の条件表（`gate.json`）・managed settings の既定（`settings.json`）・環境メモと書き方（`environment.md`・`writing.md`）・statusline と schema の検査器（`lib\u002Fandon\u002F`）・Claude Code のフック（`hooks\u002F`。Stop・StopFailure・UserPromptSubmit）・セルの compose（`compose.yaml`）・ホスト用の雛形（`host\u002F`）が入っている。image がこれを `\u002Fopt\u002Fandon` に焼き（`package\u002Fbin\u002F` は `.gitkeep` だけで、`andon` と `kanban` は image のビルドで入る）、セルの中では `andon boot` が設定・プロファイル・skill のリンクを置く（[docs\u002Fimage.md](docs\u002Fimage.md)）。\n\n### セルの考え方\n\nAndon は一人のソフトウェア工場で、工場を2つの面で言い分ける。セルは場所の面で、境界と空間にあたる。Andon はしくみの面で、境界の中で守る規律（役・工程・gate・約束）にあたる。セルは信頼の境界（1つの顧客・1つの趣味など）ごとに1つ立てて長く動かし続けるコンテナで、セルの repo（`\u003Cslug>-cell`。コンテナの中の `\u002Fworkspace`）と、それを動かすイメージの2つでできている。\n\n考え方の中心は、**セルごとのルートディレクトリがそのまま git のリポジトリ（セルの repo）になっている**こと。プロジェクト（`projects\u002F\u003Cslug>\u002F`）・案件の repo（`.ghq\u002F`）・wiki（`wiki\u002F`）・セルの指針（`AGENTS.local.md`）は、みなこのディレクトリの下にある。根は Andon 全体に1つではなく、セルごとに1つある。ホームディレクトリに近いと考えてよい。設定とコンテキストが置いてあり、作業はいつもここから始まる。\n\n| 考え方 | 何がうれしいか |\n|---|---|\n| **セルの repo が、プロジェクトに要るものを持つ。** プロジェクトの指針（`projects\u002F\u003Cslug>\u002FAGENTS.md`）と skill（`projects\u002F\u003Cslug>\u002F.claude\u002Fskills\u002F`）・セルの指針（`AGENTS.local.md`）・wiki・kanban（`projects\u002F\u003Cslug>\u002Fkanban\u002F`） | エージェントは起動するたびに、同じ場所から同じコンテキストを読む。指針・skill・wiki は git の履歴に残るので、別のマシンへ持ち運べ、壊れても clone から立て直せる。kanban は同じディレクトリにあるが git の外に置く（経過の記録で、セルの寿命のもの）。 |\n| **イメージが境界になる。** セルは案件（信頼の境界）ごとに1つ立てる | 案件のあいだで、ファイル・資格情報・ログインが混ざらない。境界の中では、エージェントに「このフォルダを信頼するか」を毎回聞かずに任せられる。 |\n| **要る道具はイメージが持つ。** エージェントの CLI（Claude Code・Codex）・端末の herdr と hc・Playwright と焼いたブラウザ・Andon の command と skill（`\u002Fopt\u002Fandon`） | どのセルでも同じ道具が同じバージョンで揃い、ホストに要るのは docker と bash だけ。セルに固有の道具は、セルの repo の `local\u002F` で足す。セルの repo にパッケージのファイルは無いので、Andon を直したら `FROM` のバージョンを上げる PR 1本で全セルへ広がる。 |\n| **案件の repo は、セルの中へ追加するだけ。** `.ghq\u002F` に clone し、担当は課題ごとの worktree（`.worktrees\u002F`）で働く | 案件の repo に kanban・セルの設定・作業の途中のものを置かない。案件の repo に入るのは担当の PR だけで、ふだんの git の repo のまま使える。`.ghq\u002F` と `.worktrees\u002F` はセルの git の外。 |\n\n何を追跡し何を外すか・別のマシンへの動かし方は [ADR-0005](docs\u002Fadr\u002F0005-cell-repo.md)、`projects\u002F\u003Cslug>\u002F` の中は [ADR-0004](docs\u002Fadr\u002F0004-project-layout.md)、wiki の形は [ADR-0016](docs\u002Fadr\u002F0016-cell-wiki-llm-wiki.md)、語は [docs\u002Fdesign.md](docs\u002Fdesign.md) §0.1、パッケージがセルのどこに効くかは同じく §2.3、イメージの中身は [docs\u002Fimage.md](docs\u002Fimage.md)。\n\n### セルを立てる\n\nセルの repo は `andon init \u003Cslug>` で作る（`\u003Cslug>-cell`。雛形は `init\u002F`。作ったあとは Andon に追従しない）。ホストに要るのは docker と bash だけ。\n\n```bash\nandon init \u003Cslug> --image ghcr.io\u002F\u003Cowner>\u002Fandon:\u003Cバージョン> --owner \u003Cemail>\ncd \u003Cslug>-cell && bin\u002Fbootstrap            # イメージを焼き、compose.yaml をイメージから取り出して起動する（入らない。TUI で入るなら bin\u002Fbootstrap herdr）\nbin\u002Fbootstrap host-install                  # ホストの andon-up・ssh config・herdr の設定・App の mod と、指定したとき Stream Deck の plugin を置く（今あるものは上書きしない）\n```\n\n番号（`SSH_PORT`・`PORTLESS_PORT`・`FILES_PORT`）とタイムゾーン（`CELL_TZ`。既定 `Asia\u002FTokyo`）はセルの `.env` に書く。`bin\u002Fbootstrap --dry-run` は docker を打たずに、打つものを出す。\n\nセルの中では `andon create \u003Cslug>` でプロジェクトを立て（`projects\u002F\u003Cslug>\u002F` に kanban・`project.json` の下書き・`AGENTS.md`。足りないものは聞く。`project.json` はオーナーが見て commit する）、`andon open \u003Cslug>` でプロジェクトの Chief of Staff を開く（`projects\u002F\u003Cslug>\u002F` に cd して `andon chief-of-staff` を打つのと同じ）。slug を省くと、kanban のあるプロジェクトの一覧から fzf で選ぶ。\n\n### テスト\n\n```bash\ngo test .\u002F...\ntests\u002Frun --changed     # 変えたものに関係する tests\u002F*.sh だけ。引数なしで全部\n```\n\nPR ごとに GitHub Actions が回す（`.github\u002Fworkflows\u002Fgo.yml`・`tests.yml`。文書だけの PR は文書を読む検査だけを走らせ、image に関係しない PR は image の検査を飛ばす）。`tests\u002Fpublic.sh` は、秘密の形と repo の外に置いた固有の値の禁止リストを全ファイルに当てる（[tests\u002FREADME.md](tests\u002FREADME.md)）。\n",2,"2026-11-24 04:55:41","CREATED_QUERY"]