Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9f35e98361 | |||
| 3584890d71 |
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
`Bar = 0.1`
|
`Bar = 0.1`
|
||||||
|
|
||||||
`Next ID = 601`
|
`Next ID = 602`
|
||||||
|
|
||||||
## Items
|
## Items
|
||||||
|
|
||||||
@@ -67,6 +67,7 @@
|
|||||||
| 5 | 0.23.0 | | decision | **Key a project on its checkout's full path, and refuse to start while another session uses that key.** | 4 | 2 | 3 | 7 | 5 | 1.1 by 6 | 1.1 |
|
| 5 | 0.23.0 | | decision | **Key a project on its checkout's full path, and refuse to start while another session uses that key.** | 4 | 2 | 3 | 7 | 5 | 1.1 by 6 | 1.1 |
|
||||||
| 291 | 0.23.0 | | owner | **Let `principles/technical-principles.md` → "Sane defaults" allow a library whose README goals ask that it work with no config to default the clock and randomness in its public constructor, where a documented option overrides each.** | 1 | 2 | 3 | 4 | 1 | 1.2 by 3 | 1.0 |
|
| 291 | 0.23.0 | | owner | **Let `principles/technical-principles.md` → "Sane defaults" allow a library whose README goals ask that it work with no config to default the clock and randomness in its public constructor, where a documented option overrides each.** | 1 | 2 | 3 | 4 | 1 | 1.2 by 3 | 1.0 |
|
||||||
| 156 | 0.23.0 | | decision | **Drop `rank_todo.py`'s ranking of an old-shape table once no project under `~/code` holds one.** | 2 | 1 | 3 | 4 | 4 | 1.1 by 4 | 1.0 |
|
| 156 | 0.23.0 | | decision | **Drop `rank_todo.py`'s ranking of an old-shape table once no project under `~/code` holds one.** | 2 | 1 | 3 | 4 | 4 | 1.1 by 4 | 1.0 |
|
||||||
|
| 601 | 0.23.0 | | | **Make stability-reviewer accept a surviving hand-made mutant as equivalent only on a test or proof that no input tells it apart, and run the library calls a change uses to parse or convert a date, time or number at their boundaries.** | 1 | 2 | 2 | 3 | 2 | 1.1 by 3 | 1.0 |
|
||||||
| 388 | 0.23.0 | | | **Refuse an agent's Write or Edit of a routing ladder file in rule-hook, since a change to the ladder is the human's.** | 1 | 1 | 3 | 3 | 2 | 1.2 by 3 | 1.0 |
|
| 388 | 0.23.0 | | | **Refuse an agent's Write or Edit of a routing ladder file in rule-hook, since a change to the ladder is the human's.** | 1 | 1 | 3 | 3 | 2 | 1.2 by 3 | 1.0 |
|
||||||
| 365 | 0.23.0 | | | **Have `score-outcomes` read the finished and dropped items of a plan outside the checkout, from the project repo's history or from Jira's issue changelogs.** | 3 | 2 | 2 | 5 | 4 | 1.6 by 2, 1.1 by 2 | 0.9 |
|
| 365 | 0.23.0 | | | **Have `score-outcomes` read the finished and dropped items of a plan outside the checkout, from the project repo's history or from Jira's issue changelogs.** | 3 | 2 | 2 | 5 | 4 | 1.6 by 2, 1.1 by 2 | 0.9 |
|
||||||
| 368 | 0.23.0 | | | **Call a release review due, call a release ready to cut, and tell whether a chunk owes a scoring run, for a plan outside the checkout, from the project repo's history or from Jira.** | 3 | 2 | 2 | 5 | 4 | 1.6 by 2, 1.1 by 2 | 0.9 |
|
| 368 | 0.23.0 | | | **Call a release review due, call a release ready to cut, and tell whether a chunk owes a scoring run, for a plan outside the checkout, from the project repo's history or from Jira.** | 3 | 2 | 2 | 5 | 4 | 1.6 by 2, 1.1 by 2 | 0.9 |
|
||||||
@@ -89,7 +90,7 @@
|
|||||||
| 181 | 0.23.0 | | principle | **Have the test of a quoted answer's step-up assert the stepped rung's facts as literals, not through `prompts.rungs_held`.** | 1 | 1 | 1 | 1 | 1 | 1.1 by 2 | 0.7 |
|
| 181 | 0.23.0 | | principle | **Have the test of a quoted answer's step-up assert the stepped rung's facts as literals, not through `prompts.rungs_held`.** | 1 | 1 | 1 | 1 | 1 | 1.1 by 2 | 0.7 |
|
||||||
| 193 | 0.23.0 | | | **Narrow `numbered`'s mark to `Mark` by a typed lookup in place of `typing.cast`, so a mark added to the regex but not the lookup fails at run time, and one added to the lookup but not `Mark` fails mypy.** | 1 | 1 | 3 | 3 | 1 | 1.1 by 2 | 0.7 |
|
| 193 | 0.23.0 | | | **Narrow `numbered`'s mark to `Mark` by a typed lookup in place of `typing.cast`, so a mark added to the regex but not the lookup fails at run time, and one added to the lookup but not `Mark` fails mypy.** | 1 | 1 | 3 | 3 | 1 | 1.1 by 2 | 0.7 |
|
||||||
| 519 | 0.23.0 | | | **Make stability-reviewer check that a test which runs git, or a script that runs git on another repository, isolates it from the caller's git environment.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 |
|
| 519 | 0.23.0 | | | **Make stability-reviewer check that a test which runs git, or a script that runs git on another repository, isolates it from the caller's git environment.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 |
|
||||||
| 534 | 0.23.0 | | | **Have the stability and product-owner reviewers follow three paths an outside reviewer found unchecked: the loser of a create race, a stored null reaching a typed parameter, and each documented outcome against the order of the code's branches.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 |
|
| 534 | 0.23.0 | | | **Have the stability and product-owner reviewers follow four paths an outside reviewer found unchecked: the loser of a create race, a stored null reaching a typed parameter, each documented outcome against the order of the code's branches, and a browser test that waits for a response instead of the state its callback writes.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 |
|
||||||
| 535 | 0.23.0 | | | **Have stability-reviewer check four things an outside reviewer and two failed gate runs found unchecked: that a timeout bounds the I/O it wraps, that no early error hides an outcome's class, that a test takes its timestamps where the events happen, and that it waits for every state it depends on before it disrupts the system.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 |
|
| 535 | 0.23.0 | | | **Have stability-reviewer check four things an outside reviewer and two failed gate runs found unchecked: that a timeout bounds the I/O it wraps, that no early error hides an outcome's class, that a test takes its timestamps where the events happen, and that it waits for every state it depends on before it disrupts the system.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 |
|
||||||
| 557 | 0.23.0 | | | **Make stability-reviewer check that a fix which makes a text match exact bounds the match on both sides, with a test for each side.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 |
|
| 557 | 0.23.0 | | | **Make stability-reviewer check that a fix which makes a text match exact bounds the match on both sides, with a test for each side.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 |
|
||||||
| 298 | 0.23.0 | | | **Send the judge only the decision entries and the transcript tail a verdict needs, and keep the cut only where `judge-replay` changes no verdict kind.** | 3 | 3 | 3 | 7 | 4 | 1.4 by 2, 1.5 by 1 | 0.7 |
|
| 298 | 0.23.0 | | | **Send the judge only the decision entries and the transcript tail a verdict needs, and keep the cut only where `judge-replay` changes no verdict kind.** | 3 | 3 | 3 | 7 | 4 | 1.4 by 2, 1.5 by 1 | 0.7 |
|
||||||
@@ -610,6 +611,23 @@ The key names the project's session, archive folder and models entry. `project_k
|
|||||||
|
|
||||||
While `rank_todo.py` ranks two shapes, projects follow two sets of scoring rules, against goal 1.3. Once every project has reshaped, drop `OLD_SHAPE`'s weighing from `bin/plan/ranking.py`, `RESHAPE`, and the old shape's lines in `rank_todo.py --help` and `rules/todo-items.md`. Keep `todo_table` reading old tables: `score_outcomes` reads every past merge's `todo.md`. PR #283's paired ruling found the old-shape path made `ranking.py`'s `score`, `Scoring.weights`, `unknown_columns` and `todo_table.py`'s `Moves` harder to read; leave each easier, with one shape and moves that are always moves, and the Moves cell's rules in one place. Release 0.3.0's seats named `ranking.py`'s `score`, `weigh` and `rank` and `todo_table.py`'s `OLD_SHAPE` for the same fork: "every rule exists twice for the old table shape" (Mid A). Make `weigh` and `rank` easier to read too.
|
While `rank_todo.py` ranks two shapes, projects follow two sets of scoring rules, against goal 1.3. Once every project has reshaped, drop `OLD_SHAPE`'s weighing from `bin/plan/ranking.py`, `RESHAPE`, and the old shape's lines in `rank_todo.py --help` and `rules/todo-items.md`. Keep `todo_table` reading old tables: `score_outcomes` reads every past merge's `todo.md`. PR #283's paired ruling found the old-shape path made `ranking.py`'s `score`, `Scoring.weights`, `unknown_columns` and `todo_table.py`'s `Moves` harder to read; leave each easier, with one shape and moves that are always moves, and the Moves cell's rules in one place. Release 0.3.0's seats named `ranking.py`'s `score`, `weigh` and `rank` and `todo_table.py`'s `OLD_SHAPE` for the same fork: "every rule exists twice for the old table shape" (Mid A). Make `weigh` and `rank` easier to read too.
|
||||||
|
|
||||||
|
### 601. Make stability-reviewer accept a surviving hand-made mutant as equivalent only on a test or proof that no input tells it apart, and run the library calls a change uses to parse or convert a date, time or number at their boundaries.
|
||||||
|
|
||||||
|
An outside reviewer raised two findings on a pull request in another project, a PHP project with no mutation tool, that parses ISO date-times. Neither the implementer nor stability-reviewer had caught them.
|
||||||
|
|
||||||
|
First, a regex's range check on an offset's hour, 00 to 23, was deleted because a hand-made mutant of it survived. The mutant was judged equivalent after one input, an hour of 25, which the language's own parser refused anyway. Hour 24, which the parser accepts, was never tried. Second, a library call that converted a fraction of a second with 16 digits rounded it up into the next second, and so moved a timestamp across midnight in a time zone. Nobody ran the conversion at its limits.
|
||||||
|
|
||||||
|
Chosen: two rules in stability-reviewer's brief, and one sentence in larv-review §2's "Mutation tests" where the implementer runs mutants by hand.
|
||||||
|
- Where mutants are made by hand, a surviving one counts as equivalent only where no input can tell the two programs apart, shown by a test or a short proof. Trying one input never shows it. Otherwise it is a 🟡 asking for the test that kills it.
|
||||||
|
- Where the change parses or converts a date, a time or a number through a library call, the reviewer runs that call at the boundaries: each end of a range and one step past it, a long fraction that rounds, trailing characters, and overflow next to a day, hour or offset limit. It reports each boundary whose behaviour no test pins, as a 🟡, or as a 🔴 where the value then crosses a limit, such as a day.
|
||||||
|
|
||||||
|
A deterministic fix is better where one exists: a mutation tool for the language, which `mutate-changes` runs and §2 already asks to file an item for where none covers it. That catches the first finding only where the tool runs, so the rules above still close the gap for languages without one, and the second finding has no tool.
|
||||||
|
|
||||||
|
Touches:
|
||||||
|
|
||||||
|
- `agents/stability-reviewer.md`: `## First Steps` (small), `### 5. Edge Cases & Input Validation` (small)
|
||||||
|
- `skills/larv-review/SKILL.md`: `## 2. Ship the branch (idempotent — skip whatever already exists)` (small)
|
||||||
|
|
||||||
### 388. Refuse an agent's Write or Edit of a routing ladder file in rule-hook, since a change to the ladder is the human's.
|
### 388. Refuse an agent's Write or Edit of a routing ladder file in rule-hook, since a change to the ladder is the human's.
|
||||||
|
|
||||||
Filed by PR #553, which made the routing ladder a file: `bin/model_routing/routing-ladder.json`, and a project's own `routing-ladder.json` in its config's folder. `CLAUDE.md` → "Working loop", "Ask, don't guess" reserves a change to the routing ladder for the human, and until PR #553 the ladder was code, which only a reviewed chunk changed. A worker can now write its project's file, and with it choose the rungs its own later cycles and reviews run on. The security pass of PR #553 noted that a ladder changed mid-cycle also makes rule-hook's `reviewer-rung` skip its check, since the rungs build-release handed are then off the ladder.
|
Filed by PR #553, which made the routing ladder a file: `bin/model_routing/routing-ladder.json`, and a project's own `routing-ladder.json` in its config's folder. `CLAUDE.md` → "Working loop", "Ask, don't guess" reserves a change to the routing ladder for the human, and until PR #553 the ladder was code, which only a reviewed chunk changed. A worker can now write its project's file, and with it choose the rungs its own later cycles and reviews run on. The security pass of PR #553 noted that a ladder changed mid-cycle also makes rule-hook's `reviewer-rung` skip its check, since the rungs build-release handed are then off the ladder.
|
||||||
@@ -790,16 +808,17 @@ Add one check to the stability reviewer (`agents/stability-reviewer.md`), or to
|
|||||||
|
|
||||||
A finding names the test or script line and the variables it inherits.
|
A finding names the test or script line and the variables it inherits.
|
||||||
|
|
||||||
### 534. Have the stability and product-owner reviewers follow three paths an outside reviewer found unchecked: the loser of a create race, a stored null reaching a typed parameter, and each documented outcome against the order of the code's branches.
|
### 534. Have the stability and product-owner reviewers follow four paths an outside reviewer found unchecked: the loser of a create race, a stored null reaching a typed parameter, each documented outcome against the order of the code's branches, and a browser test that waits for a response instead of the state its callback writes.
|
||||||
|
|
||||||
An outside auto-reviewer raised three findings on one chunk, after two rounds of the stability pass and two of the product-owner pass had cleared it. Each fell under a rule the reviewers already hold, read too narrowly:
|
An outside auto-reviewer raised three findings on one chunk, and later a fourth on another, after two rounds of the stability pass and two of the product-owner pass had cleared it. The first three fell under a rule the reviewers already hold, read too narrowly:
|
||||||
|
|
||||||
- `agents/stability-reviewer.md` asks whether a unique constraint wins a check-then-insert race. It doesn't ask what the losing request then does. The reviewer saw the constraint and stopped, and the loser answered with a server error instead of taking the path for a row that exists. Add: follow the loser, on every branch that inserts.
|
- `agents/stability-reviewer.md` asks whether a unique constraint wins a check-then-insert race. It doesn't ask what the losing request then does. The reviewer saw the constraint and stopped, and the loser answered with a server error instead of taking the path for a row that exists. Add: follow the loser, on every branch that inserts.
|
||||||
- The same file asks whether null inputs are handled. The reviewer checked the request's values, not the stored row's. A nullable column read into a typed parameter throws. Add: for each column the change newly reads, ask what a null in an existing row does.
|
- The same file asks whether null inputs are handled. The reviewer checked the request's values, not the stored row's. A nullable column read into a typed parameter throws. Add: for each column the change newly reads, ask what a null in an existing row does.
|
||||||
- `agents/product-owner-reviewer.md` doesn't ask the reviewer to check each outcome the documentation promises against the branch that returns it. An early return for "nothing to change" answered before the branch the documentation promised. Add: for each documented outcome, name the input that reaches it and the branch that returns it, in the order the code tests them.
|
- `agents/product-owner-reviewer.md` doesn't ask the reviewer to check each outcome the documentation promises against the branch that returns it. An early return for "nothing to change" answered before the branch the documentation promised. Add: for each documented outcome, name the input that reaches it and the branch that returns it, in the order the code tests them.
|
||||||
|
- `agents/stability-reviewer.md`'s tests section doesn't ask when a browser test's wait ends. On another chunk, a helper typed into a field right after `waitForResponse`, while the page's jQuery callback on that response still wrote the field; the test passed by timing alone. Add: in a browser test, wait for the state the page's callback writes, not for the response.
|
||||||
|
|
||||||
Touches:
|
Touches:
|
||||||
- `agents/stability-reviewer.md`: `### 6. Concurrency & State Management` (small)
|
- `agents/stability-reviewer.md`: `### 6. Concurrency & State Management` (small), `### 11. Tests` (small)
|
||||||
- `agents/product-owner-reviewer.md`
|
- `agents/product-owner-reviewer.md`
|
||||||
|
|
||||||
### 535. Have stability-reviewer check four things an outside reviewer and two failed gate runs found unchecked: that a timeout bounds the I/O it wraps, that no early error hides an outcome's class, that a test takes its timestamps where the events happen, and that it waits for every state it depends on before it disrupts the system.
|
### 535. Have stability-reviewer check four things an outside reviewer and two failed gate runs found unchecked: that a timeout bounds the I/O it wraps, that no early error hides an outcome's class, that a test takes its timestamps where the events happen, and that it waits for every state it depends on before it disrupts the system.
|
||||||
|
|||||||
Reference in New Issue
Block a user