diff --git a/decks.json b/decks.json index a1379a7..d85221d 100644 --- a/decks.json +++ b/decks.json @@ -8,5 +8,5 @@ {"slug": "how-it-works", "title": "How stardelt works", "summary": "The architecture in one picture: one front door, open engines, plugs instead of a monolith.", "date": "2026-11"}, {"slug": "lineage", "title": "Where does this table come from?", "summary": "Table lineage in Nova: who makes a table, what it is made from, and who uses it.", "date": "2026-11"}, {"slug": "contribute", "title": "Build it with us", "summary": "How to contribute to stardelt: where to start, how a change gets in, and how to write an issue anyone can build.", "date": "2026-11"}, - {"slug": "agentic-dev", "title": "How agents build stardelt", "summary": "Martin's experiences: a visionist, an architect and implementers on a timer, a weekly deep review, and what broke on the way.", "date": "2026-11"} + {"slug": "agentic-dev", "title": "The dark factory", "summary": "How agents build stardelt around the clock: one map of the whole factory, how it learns from every hand-back, and how one person stays in charge.", "date": "2026-11"} ] diff --git a/site/agentic-dev/img/factory-map-build.svg b/site/agentic-dev/img/factory-map-build.svg new file mode 100644 index 0000000..d9bc424 --- /dev/null +++ b/site/agentic-dev/img/factory-map-build.svg @@ -0,0 +1,92 @@ + +The dark factory: build + + + + + + + + +YOU +decide · answer one plain question · merge every rule change + +morning digest, 06:30 +needs you · shipped · factory · red flags + +ideas, answers + +you merge each rule + + + +01 SHAPE +Visionistwith me, and every 2 hours +Architecthourly: refine, verify + +Preflightsix checks on every ticket + +Ready means a small modelbuilds it without askinga single question. + + + +02 BUILD +Ready queuetarget: 12 tickets +Runnerfills a free slot in 20 s + +Implementer × 2one ticket, one worktree + +Pull requestCI must be green + + + + + +03 SHIP +Risk checksecurity, CRDs, sign-in, CI +Revieweranother model, risky only + +Mergesquash, on green + +Pin and roll outto the lab cluster + +Verify livemerged is not live + + + + + +04 LEARN +Hand-backwith its class, D1 to D6 +Scoreboardbounce rate, red minutes + +Proposed rulea cause seen twice + +lessons.mdat most 40 rules + + + + + + + + +the rules check the next ticket +No agent calls another. They meet on GitHub: tickets, labels and pull requests. + + diff --git a/site/agentic-dev/img/factory-map-learn.svg b/site/agentic-dev/img/factory-map-learn.svg new file mode 100644 index 0000000..58eb0bb --- /dev/null +++ b/site/agentic-dev/img/factory-map-learn.svg @@ -0,0 +1,92 @@ + +The dark factory: learn + + + + + + + + +YOU +decide · answer one plain question · merge every rule change + +morning digest, 06:30 +needs you · shipped · factory · red flags + +ideas, answers + +you merge each rule + + + +01 SHAPE +Visionistwith me, and every 2 hours +Architecthourly: refine, verify + +Preflightsix checks on every ticket + +Ready means a small modelbuilds it without askinga single question. + + + +02 BUILD +Ready queuetarget: 12 tickets +Runnerfills a free slot in 20 s + +Implementer × 2one ticket, one worktree + +Pull requestCI must be green + + + + + +03 SHIP +Risk checksecurity, CRDs, sign-in, CI +Revieweranother model, risky only + +Mergesquash, on green + +Pin and roll outto the lab cluster + +Verify livemerged is not live + + + + + +04 LEARN +Hand-backwith its class, D1 to D6 +Scoreboardbounce rate, red minutes + +Proposed rulea cause seen twice + +lessons.mdat most 40 rules + + + + + + + + +the rules check the next ticket +No agent calls another. They meet on GitHub: tickets, labels and pull requests. + + diff --git a/site/agentic-dev/img/factory-map-shape.svg b/site/agentic-dev/img/factory-map-shape.svg new file mode 100644 index 0000000..164d27b --- /dev/null +++ b/site/agentic-dev/img/factory-map-shape.svg @@ -0,0 +1,92 @@ + +The dark factory: shape + + + + + + + + +YOU +decide · answer one plain question · merge every rule change + +morning digest, 06:30 +needs you · shipped · factory · red flags + +ideas, answers + +you merge each rule + + + +01 SHAPE +Visionistwith me, and every 2 hours +Architecthourly: refine, verify + +Preflightsix checks on every ticket + +Ready means a small modelbuilds it without askinga single question. + + + +02 BUILD +Ready queuetarget: 12 tickets +Runnerfills a free slot in 20 s + +Implementer × 2one ticket, one worktree + +Pull requestCI must be green + + + + + +03 SHIP +Risk checksecurity, CRDs, sign-in, CI +Revieweranother model, risky only + +Mergesquash, on green + +Pin and roll outto the lab cluster + +Verify livemerged is not live + + + + + +04 LEARN +Hand-backwith its class, D1 to D6 +Scoreboardbounce rate, red minutes + +Proposed rulea cause seen twice + +lessons.mdat most 40 rules + + + + + + + + +the rules check the next ticket +No agent calls another. They meet on GitHub: tickets, labels and pull requests. + + diff --git a/site/agentic-dev/img/factory-map-ship.svg b/site/agentic-dev/img/factory-map-ship.svg new file mode 100644 index 0000000..4fea159 --- /dev/null +++ b/site/agentic-dev/img/factory-map-ship.svg @@ -0,0 +1,92 @@ + +The dark factory: ship + + + + + + + + +YOU +decide · answer one plain question · merge every rule change + +morning digest, 06:30 +needs you · shipped · factory · red flags + +ideas, answers + +you merge each rule + + + +01 SHAPE +Visionistwith me, and every 2 hours +Architecthourly: refine, verify + +Preflightsix checks on every ticket + +Ready means a small modelbuilds it without askinga single question. + + + +02 BUILD +Ready queuetarget: 12 tickets +Runnerfills a free slot in 20 s + +Implementer × 2one ticket, one worktree + +Pull requestCI must be green + + + + + +03 SHIP +Risk checksecurity, CRDs, sign-in, CI +Revieweranother model, risky only + +Mergesquash, on green + +Pin and roll outto the lab cluster + +Verify livemerged is not live + + + + + +04 LEARN +Hand-backwith its class, D1 to D6 +Scoreboardbounce rate, red minutes + +Proposed rulea cause seen twice + +lessons.mdat most 40 rules + + + + + + + + +the rules check the next ticket +No agent calls another. They meet on GitHub: tickets, labels and pull requests. + + diff --git a/site/agentic-dev/img/factory-map-you.svg b/site/agentic-dev/img/factory-map-you.svg new file mode 100644 index 0000000..eb4c0ec --- /dev/null +++ b/site/agentic-dev/img/factory-map-you.svg @@ -0,0 +1,92 @@ + +The dark factory: you + + + + + + + + +YOU +decide · answer one plain question · merge every rule change + +morning digest, 06:30 +needs you · shipped · factory · red flags + +ideas, answers + +you merge each rule + + + +01 SHAPE +Visionistwith me, and every 2 hours +Architecthourly: refine, verify + +Preflightsix checks on every ticket + +Ready means a small modelbuilds it without askinga single question. + + + +02 BUILD +Ready queuetarget: 12 tickets +Runnerfills a free slot in 20 s + +Implementer × 2one ticket, one worktree + +Pull requestCI must be green + + + + + +03 SHIP +Risk checksecurity, CRDs, sign-in, CI +Revieweranother model, risky only + +Mergesquash, on green + +Pin and roll outto the lab cluster + +Verify livemerged is not live + + + + + +04 LEARN +Hand-backwith its class, D1 to D6 +Scoreboardbounce rate, red minutes + +Proposed rulea cause seen twice + +lessons.mdat most 40 rules + + + + + + + + +the rules check the next ticket +No agent calls another. They meet on GitHub: tickets, labels and pull requests. + + diff --git a/site/agentic-dev/img/factory-map.svg b/site/agentic-dev/img/factory-map.svg new file mode 100644 index 0000000..c39a5df --- /dev/null +++ b/site/agentic-dev/img/factory-map.svg @@ -0,0 +1,92 @@ + +The dark factory + + + + + + + + +YOU +decide · answer one plain question · merge every rule change + +morning digest, 06:30 +needs you · shipped · factory · red flags + +ideas, answers + +you merge each rule + + + +01 SHAPE +Visionistwith me, and every 2 hours +Architecthourly: refine, verify + +Preflightsix checks on every ticket + +Ready means a small modelbuilds it without askinga single question. + + + +02 BUILD +Ready queuetarget: 12 tickets +Runnerfills a free slot in 20 s + +Implementer × 2one ticket, one worktree + +Pull requestCI must be green + + + + + +03 SHIP +Risk checksecurity, CRDs, sign-in, CI +Revieweranother model, risky only + +Mergesquash, on green + +Pin and roll outto the lab cluster + +Verify livemerged is not live + + + + + +04 LEARN +Hand-backwith its class, D1 to D6 +Scoreboardbounce rate, red minutes + +Proposed rulea cause seen twice + +lessons.mdat most 40 rules + + + + + + + + +the rules check the next ticket +No agent calls another. They meet on GitHub: tickets, labels and pull requests. + + diff --git a/site/agentic-dev/img/fleet.svg b/site/agentic-dev/img/fleet.svg deleted file mode 100644 index f5f35f2..0000000 --- a/site/agentic-dev/img/fleet.svg +++ /dev/null @@ -1,113 +0,0 @@ - -Who talks to whom -The maintainer talks to the visionist. The visionist, the weekly deep review and the hourly architect write tickets on GitHub. The runner reads the ready queue on GitHub, claims a ticket and starts an implementer session. An implementer opens a pull request, waits for CI and merges, or marks the ticket blocked for the architect, and rolls the change out to the dev cluster. No agent calls another directly: GitHub is the shared memory. - - - - - - - - -ideas, bugs, decisions - -approves on issues - -tickets - -tickets, decisions - -design → ready, -checks what merged - -queue, “claiming” - -starts a session - -PR, CI, merge -or “blocked” - -rollout - - - -Martin -the maintainer -decides, approves, -answers the open questions - - - -Visionist -Claude Code · Opus -with me, and a loop every 2 h -vision, UX, design tickets, -ready tickets, -reviews by screenshot - - - -Deep review -Claude Fable · 4 agents -once a week, Thursday -vision, decision audit, -design refinement, security - - - -GitHub -the only shared memory -issues, 7 repos -project board -label ready-to-implement -“claiming” -label blocked -pull requests and CI -No agent calls another one. -They read and write tickets. - - - - -Architect -opencode · Flash · max -every hour, systemd timer -keeps ~12 tickets ready, -verifies merged work - - - -Runner -a shell script, no model -always on, wakes every 20 s -parks a ticket after 2 tries - - - -Implementer × 2 -opencode · Flash · low -one ticket, own worktree -subagents that edit -nova-ui -nova-api -operator -docs -read-only subagents -reviewer -spec-keeper -research - - - -Dev cluster (Kubernetes) -rollouts, live checks, screenshots - diff --git a/site/agentic-dev/index.html b/site/agentic-dev/index.html index 0b8a87b..8eae6e3 100644 --- a/site/agentic-dev/index.html +++ b/site/agentic-dev/index.html @@ -3,8 +3,8 @@ -How agents build stardelt - +The dark factory + @@ -12,180 +12,304 @@
stardelt -

