wilsonchengassistant/dsh-one-person-company ↗★ 0

dsh-one-person-company

Run a software company alone with a team of AI agents: an embedded `one-person-company` skill plus a sidebar task board. Bootstraps a repo-native operating system — ten role charters, spec-as-contract workflow, and an `opc` CLI that assembles the exact prompt for each agent.

Package
dsh-one-person-company
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Nov 7, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-one-person-company

The Company board dialog listing 15 tasks with status pills, owners and dependencies

dsh-one-person-company

Run a software company alone, with a team of AI agents.

Ten role charters · a spec-as-contract workflow · a task board that refuses to lie.


The idea in one line

node tooling/src/cli.mjs pack T-0005

That command prints the prompt you give an agent: the company charter, the approved spec, the task, the role charter, the declared write scope, the definition of done, and the operating rules — about 300 lines instead of the whole repository.

Everything else here exists to make that one prompt trustworthy. The plugin ships the machine (the CLI, the playbook, the roles, the rules) plus a sidebar panel that shows the board without leaving the GUI.

Install

dsh plugin --profile web add dsh-one-person-company

Restart the host and refresh the page. Two things appear:

  1. A one-person-company skill in every workspace's catalog — ask an agent "use the one-person-company skill to start a project here".
  2. A "Company board" button in the sidebar footer.

Quick start

opc bootstrap ~/Projects/my-company        # or: bash bootstrap.sh ~/Projects/my-company
cd ~/Projects/my-company

$EDITOR company/charter.md                 # the one thing a human must write
node tooling/src/cli.mjs new spec "Your first feature"
node tooling/src/cli.mjs new task "First slice" \
  --spec company/specs/.md --owner agent:engineer --writes "apps/**"
node tooling/src/cli.mjs doctor            # ~30 consistency checks
node tooling/src/cli.mjs board --ready

Then open Company board in the sidebar and watch it fill up.

What you get

AGENTS.md                  operating manual any agent reads first
company/
  charter.md               what we do, for whom, what we will never do
  AGENTS.md                the eight operating rules
  specs/                   the contract: numbered AC-1..AC-n criteria
  tasks/                   the work ledger: status, owner, write scope, deps
  decisions/               ADRs — why each costly decision was made
  research/                4 source-linked research briefs
  metrics.md  budget.md  roadmap.md
  playbooks/               on-call, release, support answers
.agent/
  roles/                   the ten role charters
  checklists/              definition of done · review · pre-ship
tooling/                   the opc CLI — plain ESM, zero dependencies
playbook/                  12 documents on how the machine works

Screenshots

The board

The Company board dialog

Summary counts, and every task with its status, priority, owner and dependencies. Ready · can start marks tasks whose dependencies are done and whose spec is approved; waits 3 marks the ones that are not.

Not a company workspace yet

The empty state, offering the bootstrap hint and a copy button

A workspace with no company/ folder is not an error — the panel offers the path and a copy button so bootstrapping it is one paste away.

The button

The Company board button in the sidebar footer

One button, always in the same place.

The CLI

opc doctor, opc board and opc pack output

doctor is the health check, board is the derived view, pack is the prompt.

The ten roles

RoleOwnsNever
researcherthe research brief — every claim with a source and a datestate a fact without a source; edit specs or code
pmthe spec, the board, the roadmaplet a task become "ready" without an approved spec
architectthe ADR and the interfaces between partswrite implementation code
designerthe design system, the flows, the copyinvent a colour or spacing value outside the tokens
engineerthe code, inside its declared write scopeclaim something works without running the command
qathe failing test that proves a defectdelete or weaken a failing test
devopsthe pipeline, the deploy, the runbook, the alertdeploy without a tested rollback
supportthe answer, the knowledge-base article, bugs filed as taskspromise a date, a price, or a refund
growththe asset, the channel, the metricsend anything to a real person without approval
reviewerone verdict: approve / request changes / escalatefix the work itself

Each charter declares four things — reads, writes, never, done. That is what makes a role checkable rather than decorative. The reviewer is the important one: read-only, told to assume the work is wrong.

The five commands

CommandWhenWhat it does
doctorfirst thing every sessionthe checks below
boardto see stateevery task with status, owner, priority, spec, deps
board --readyto choose workonly tasks whose deps are done and whose spec is approved
pack to start workthe prompt
budgetweeklythe spend ceilings from company/budget.md

