Skip to content

The factory and its two modes ​

The factory is in beta (our label) until 24 hours of autonomy are proven.

construct-factory starts the factory in the background over the repository's own bus (~/.construct/<repo-id>/): the workers switched on in bus/workers.json and the supervisor that keeps them running (CLI reference). A second run starts nothing twice.

ModeWorkersWho merges
WINDOW (default)review, launch, answer, witness on; merge offa human
GHOST PROTOCOLevery worker onthe merge worker, under a window shard for the term
bash
construct-factory --mode window
construct-factory --mode ghost-protocol [--hours <n>]
  • GHOST PROTOCOL needs an unused owner word ghost-protocol <n>h written with construct say. Without it nothing is switched and the command prints the ready line (CLI reference).
  • At the end of the term the supervisor returns the factory to WINDOW by itself; --mode window returns sooner and revokes the shard.
  • --live <worker> needs the owner word allow-live <worker>; --shadow <worker> needs none.
  • The modes are described in architecture/window.md.

Before a start, construct doctor --factory says goes or does not go for every item the factory needs, and prints under each red one the command that turns it green (CLI reference).

The owner's interactive loop is Miko's window.

Names are a tribute to Cyberpunk 2077. Not affiliated with CD Projekt Red.