Martin's experiences · November 2026

-

How agents build stardelt.

-

One maintainer, four AI roles and a machine that works through the night.

- +

Martin’s experiences · November 2026

+

The dark factory.

+

How agents build stardelt around the clock, and how one person stays in charge.

+
-
1,142
-

pull requests merged in 14 days, across 7 repositories.

- -
-
-

01

-

The roles

- -
-
-

Four roles, one person who decides

- - - - - - -
RoleRuns asWhenNever
VisionistClaude Code, Opuswith me, plus a loop every 2 hourswrites code
Architectopencode, DeepSeek V4.1 Flash, max effortevery hour, by a systemd timerimplements
Implementeropencode, DeepSeek V4.1 Flash, low effortone session per ticket, up to 2 at oncechanges a decision
Deep reviewClaude Fableonce a week, for five hoursships anything
- +
2,129
+

pull requests merged in 14 days, in public repositories.

+
-

Who talks to whom.

+

The whole factory on one slide.

-The maintainer talks to the visionist. The visionist, the weekly deep review and the hourly architect write tickets on GitHub. The runner claims ready tickets and starts implementer sessions, which merge pull requests and roll out to the dev cluster. -

No agent calls another one. They meet on GitHub: tickets, labels and pull requests.

+The dark factory. Across the top: you decide, answer one plain question and merge every rule change, and read the morning digest. Below, four stages from left to right. Shape: the visionist, the hourly architect and a preflight check on every ticket. Build: the ready queue, the runner, two implementer sessions and a pull request with green CI. Ship: a risk check, a reviewer on another model for risky changes, merge, pin and roll out to the lab, and a live check. Learn: hand-backs with their class, the scoreboard, proposed rules and lessons.md with at most 40 rules, which loops back to check the next ticket.
- + +
+
+
+