Also: new spec · new task · new adr · new research · new incident · new release · roles · init. npm link installs the opc shorthand.

What doctor actually checks

Every rule that can be checked by a machine is checked here, because a rule that lives only in a prompt is context, not a control.

CheckWhy it matters
A task is active but its spec is missing or still draftthe contract is not signed
An AC-n in a spec is owned by no taskthe spec is quietly half-built
A task's owner role has no charterthat agent has no instructions
A task's status is not one of the seventhe task is invisible to the board
A dependency cycle existsthe board deadlocks
A Verification block is empty or only comments"done" has no evidence
Two runnable tasks write the same pathtwo agents, one file, lost work
An in_progress task has no write scopenobody knows what it may touch
A role owns no taska role nobody is running
The roadmap has no direction sentencethe team has no steering input
A required file is missingthe machine is incomplete

How the panel works

  • Host half (lib/index.js) registers a Typert Remote service opcBoard whose list() reads company/tasks/*.md out of every registered workspace and returns the parsed board. The Gateway auto-claims the endpoints, so there is no route, no permission, and no extra attack surface.
  • It imports the template's own parser — template/tooling/src/board.mjs — so the panel and opc board can never disagree about what is ready.
  • Browser half (lib/client.js) contributes one button to the sidebar.footer.action list slot and renders the board in a dialog. A refused seat degrades to a warning instead of failing the client entry, because a throw there takes the whole GUI down with it.
  • Paths are shown with ~ collapsed, so the dialog can be screenshotted or screen-shared without carrying a user name around.

Why files, not a database

  • Portable. Every artefact is markdown in the repo. The company survives a harness change, a model change, and a price change — all of which will happen.
  • Bounded context. pack emits ~300 lines, not the whole repository. Context that grows with the project is the failure mode the research calls context rot.
  • Derived board. Status lives in the task files; the board is computed. There is no tracker to fall out of sync.
  • Reviewable. A diff of the company's state is a diff of markdown.

Compatibility

DSH 0.2.x, web profile for the panel. The CLI works with no DSH at all — plain ESM, Node ≥ 18, zero runtime dependencies. The plugin declares none either.

Bootstrap flags

bash bootstrap.sh /path/to/workspace            # create
bash bootstrap.sh /path/to/workspace --check    # dry run
bash bootstrap.sh /path/to/workspace --force    # overwrite an existing tooling/

The script never overwrites an existing company/specs/, company/tasks/ or company/charter.md. The machine is reusable; product state is not.

FAQ

Is this a project management tool? No. It is files plus a checker. There is no server, no account, no sync.

Does it call an LLM anywhere? No. Zero API calls. It assembles context and checks invariants. The model is the one you already have in the harness.

Do I need DSH to use it? Only for the sidebar panel. The CLI and the workflow are plain files and Node.

Will bootstrapping clobber my existing project? No. It copies tooling/, playbook/, examples/, package.json and .gitignore, merges six reusable company files, and generates the rest only where absent.

How is this different from a TODO list? A task cannot be ready without an approved spec, and cannot be done without a runnable verification command. A TODO list has neither gate.

My agent ignores the board. Put doctor in CI. The CLI exits non-zero on an error, so the rule becomes enforced rather than requested.

Do I have to use all ten roles? No. Start with engineer + reviewer and add the rest when a role's artefact actually goes missing. The charters cost nothing until used.

Known friction

  • new task produces an intentionally incomplete task: doctor reports the missing verification command and the unowned acceptance criteria until you fill them in. That is the check working, not a failure.
  • A fresh workspace has two warnings — no tasks yet, and no direction sentence in company/roadmap.md. Both clear once real work starts.
  • The demo product in examples/ describes a product that lives in another repository, so its pnpm verification commands are illustrative. Only node tooling/src/cli.mjs … commands run inside the company workspace itself.

Roadmap

  • doctor --json for CI
  • A task detail view in the panel (read a task body without a terminal)
  • sync-template.sh to keep an installed workspace's machine current
  • Optional reviewer seat on a separate model, so the adversary is never the same model that wrote the work

Crediting the research

playbook/ is not opinion. It is written against four briefs with sources and dates: the productivity research (including the study the authors later retracted), what verification actually costs, the unit economics of a solo company, and the honest failure list. They ship in every bootstrapped workspace under company/research/.

License

MIT.