This is the last of the posts that bring the blog up to date. The first was the two years. The second was the map. The third was the campaign site and how a turn is played. This one is how all of it actually gets built, what went wrong along the way, and what comes next.
How the week's test went
Last post I said I had not tested the new turn yet, and that I would say how it went.
On Sunday evening 22NOV, Dev Cycle 6 is running 9 hours late and went from 10 Items at the start to 46 items yesterday and 53 at the moment. Some of that bloat is fixing errors, and some is me finding more things for this cycle to finish, to get me to where I want to be. Cycle 7 start at 10 a week ago and is at 17 now. I am trying not to add bloat to it so I can get it done and try to get two cycles in this week.
I will run the Play Tests tomorrow afternoon (Monday 23NOV).
From a row of desks to one Conductor
Until 1 October I ran this the hard way. I kept several AI sessions open myself, each with one job: an Architect and a Builder for the map, a Chronicler and a Loremaster for the history. I passed work between them by hand, with handoff notes and status files. On a bad day two copies of the same role were running and messages went to the wrong one.
On 1 October I replaced that with one session I call the Conductor, and one rule: "You create workers as they are needed".
The chain is short.
I talk to the Conductor, and only the Conductor. It holds the plan, proposes what to do next, and waits.
When I say go, it writes a job description for one task. It's called a brief. A brief says what to build, which files may be touched, which commands may be run, and what test proves the job is done.
The Conductor starts a separate AI worker and hands it the brief. The worker does that one job, writes a report, and stops. It knows nothing else about the project and it does not need to.
The Conductor reads the report and every changed line before anything is kept, files the report, updates the plan, and tells me in a few lines what landed and what it proposes next.
I set which model does which kind of work and how much effort it gives. The strongest model plans, reviews, and builds the parts that are costly to get wrong. A fast one does most of the building. The most powerful one is kept for the big design sessions, where it interviews me and I choose.
The cast
The old desks survived as kinds of brief.
The Architect plans and designs and changes nothing. The Builder carries out one plan, tests it and commits it. The Chronicler plans the history, and the Loremaster writes it, including the stories in the last post. The Reviewer, added on 2 November, reads a larger build before it is merged, with only the brief and the changes in front of it.
Two are not builders at all. The Visionary is my thinking partner: I bring it an open problem, it researches, asks me questions and sets out options, and I pick. The Adjudicator sits for the campaign itself and writes up each turn.
Across every change to that cast three things have held. One person decides. Nothing starts without my go. And every piece of work ends in a written report that the next session can pick up from.
One job, start to finish: the hachured map as an example
The map style that looks like an engraving from the 1800s is a good example, because I asked for it on a whim and had it the next day.
On the morning of 27 October I asked for a Napoleonic-era look for the map. The Conductor started a Visionary session. It researched how maps of 1790 to 1820 were actually drawn, sent me ten questions, and came back inside the hour with three options. I picked one.
The first Builder started that afternoon and reported in about 13 minutes: hachures worked out from the elevation data, with previews for me to look at. Then the sea. Then the land marks, roads and fords. Then the frame, the cartouche, the compass rose and the scale bar. Then the sheets themselves, two tuning runs after I had looked at them, the symbols, and the grid.
Eleven build runs in all, each between 13 and 31 minutes, each on its own brief, each merged only after its tests passed and the Conductor had read the changes. Most of them ran overnight and into the next morning, on my go each time, some of those from my phone.
The last step touched map sheets I had already approved, so it stopped and asked me. I said go. The style was registered late on the morning of 28 October, about 34 hours after I first asked.
It was not perfect. Candidate roads got baked into the approved sheet, and taking them out again cost a run to find them, a re-stamp and a second release. Roads are now their own layer.
Cycles, test sheets and reviews
For the first month the work just ran, and ran in every direction I pointed. Since 31 October it runs in development cycles.
A cycle has one focus in one sentence, a fixed end point, and a test sheet that I worj through myself, step by step, on the real site. A new idea goes into the current cycle only if it is a fix or a small change. Anything bigger waits for the next one. Every item sits on a live Board with its cycle, so I can see what is done, what is running and what is waiting on me.
Since 2 November every larger build is also reviewed by a separate AI before it is merged. Of the first 46 builds reviewed, 38 needed a fix first. Several of those were serious, such as one Player being shown something it should not know, caught before any player could have seen it.
The numbers
911 separate tasks handed to AI workers. About 3,000 saved changes across six projects. About 255,000 lines of software and tests, and 6,356 tests that check them.
Those totals include the rework. 72 of the tasks, about one in thirteen, were runs to fix or redo something an earlier run got wrong. Another 184 were planning, design or review, done so that less would need fixing after.
The records also hold 547 of my decisions in my own words, and 167 changes of direction. That is a lot of changing my mind, and most of it was on purpose: I see a thing working, and then I know what I actually want.
What it would have cost
In the first post I promised the cost estimate. Here it is, with the fine print first.
It is an estimate from the amount of work produced and common industry rules of thumb, not a quote. Only two thirds of the lines written are counted as finished work, because the counts include rewrites. AI writes wordier code than people do, so the lower figure is the safer one. And none of it counts my own time, which has been considerable.
If a low-cost Australian development house had built what existed on 14 November, the estimate is about $1.5 million to $2.6 million and thirteen to twenty-three months for a team of seven. The cheapest kind of shop, one that hands the work offshore, about half that.
| Role | Days | Day rate | Cost |
|---|---|---|---|
| Developers | 850 to 1,415 | $850 | $720,000 to $1.2 million |
| Architect and tech lead | 370 to 645 | $1,050 | $390,000 to $680,000 |
| Project manager | 175 to 320 | $900 | $160,000 to $290,000 |
| Map (GIS) specialist | 70 to 135 | $875 | $61,000 to $118,000 |
| Narrative writer and researcher | 60 to 125 | $650 | $39,000 to $81,000 |
| QA and testing | 60 to 110 | $650 | $39,000 to $72,000 |
| Technical writer | 45 to 75 | $700 | $32,000 to $53,000 |
| Cloud and DevOps | 50 to 85 | $950 | $48,000 to $81,000 |
| Total | 1,680 to 2,910 | $1.49 million to $2.57 million |
Australian dollars, excluding GST.
What it actually took was 45 days, an AI subscription and a few dollars of web hosting. The work is paced by a weekly allowance. When it runs out, everything stops until it resets, so I plan the week around that.
The honest bit
It does not run itself, and it goes wrong.
Workers take shortcuts. Every brief says how a worker may change a file and what it may not do. Workers broke those rules anyway, and their own reports own up to it more than 80 times. Each one is logged. The fix was tighter briefs, an exact list of allowed actions for every job, and the Conductor reading every change before it is kept.
The machine ran out of memory. The big test runs take a long time and a lot of memory. With several running at once they were killed at least ten times in nine days, and workers under that pressure broke rules more often. Now one full test run goes at a time, and each finished worker is closed when its report is filed.
Things were passed on without anyone looking. Three times a result was handed to me before anyone had seen it work. One was a printable template that had only been checked to exist. What I said at the time was: "Well that just wasted tokens because you didn't do the job." Now a page fault is reproduced in a browser before a fix is briefed, and a template is accepted only once it has been seen rendered.
The Conductor misread me. On 5 October I wrote "I am working to build a replacement". It read that as a replacement for the map and paused the map work for about ten hours.
What came out of all that is now standard: times are measured, never guessed. Every job carries its list of allowed actions. The live site changes only on my word. Every change is read in full and every larger build is reviewed. Backups are tested after every update. Work comes in cycles with test sheets. And a digest records every decision, every change of direction and everything that cost more than it should, so the lessons are not lost.
It is like raising a child: trust, but verify.
What comes next
The next development cycles, by what I should be able to do at the end of each:
- The Admin runs a week and ends a season from the page. I mean it does this now, but it will be optimised.
- A Player gives, keeps and understands orders. Again this already works, it is just a bit confusing.
- What happened reads in plain words, and the guides say what the pages say. Your can't say RTFM if there is no FM.
- An action goes from contact to a recorded result. Again this already works but it need refinement.
- The next campaign season, spring 130 BC, is created from the Chronicle and its first turns are run.
After that comes a campaign on a second set of rules, because "any rules, any era" is not proven until there are two.
Speculation
As before, this heading means not built, and some of it not designed.
The living world: an economy, manpower, population, how a population grows, politics, faith, and the tick that moves all of it forward. Designed, not built. TimeShift, which moves the setting from one era to the next between campaigns. Fleets, spies and technology. And campaign logistics, which is a parallel research track until there is enough success to warrant bringing it in.
That is the blog up to date
Two years of silence took four posts to cover. From here the posts get shorter and more like a hobby blog again.
Fantasy Dwarves - 3D printed for Warhammer The Old World
On my list for future posts:
- One painted force per post, with photos.
- The Tribal files for New Recruit.
- The cost estimate written up in full, with how it was worked out.
- Stories from the campaigns, as the peoples tell them.
- Cycle 6
- Cycle 7
- The Governance Transition
- Resetting Milestones
No comments:
Post a Comment