01

Shape

An idea becomes a ticket a small model can build.

+The factory map with the Shape stage lit: visionist, architect, preflight. +
+
-

Nine agent definitions, two kinds.

+

Five roles, one person who decides.

- - - - - - - - + + + + + +
AgentKindCan
architectprimary, started by the timerread every repository, write and label tickets, review pull requests
implementerprimary, started by the runnerone ticket: own worktree, pull request, CI, merge, rollout
nova-ui, nova-apisubagent that editsNova's React frontend; Nova's Rust backend
operator, docssubagent that editsthe Kubernetes operator; the documentation site
reviewersubagent, read-onlycorrectness, regressions, missing tests
spec-keepersubagent, read-onlychecks a ticket's step against the code and the decisions
researchsubagent, read-onlypublic documentation and open source
RoleRuns asWhenNever
VisionistClaude Code, Opuswith me, and every 2 hourswrites code
Architectopencode, DeepSeek V4.1 Flashevery hour, on a timerimplements
Implementerthe same model, low effortone session per ticket, 2 at oncechanges a decision
Reviewera model from another familyrisky pull requests onlymerges
Deep reviewClaude Fableonce a week, five hoursships anything
- +
-

A ticket's life

-
-
-

I talk

-

An idea, a bug or a complaint goes to the visionist.

