package page→ /base/software-factory.md
pages/base/software-factory.md
44 lines, 2.2 KB. As a page.
- ---
- type: Page
- title: "Software factory"
- description: "How the software factory of this repository works: roles, schedule, commands and where to see the result."
- language: "{{fact:stack.language}}"
- test: "bun test"
- branch: "{{fact:factory.branch}}"
- strictness: "{{fact:factory.strictness}}"
- ---
- # Software factory
- The project is built by the blueprint `blueprint-software-factory`. The page header has the language, the test command (`test`), the main branch (`branch`) and the strictness of the code norms. The command and the branch are edited here: the nightly run and the review read them from here.
- ## Roles
- | Role | Who | What it does | When |
- |---|---|---|---|
- | Person | the owner | sets tasks, approves, merges, pushes | always |
- | [Executor](/agents/sf-executor.md) | agent | changes the code and a test for a task, sets `waiting` | by hand: [action](/actions/sf-execute-task.md) |
- | [Reviewer](/agents/sf-reviewer.md) | agent | reads new commits against the code norms, writes a report | on weekdays at 8:00 |
- | [Tester](/agents/sf-tester.md) | agent | analyzes a failed run, files a bug | by hand: [action](/actions/sf-triage-failure.md) |
- | Nightly run | program | tests and all checks; a failure raises an alarm | every night at 3:00 |
- ## Where to look
- - [Tasks](/work/tasks.md), [bugs](/work/bugs.md), [decisions](/knowledge/decisions.md).
- - The [run log](/runs.md): every run of an agent and a program with its log.
- - [Alarms](/alarms.md): an open `nightly` alarm means it was red overnight.
- - [Reviews](/work/reviews.md): the reviewer's reports.
- ## Commands
- ```
- shtuk check # all project norms
- shtuk run blueprint-software-factory nightly # the nightly run now
- shtuk run blueprint-software-factory review # review of new commits now
- shtuk run schedule tick --dry-run # who is due on the schedule
- shtuk run schedule cron # a crontab line; the owner turns it on
- ```
- ## Boundary
- Agents do not push, publish or write to people. The Claude Code agent on the harness works without a command line (`--restricted`): the nightly run runs the tests. It is worth keeping the folder `.shtukbase/state/` and the logs `runs/logs/` out of git.