Skip to content

v1.50.0 ·

The documents were never read together

aidlc review reads one document at a time. Nothing read requirements, design and tasks side by side. A criterion the design forgot, or a task nobody asked for, passed every review and turned up later in the code.

aidlc cross-check <instance> now reads the three together before code is written. It prints one line per gap, naming both documents and the criterion or task: a criterion no task cites, a task citing no criterion or a retired one, a criterion the design never mentions. It writes nothing, changes no phase and exits 0 whatever it finds. The implementation skill offers it before the first task.

Choices

I wanted a check people believe, not one they must pass.

An agent asked to read three documents and list what disagrees gives a different list each run, and nothing can test it. So it is a plain command that compares only references. That is what it gives up. It cannot tell whether a task really does what its criterion asks. The original request also wanted the design checked against the project's charter. I dropped that, because it is a judgment, not a lookup.

It uses the same code the lifecycle's pass-or-fail checks use, so the two cannot disagree about what a file says. That brings strictness. Most "no task names this" results in this repo were criteria written next to a task but not in its list of criteria, which those checks cannot see either. They stay gaps, but each line now says where the stray mention is. The design is read a little more loosely, so a range counts every criterion inside it. The first version missed the commonest way to write a range, and running it over real files caught that.

It may do nothing with a gap but show it. Every new pass-or-fail check is a cost all later work pays, so nothing that decides whether work moves on reads this output. The trade is that nothing forces a fix. A report that can be ignored is only worth running if it is mostly right, so I counted its output across all 86 pieces of work in the repo before release. The largest group, tasks naming no criterion, is mostly housekeeping. I kept it because it is true.

Two fixes in the same release

When several roadmap items are promoted into one piece of work, finishing it used to file only the first. It now files all of them, names each in the completion output, and says how many moved. If one cannot move, the others still do, and the output says which. aidlc doctor files whatever a finished piece of work left behind, including items stranded before this fix.

Autopilot could stall a multi-item run on merge conflicts. Two branches each recording a decision conflicted on the shared per-type knowledge file. A new entity or relationship is now written to its own file, under .aidlc/knowledge/decisions, so branches merge cleanly. Existing records stay where they are and are still read.

Autopilot also merges origin/main into the queue head's branch, pushes, waits for CI on the new head, and merges with --match-head-commit. A conflict relaunches the item's agent to resolve it, twice at most, then parks it. A PR merged by hand is dropped. aidlc autopilot run resumes failures from before the merge, and aidlc autopilot forget <instance> stops tracking an item finished by hand. That is a new subcommand and a new on-disk layout, so this is a minor release.

What it does not do

Cross-check cannot judge whether the work matches the intent, and nothing makes anyone act on it.