+

They meet on GitHub, never directly.

+
+
+

ready-to-implement

+

A small model can build it. Files, symbols, checks, no open question.

-
-

It becomes a ticket

-

Files, symbols, steps and checks, labelled ready-to-implement.

+
+

claiming

+

One ticket, one session. Nothing is built twice.

-
-

The runner claims it

-

A session gets its own worktree, opens a pull request, waits for CI and merges.

+
+

blocked

+

A step was wrong. The session says why and stops instead of improvising.

-
-

Someone looks

-

The architect verifies; the visionist reviews screenshots.

+
+

needs-maintainer

+

It waits for me, with one plain question.

- +
A ticket is ready when a small model can build it without asking a question.
- + +
+
+
+

02

Build

The runner never sleeps, and never starts a bad ticket.

+The factory map with the Build stage lit: ready queue, runner, implementers, pull request. +
+
-

The hand-off is a label.

+

One ticket, one session, one pull request.

-

ready-to-implement

-

A small model can build it.

-

Files, symbols, hashes and checks. No open question.

+

20 s

+

A free slot is filled within twenty seconds, day and night.

-

“claiming”

-

One ticket, one session.

-

The comment comes before any work, so nothing is built twice.

+

2 tries

+

Then the ticket is parked for a person. No third guess.

-

blocked

-

A wrong step goes back.

-

The session quotes the real output, comments “released” and stops.

+

30 min

+

About that long from ready to closed, over the last 14 days.

- + +
+
+

A preflight before the first token.

+
+
+

Checked before dispatch

