Merge remote-tracking branch 'origin/main' into item-532
CI / tests (pull_request) Has been cancelled

# Conflicts:
#	todo.md
This commit is contained in:
2026-11-26 02:47:26 +01:00
15 changed files with 274 additions and 67 deletions
+10 -6
View File
@@ -95,17 +95,21 @@ such as QZ, and never XK, which is Kosovo's in practice. The table has a row per
--tasks shipped-features benches rebuilding features the project shipped, so nobody writes a task. A shipped feature is a chunk
on the base's first-parent history that took an item out of `todo.md`. A chunk is a merge commit with what it merged, or the
commits a rebase landed together, which share a commit time. A chunk with a commit whose title opens `Drop item <ID>:` took
that item out unbuilt, so it didn't ship it. The bench goes through the shipped features newest first, until --shipped of
them, 5 by default, count. For each:
- it takes the chunk's change out of a copy of each side's tree, as `git apply -R` does. The plan and the project's records stay
that item out unbuilt, so it didn't ship it. Commits fast-forwarded onto the branch keep a commit time each, so each is a chunk
of its own, and the chunk that took the item out holds only the feature's last commit. The feature then starts after the latest
earlier chunk that took an item out or landed by a merge or a rebase. A commit between two features that belongs to neither
joins the later one; it counts only where its tests fail after the revert and pass with the reference patch, as for any feature.
A fast-forwarded feature is passed over where no such chunk comes before it, and where its branch merged the default branch into
itself, since its commits then hold the changes of the features that merge brought in. A merge titled
`Merge remote-tracking branch '...' into <branch>` is read as that, whatever the branch. The bench goes through the shipped
features newest first, until --shipped of them, 5 by default, count. For each:
- it takes the feature's change out of a copy of each side's tree, as `git apply -R` does. The plan and the project's records stay
as the side holds them, since later chunks added to them. The records are the changelog, the comprehension history, the
decisions, the reading cost and the score anchors. So Haiku can read there what the changelog says of the feature;
- Haiku is told the tagline of the item, or of each item the chunk shipped;
- the acceptance tests are the test files the change touched, and its files under a `testdata` folder, each as the head holds it;
- the reference patch is the change itself.
With those, a shipped feature counts, and a build passes, as for a feature. The bench also passes over three kinds:
- one whose branch landed by fast-forward. Its commits keep a commit time each, so the history doesn't say which of them
built it;
With those, a shipped feature counts, and a build passes, as for a feature. The bench also passes over two kinds:
- one whose change doesn't come out of both trees cleanly, as where a later chunk rewrote its lines;
- one whose change touched no test the head still holds.
The report says which and why. The table has a row per shipped feature and side, named by its items, as `item 7`.