TaskIAP

Field notes

Field notes ·

Journal-Driven Development

Most of this site and its software are written with an AI assistant. What keeps that from turning into nonsense is the writing: the theory, the decisions and these notes come first, stay in the repository, and the assistant reads them every time.

The worry

An assistant is fast and fluent, and it has no memory of last week. Left alone, it will cheerfully redesign something we settled a month ago, explain it well, and be wrong. People who have watched that happen are right to be sceptical of anything built this way, and so am I. The answer I've settled on is not a cleverer assistant. It's the same thing that keeps a construction project honest: things written down before the work, and inspections before anything is turned over.

The construction theory

The first piece of writing is the whitepaper. It sets out how I think projects actually run. A date is the output of constraints (permits, crews, cure times, regulatory holds), not something typed into a cell. A readiness view says that everything declared has been checked, by a named person, at a known time; whether the work is ready is still a qualified person's call. Green means a satisfied constraint and never a summary. Software proposes and a person applies, and machine-drafted text is kept apart from what someone signs.

That gives the assistant something firmer than taste to work from. When it suggests a dashboard tile that turns green when everything looks fine, the whitepaper has already said no, and it says why.

The decisions log

Every architecture decision goes in the decisions log: what was decided, what else was weighed, and why. There are about fifty entries so far, from one queue for every proposed change to where the records are stored. The rule at the top is the one that matters: a decision that would reverse the whitepaper isn't made in the log. It comes to me first.

Three shorter documents sit beside it: how the program is put together, how its event loop behaves, and how copies in different browsers will be kept in step. None of it is long. All of it gets read at the start of a session, which is more than most project procedures can say. It's the same habit as a decision log on site, for the same reason: six months later, nobody has to argue the parkade entrance again.

The field notes

These notes are part of the method. Writing a post forces a claim to be plain enough to check. If I can't say in a sentence what a feature does and why, it isn't finished, whatever the code says. More than once, a draft post has turned up a gap: a number that wasn't dated, a button whose result couldn't be explained without a paragraph of excuses. The post waits, and the feature gets fixed.

Model data built in

The software ships with its own fictional company: two portfolios, eleven projects, and about 675 records (activities, RFIs, risks, procedures, minutes) that point at each other the way real ones do. The same projects appear as models in Xtrůd, written in Sprout: the site offices for the tower job, the pipe-rack module with its late valve, the fourplex, the reactor. Every name and number is invented, and the regulations cited are real.

That matters more than it sounds. Every feature is exercised against realistic data from its first line, not against three rows called Test. A forecast has a real schedule to chew on. The RFI about the stair's risers points at the code requirement, the stair in the model, and the change it may cost. And every claim in these notes can be shown rather than described: open CORE, and the thing is there, on the same project the post talks about.

Tests

Before anything is published, the full test suite runs in a real browser on a clean copy of the site, merged with whatever else is going out at the same time. Today that's 354 checks: building every example model, walking the tutorial step by step, dragging a number in the editor, exporting a file, and failing on any page error along the way. A change that breaks something doesn't go out. No exceptions for small ones, because small ones are where the breakage hides.

Bigger choices get measured before they're made. When the records outgrew the browser's simplest storage, I timed three ways of keeping them at the demo's size and at ten and a hundred times as much, and picked the one whose cost didn't grow with the project. The numbers went in the log with the decision.

Black hats

Ideas get argued against before they're built. When I listed seventy-five small improvements, each one got its strongest objection written next to it first. Eight didn't survive, eight changed shape, and three turned out to exist already. The list and every objection are published with the source code. An assistant is good at producing ideas and not naturally inclined to doubt them, so the doubting is written into the process.

Where it went wrong

It does go wrong, and it's better to say so. Today an assistant explained Sprout's rules from the opening sections of the language's specification, confidently and in tidy prose. Those sections describe the older language, Sprout 2. The current rules were further down, in numbered decisions under a heading that said they weren't built yet. The document was right; the reading was careless, and the file's order made that easy. It was caught because the specification is in the repository and checking took a minute, and the file has since been reordered. The same day, the publish process collided with itself when several changes were tested at once. It became a merge queue: one publish at a time, each merged with the site as it stands, each through the full suite before it goes live.

Neither was caught by luck or by the assistant knowing better. Both were caught by the written record and the tests, which is the point. A method that only works when nothing goes wrong isn't a method.

What it buys

The assistant starts every session with the same context I have: the theory, the decisions and their reasons, the data, and a suite that says whether things still work. Settled questions stay settled. Mistakes surface in a test run or against a document, not in front of somebody. None of this is new. It's a basis of design, a decision register, a mock-up and an inspection before turnover, applied to software.

Everything mentioned here is in the source viewer, readable in place, including the decisions log and the tests. If something on this site seems far-fetched, that's where to check it.