+
    +
  • The ticket has steps, checks, files, and no open question
  • +
  • Every path it names exists
  • +
  • No command reads two inputs at once
  • +
  • Every command parses
  • +
  • No check row another ticket also claims
  • +
  • No platform change without its operator twin
  • +
+
+
+

Why

+

12 of 21 hand-backs were defects in the ticket, not in the code.

+

Each one cost a full session before it showed. A failed preflight parks the ticket without spending one.

+
+
+
-

02

-

The machine

- +
+

03

Ship

Green CI is where checking starts, not where it ends.

+The factory map with the Ship stage lit: risk check, reviewer, merge, roll out, verify live. +
+
-

Four systemd units do the scheduling

- - - - - - -
UnitDoesBounds
stardelt-runnerAlways on. Fills a free slot within 20 seconds.2 sessions, 12 GB, 6 cores
stardelt-architectA timer, on the hour, every hour.1 session, 6 GB, 2 cores
stardelt-project-syncDaily: every open issue on the project board.—
stardelt-gcDaily: removes build caches and agent scratch.—
- +

Risk decides who reads a pull request.

+
+
+

Most pull requests

+

Merge on green CI.

+

Docs, UI copy, tests, a new check: the session merges its own work once CI passes.

+
+
+

Risky ones get a second model first

+

Security, resource definitions, sign-in, the Spark front door, CI workflows, anything breaking.

+

A blocking finding is fixed and reviewed once more. A second one sends the ticket back.

+
+
+

A gate on everything gets rubber-stamped. A gate on what can hurt gets read.

+
-
-

The day and the week.

-
-One day in UTC: the runner is always on and keeps two implementer sessions busy, the architect starts every hour, the visionist loop every two hours, the board sync at 05:05 and the cache cleanup at 04:15. Once a week, on Thursday from 13:08 to 18:00, the deep review runs. -

Busy around the clock on one workstation. The most expensive model works once a week.

+
+

Ship

+

Merged is not live.

+
+
+

Seven times

+

main went red on one image pin.

+

Fix: the pin and its golden test move in one change.

+
+
+

13 Secrets

+

still held a credential after the fix merged.

+

Fix: a ticket closes on the lab’s answer, not on CI.

+
+
+

This morning

+

the runner ran scripts from four hours earlier.

+

Fix, ticketed: its checkout follows main on every pass.

- +
+ +
+
+
+

04

Learn

Every hand-back teaches the next ticket.

+The factory map with the Learn stage lit: hand-back, scoreboard, proposed rule, lessons.md. +
+
-

Five settings in the runner's unit

+

Six ways a ticket goes wrong.

- - - - - - + + + + + + +
SettingWhy
MAX_WORKERS=2Two sessions at once; three when memory allows.
MAX_ATTEMPTS=2Two tries, then the ticket is parked for a person.
IMPL_MODEL=…#lowThe model is pinned, never the harness default.
RUSTC_WRAPPER=sccacheOne compile cache for every session.
KillMode=processA runner restart leaves running sessions alone.
ClassWhat happened
D1A name that does not exist: a file, a function, a make target
D2A permission nobody tested
D3A stale line number, or two tickets on the same check
D4A command that cannot run as written
D5A missing twin, or a test file missing from the list
D6Image pins and licences
- +

Every hand-back now carries its class.

+
-

I watch from anywhere

+

A playbook of at most 40 rules.

-

Workspace

-

herdr on tmux

-

Every agent in its own pane and session, still there when I come back.

+

Count

+

Every hand-back adds a hit to the rule it broke.

-

Reach

-

Tailscale and mosh

-

The same sessions from the laptop or the phone, over a flaky connection.

+

Propose

+

A cause seen twice becomes a proposed rule, as a pull request.

-

Nudge

-

A notification hook

-

When an agent waits for me, my phone says so.

+

Merge

+

Only I merge a rule. When the book is full, the rule with the fewest hits goes.

- +

The architect’s instructions were 10,960 lines this morning, mostly its own diary. Now they are 161.

+
-

The weekly deep review

-
-
-

13:08

-

Five hours before the weekly limit resets, the strongest model starts.

+

The scoreboard, last 14 days.

+
+
+
1,799
+

sessions

-
-

4

-

