ShtukbaseStandard
package page→ /base/software-factory.md

pages/base/software-factory.md

44 lines, 2.2 KB. As a page.

  1. ---
  2. type: Page
  3. title: "Software factory"
  4. description: "How the software factory of this repository works: roles, schedule, commands and where to see the result."
  5. language: "{{fact:stack.language}}"
  6. test: "bun test"
  7. branch: "{{fact:factory.branch}}"
  8. strictness: "{{fact:factory.strictness}}"
  9. ---
  10. # Software factory
  11. 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.
  12. ## Roles
  13. | Role | Who | What it does | When |
  14. |---|---|---|---|
  15. | Person | the owner | sets tasks, approves, merges, pushes | always |
  16. | [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) |
  17. | [Reviewer](/agents/sf-reviewer.md) | agent | reads new commits against the code norms, writes a report | on weekdays at 8:00 |
  18. | [Tester](/agents/sf-tester.md) | agent | analyzes a failed run, files a bug | by hand: [action](/actions/sf-triage-failure.md) |
  19. | Nightly run | program | tests and all checks; a failure raises an alarm | every night at 3:00 |
  20. ## Where to look
  21. - [Tasks](/work/tasks.md), [bugs](/work/bugs.md), [decisions](/knowledge/decisions.md).
  22. - The [run log](/runs.md): every run of an agent and a program with its log.
  23. - [Alarms](/alarms.md): an open `nightly` alarm means it was red overnight.
  24. - [Reviews](/work/reviews.md): the reviewer's reports.
  25. ## Commands
  26. ```
  27. shtuk check # all project norms
  28. shtuk run blueprint-software-factory nightly # the nightly run now
  29. shtuk run blueprint-software-factory review # review of new commits now
  30. shtuk run schedule tick --dry-run # who is due on the schedule
  31. shtuk run schedule cron # a crontab line; the owner turns it on
  32. ```
  33. ## Boundary
  34. 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.