mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-30 11:53:55 +01:00
First versions: check a ruled-out line against the one reply it cites (GST-3646) (#4800)
A first version's `ruled out : ""` line now counts only against the one recorded owner reply its date names (record id, time, or day when he sent one reply that day). Any other match asks him instead of hiding the reviewer's finding. Why: the line used to match words from any of his replies, so a ruling could win on words he never tied to it. Nothing to do: the date format plans already use still works when he replied once that day. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1/specialist-batched#1 reader=specialist-batched
This commit is contained in:
1 parent
4394a02363
commit
beca1d6f15
9 files changed
+84
-25
No files matched your search
@@ -16,7 +16,7 @@ A plan is a first version when it has a `Day one` section or the run passes `--f
|
||||
|
||||
- Ada Example, 2026-11-18 09:12Z: "I keep forgetting which plant needs water" → does it
|
||||
- Ada Example, 2026-11-18 09:14Z: "and tell my partner when I'm away" → choice; size: two days; leave out: needs a second account
|
||||
- Ada Example, 2026-11-18 09:20Z: "and maybe post my streak" → ruled out 2026-11-18: "no posting anywhere, ever"
|
||||
- Ada Example, 2026-11-18 09:20Z: "and maybe post my streak" → ruled out 2026-11-18 09:31Z: "no posting anywhere, ever"
|
||||
```
|
||||
|
||||
Each bullet is who, when, the words in quotes, then an arrow (`→` or `->`) and the line:
|
||||
@@ -25,7 +25,7 @@ Each bullet is who, when, the words in quotes, then an arrow (`→` or `->`) and
|
||||
|---|---|---|
|
||||
| `does it` | this version does what the words ask | a reviewer who finds it does less files a `narrows_quote` finding, and the gate asks |
|
||||
| `choice` | this version doesn't fully do it yet | one lettered choice quoting the words: a) build it in this version, b) leave it out. It recommends a, unless the line says `leave out: <reason>`, shown on the choice. `size: <n>` is shown as the cost |
|
||||
| `ruled out <date>: "<ruling>"` | the owner ruled it out himself | when one of his recorded replies holds the ruling, it beats a reviewer: a finding that says the plan falls short of these words becomes one item recommending his ruling, and a cut of them stays a cut. When no recorded reply holds it, the gate asks him once, with the ruling and any finding side by side and the ruling recommended |
|
||||
| `ruled out <date>: "<ruling>"` | the owner ruled it out himself | `<date>` names the one recorded reply the ruling came from: its record id, its time (`2026-11-18 09:20Z`), or just its day when he sent only one reply that day. When that one reply holds the ruling, it beats a reviewer. A finding that says the plan falls short of these words becomes one item recommending his ruling, a cut of them stays a cut, and keeping the ruling leaves no build task for the fix he turned down. When the citation names no reply or more than one, or the reply it names doesn't hold the ruling, the gate asks him once, with the ruling and any finding side by side and the ruling recommended |
|
||||
|
||||
A public export (`gstack-autoplan export --public`) drops the owner's words: every quote and every ruling, however short, wherever it appears in quote marks, and every `leave out:` reason, wherever the gate shows it. A quote of three or more words is also caught where it is repeated without quote marks.
|
||||
|
||||
|
||||
Reference in new issue
Block a user