agents at once: vision, a decision audit, design refinement, security.

+
+
1,565
+

tickets closed

+
+
+
12.5%
+

handed back

-
-

18:00

-

Wrap up: tickets filed, decisions for me, the next run scheduled.

+
+
262
+

times the queue ran dry

- +
-

03

-

What I learned

- +
+

05

You stay in the loop

Dark means unattended, not unwatched.

+The factory map with the top band lit: you decide, answer one plain question, merge every rule change, and read the morning digest. +
+ +
+
+

One plain question.

+
+
+

What reaches me

+

Can people who may only view a Spark cluster also run code on it?

+

A: no, viewing only (recommended). B: yes. Reversible: yes.

+
+
+

The rule

+
    +
  • One question, ending in a question mark
  • +
  • The options and a recommendation
  • +
  • No jargon without half a sentence that explains it
  • +
  • Reversible: yes or no
  • +
+
+
+ +
+
+

Silence has a default.

+
+
+

72 h

+

A reversible question with no answer gets its recommendation applied, and the ticket says so.

+
+
+

Never

+

Security, money, licences, deleting data and anything public wait for a real answer.

+
+
+ +
+
+

The morning digest.

+
+
+

One pinned issue, rewritten at 06:30

+
    +
  • Needs you: every open question, oldest first
  • +
  • Shipped: what closed yesterday
  • +
  • Factory: the scoreboard, one line
  • +
  • Red flags: main red, an empty queue, an old question
  • +
+
+
+

And the rules

+

The factory proposes its rules. I merge them.

+

A change to a prompt or to the playbook arrives as a pull request with my label. No agent merges it.

+
+
+ +
+
+

One workstation, five units.

+ + + + + + + +
UnitDoesBounds
runnerAlways on. Fills a free slot within 20 seconds.2 sessions, 12 GB, 6 cores
architectOn the hour, every hour.1 session, 6 GB, 2 cores
digest06:30 every morning.—
project-syncDaily: every open issue on the board.—
gcDaily: build caches and agent scratch.—
+

I watch from anywhere: a terminal workspace, a private network, and a phone notification when an agent waits for me.

+ +
+
+

The day and the week.

+
+One day in UTC: the runner is always on and keeps two implementer sessions busy, the architect starts every hour, the visionist loop every two hours, the board sync at 05:05 and the cache cleanup at 04:15. Once a week, on Thursday from 13:08 to 18:00, the deep review runs. +

Busy around the clock on one workstation. The most expensive model works once a week.

+
+

What broke

@@ -202,64 +326,44 @@

restarted Kubernetes.

Fix: memory and CPU caps on the units.

-

One empty string

-

stopped every notebook.

-

Fix: never write “” where Kubernetes means the default.

-
-
- - -
-

What broke

-

The night shift has its own bugs.

-
-

A model

was geo-blocked overnight.

Fix: pin the model in the unit.

-

A finished session

-

kept talking for 40 minutes.

-

Fix: the runner ends a session once its issue is closed.

+

A parked ticket

+

was picked up again every minute.

+

Fix: the queue skips anything waiting for me.

-
-

A free slot

-

sat idle for 15 minutes.

-

Fix: wake every 20 seconds, not every tick.

-
- +
-

What works

-
-
-

Small tickets, cheap model

-

Precise steps beat a bigger model.

-
+

Next: checks the agents never see.

+
-

Screenshots, not “tests pass”

-

The UI is judged by looking at it, with realistic data.

+

Holdout scenarios

+
    +
  • Five journeys through the public demo
  • +
  • Run every night in a real browser, on another model
  • +
  • Scored 0, ½ or 1, with a screenshot
  • +
  • Kept outside the code the agents edit
  • +
-

The human decides

-

Agents propose. Decisions, rollouts and secrets stay with me.

+

Why

+

“The ticket is closed” and “a person can do it” are different facts.

+

One night every ticket was closed and every check was green, and the demo notebook hung on its first cell.

- -
-
-
795
-

tickets done by the runner since 30 October. 9 parked for a person.

- +

everything in the open

github.com/stardelt

The product, the tickets and every pull request the agents opened.

stardelt - +