strom-research 1.33.0-beta.2 → 1.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.cs.md CHANGED
@@ -7,7 +7,7 @@ Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou n
7
7
 
8
8
  ## 1.33.0
9
9
 
10
- *Připravuje se: bety do 1.33.0-beta.2. Oddíl bude úplný s vydáním.*
10
+ *15. 11. 2026 · patří k aplikaci Strom 3.28.0.*
11
11
 
12
12
  - **Archivy, kam smí jen prohlížeč člověka:** agent tam už nezkouší stahovač stromu ani hledání v katalogu. Jejich
13
13
  snímky jdou po jednom přes prohlížeč agenta (`strom media save`), jakmile to člověk povolí „přes prohlížeč“, jinak je
@@ -15,10 +15,11 @@ Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou n
15
15
  - **Snímky ukládané přes prohlížeč:** kniha se vezme z toho, na co úkol čeká, nebo ze stránky archivu; uložený soubor
16
16
  nese značku výzkumu, takže se nikdy nevezme soubor jiného výzkumu ze sdílené složky stažených souborů. Najdou se i prohlížeče snímků vestavěné do kódu stránky (OpenSeadragon
17
17
  uvnitř Reactu); prohlížeč, ke kterému strom nedosáhne, je ohlášen spolu s tím, co místo toho udělá člověk.
18
- - **Hledání:** hledání, které něco našlo, se zapisuje až po svém zdroji a bez zdroje řekne pořadí; zdroj nalezený omylem
19
- se odebere přes `strom search edit --drop-found`.
20
- - **Historie:** `strom history hide|show` zkontrolují, co dostaly, dřív než se na cokoli zeptají; jedna událost se čte
21
- přes `strom history list --event <id>`.
18
+ - **Hledání a historie:** hledání, které něco našlo, se zapisuje až po svém zdroji a bez zdroje řekne pořadí; zdroj
19
+ nalezený omylem se odebere přes `strom search edit --drop-found`. `strom history hide|show` zkontrolují, co dostaly,
20
+ dřív než se na cokoli zeptají; jedna událost se čte přes `strom history list --event <id>`.
21
+ - **Zápisy po snímcích, které právě přišly:** sezení začaté na úkolu, jehož uložené snímky právě přišly, se zapíše;
22
+ výzkum, jehož každý zápis byl potom odmítnut, zapisuje znovu sám od sebe.
22
23
  - **Z aplikace Strom:** údaj poslaný zpět v jiném tvaru téhož druhu (událost typu Census místo sčítání) se pozná jako
23
24
  tentýž údaj – beze změny, když se nic nezměnilo, úprava toho údaje, když se změnilo datum.
24
25
  - **Slabé a očekávané snímky:** slabý snímek se uloží ještě jednou přes `strom media save --again` jako nová kopie vedle
package/CHANGELOG.de.md CHANGED
@@ -7,7 +7,7 @@ Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Ins
7
7
 
8
8
  ## 1.33.0
9
9
 
10
- *In Vorbereitung: die Betas bis 1.33.0-beta.2. Der Abschnitt ist mit dem Release vollständig.*
10
+ *15.11.2026 · gehört zur Strom-App 3.28.0.*
11
11
 
12
12
  - **Archive, die nur der Browser eines Menschen betreten darf:** Der Agent versucht dort weder den Downloader von strom
13
13
  noch die Katalogsuche. Ihre Bilder kommen einzeln über den Browser des Agenten (`strom media save`), sobald der
@@ -17,10 +17,13 @@ Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Ins
17
17
  Seite des Archivs; die gespeicherte Datei trägt das Zeichen der Forschung, sodass nie eine Datei einer anderen
18
18
  Forschung aus dem gemeinsamen Download-Ordner genommen wird. Auch Bildbetrachter im eigenen Code einer Seite (OpenSeadragon in React) werden gefunden; ein Betrachter,
19
19
  den strom nicht erreicht, wird mit dem genannt, was der Mensch stattdessen tut.
20
- - **Suchen:** Eine Suche, die etwas gefunden hat, wird nach ihrer Quelle eingetragen und nennt ohne Quelle die
21
- Reihenfolge; eine versehentlich gefundene Quelle wird mit `strom search edit --drop-found` entfernt.
22
- - **Verlauf:** `strom history hide|show` prüfen, was sie bekommen, bevor jemand gefragt wird; ein einzelnes Ereignis
23
- liest `strom history list --event <id>`.
20
+ - **Suchen und Verlauf:** Eine Suche, die etwas gefunden hat, wird nach ihrer Quelle eingetragen und nennt ohne Quelle
21
+ die Reihenfolge; eine versehentlich gefundene Quelle wird mit `strom search edit --drop-found` entfernt. `strom history
22
+ hide|show` prüfen, was sie bekommen, bevor jemand gefragt wird; ein einzelnes Ereignis liest `strom history list
23
+ --event <id>`.
24
+ - **Schreiben nach eben gekommenen Bildern:** Eine Sitzung, die bei einer Aufgabe begann, deren gespeicherte Bilder
25
+ eben gekommen waren, wird festgeschrieben; eine Forschung, deren jedes Schreiben danach abgelehnt wurde, schreibt von
26
+ selbst wieder.
24
27
  - **Aus der Strom-App:** Eine Angabe, die in einer anderen Form derselben Art zurückkommt (ein Ereignis vom Typ Census
25
28
  für eine Volkszählung), wird als dieselbe Angabe erkannt – keine Änderung, wenn sich nichts geändert hat, eine
26
29
  Bearbeitung dieser Angabe, wenn sich ihr Datum geändert hat.
package/CHANGELOG.md CHANGED
@@ -7,7 +7,7 @@ The changes of each version in short. The full notes and the install lines are o
7
7
 
8
8
  ## 1.33.0
9
9
 
10
- *In preparation: the betas up to 1.33.0-beta.2. The section is complete with the release.*
10
+ *2026-11-15 · goes with the Strom app 3.28.0.*
11
11
 
12
12
  - **Archives only a person's browser may enter:** the agent no longer tries strom's downloader or catalogue search
13
13
  there. Their images go one at a time through the agent's browser (`strom media save`) once the person allows "through
@@ -15,10 +15,11 @@ The changes of each version in short. The full notes and the install lines are o
15
15
  - **Images saved through the browser:** the book is taken from what the task waits for or from the archive's page; the
16
16
  saved file carries the research's mark, so a file of another research in the shared downloads folder is never taken. Image viewers built into a page's own code (OpenSeadragon
17
17
  inside React) are found too; a viewer strom cannot reach is said with what the person does instead.
18
- - **Searches:** a search that found something is recorded after its source, and says the order when the source is
19
- missing; a source found by mistake is taken off with `strom search edit --drop-found`.
20
- - **History:** `strom history hide|show` check what they are given before anyone is asked; one event is read with
21
- `strom history list --event <id>`.
18
+ - **Searches and history:** a search that found something is recorded after its source, and says the order when the
19
+ source is missing; a source found by mistake is taken off with `strom search edit --drop-found`. `strom history
20
+ hide|show` check what they are given before anyone is asked; one event is read with `strom history list --event <id>`.
21
+ - **Writes after images that just came:** a session started on a task whose saved images had just come is committed; a
22
+ research whose every write was refused after it writes again by itself.
22
23
  - **From the Strom app:** a fact sent back in another shape of the same kind (an event of type Census for a census) is
23
24
  recognized as that fact — no change when nothing changed, an edit of that fact when its date did.
24
25
  - **Weak and awaited images:** a weak scan is saved once more with `strom media save --again` as a new copy beside the
package/CHANGELOG.pl.md CHANGED
@@ -7,7 +7,7 @@ Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia inst
7
7
 
8
8
  ## 1.33.0
9
9
 
10
- *W przygotowaniu: bety do 1.33.0-beta.2. Sekcja będzie kompletna z wydaniem.*
10
+ *15.11.2026 · współpracuje z aplikacją Strom 3.28.0.*
11
11
 
12
12
  - **Archiwa, do których wolno wejść tylko przeglądarką człowieka:** agent nie próbuje już tam pobierania przez strom ani
13
13
  wyszukiwania w katalogu. Ich skany idą pojedynczo przez przeglądarkę agenta (`strom media save`), gdy człowiek zezwoli
@@ -17,10 +17,11 @@ Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia inst
17
17
  plików. Znajdowane są też przeglądarki skanów wbudowane w kod
18
18
  strony (OpenSeadragon w React); przeglądarka, do której strom nie sięga, jest zgłaszana razem z tym, co zamiast tego
19
19
  robi człowiek.
20
- - **Wyszukiwania:** wyszukiwanie, które coś znalazło, zapisuje się po swoim źródle, a bez źródła podaje kolejność;
21
- źródło znalezione omyłkowo usuwa `strom search edit --drop-found`.
22
- - **Historia:** `strom history hide|show` sprawdzają, co dostały, zanim o cokolwiek zapytają; jedno zdarzenie czyta
23
- `strom history list --event <id>`.
20
+ - **Wyszukiwania i historia:** wyszukiwanie, które coś znalazło, zapisuje się po swoim źródle, a bez źródła podaje
21
+ kolejność; źródło znalezione omyłkowo usuwa `strom search edit --drop-found`. `strom history hide|show` sprawdzają,
22
+ co dostały, zanim o cokolwiek zapytają; jedno zdarzenie czyta `strom history list --event <id>`.
23
+ - **Zapisy po skanach, które właśnie przyszły:** sesja rozpoczęta przy zadaniu, którego zapisane skany właśnie
24
+ przyszły, zostaje zapisana; badanie, którego każdy zapis był potem odrzucany, znowu zapisuje samo.
24
25
  - **Z aplikacji Strom:** fakt odesłany w innej postaci tego samego rodzaju (zdarzenie typu Census zamiast spisu) jest
25
26
  rozpoznawany jako ten sam fakt – bez zmiany, gdy nic się nie zmieniło, jako edycja tego faktu, gdy zmieniła się data.
26
27
  - **Słabe i oczekiwane skany:** słaby skan zapisuje się jeszcze raz przez `strom media save --again` jako nową kopię obok
@@ -151,6 +151,7 @@ nenapsáno) · `neplatí od <verze>`.
151
151
  | R9.4.2 | R9-archives.md | výzkum 1.27.0 | koncept | Vestavěné prohlížeče a ovládání počítače: nedoporučené | Built-in browsers and computer use: not recommended | Eingebaute Browser und Computersteuerung: nicht empfohlen | Wbudowane przeglądarki i sterowanie komputerem: niepolecane |
152
152
  | R9.4.3 | R9-archives.md | výzkum 1.27.0 | koncept | Stav prohlížeče ve strom doctor a v aplikaci | The browser's state in strom doctor and the app | Zustand des Browsers in strom doctor und in der App | Stan przeglądarki w strom doctor i w aplikacji |
153
153
  | R9.5 | R9-archives.md | výzkum 1.27.0 | koncept | Snímek přes prohlížeč agenta | An image through the agent's browser | Ein Bild über den Browser des Agenten | Skan przez przeglądarkę agenta |
154
+ | R9.5.1 | R9-archives.md | výzkum 1.33.0 | koncept | Ostřejší kopie snímku | A sharper copy of an image | Eine schärfere Kopie eines Bildes | Ostrzejsza kopia skanu |
154
155
  | R9.6 | R9-archives.md | výzkum 1.0.0 | koncept | Čekání na snímky a návrat úkolu | Waiting for images and the task's return | Warten auf Bilder und Rückkehr der Aufgabe | Oczekiwanie na skany i powrót zadania |
155
156
  | R9.7 | R9-archives.md | výzkum 1.14.0 | koncept | Automatické sezení a chat | An automatic session and a chat | Automatische Sitzung und Chat | Sesja automatyczna i czat |
156
157
  | R9.8 | R9-archives.md | výzkum 1.27.0 | koncept | Co se stane s úkolem: tabulka | What happens to a task: a table | Was mit einer Aufgabe geschieht: eine Tabelle | Co dzieje się z zadaniem: tabela |
@@ -1 +1 @@
1
- 3a5bd917a9b98fe34ae7f3b00190fe63f01389fb
1
+ 6b1e28a81ac8d9cada09d015518150116cdca9cf
@@ -87,14 +87,15 @@ Otevřené úkoly všech běžících linií tvoří jednu frontu. Agent vždy b
87
87
  9. druh úkolu: podklady → kde jsou záznamy → doložení vazby → ověření → obohacení osoby → žádost do archivu →
88
88
  vyprávění;
89
89
  10. stáří úkolu.
90
- - **Ovládání:** terminál: `strom task list`, `strom task next`. Aplikace: oddíl **Fronta**.
90
+ - **Ovládání:** terminál: `strom task list` (`--all`: všechny úkoly v každém stavu, od výzkumu 1.33.0),
91
+ `strom task next`. Aplikace: oddíl **Fronta**.
91
92
  - **Platí od:** výzkum 1.0.0 (klíče 1, 7–10). Klíč 6 od 1.1.0, propojení hypotéz od 1.17.0, klíč 3 od 1.22.0,
92
93
  klíč 4 a místa na žádost od 1.25.0. Klíč 2 od 1.26.0.
93
94
  - **Od výzkumu 1.32.0:** most hledá v celé frontě (číslo úkolu nebo osoby, jména osob, slova úkolu, jeho kniha,
94
95
  signatura, archiv a místo, bez ohledu na diakritiku) a hledaný text se nikam neukládá, ani do záznamu mostu.
95
96
  V aplikaci: pole hledání ve **Frontě** ([S4.2.1](S4-research-from-the-app.md#S4.2.1)).
96
97
 
97
- <!-- zdroj: research:src/core/queue.ts rankTasks (řazení :374-396), LEVEL_ORDER :52, linksFirst (hypolinks.ts:453), placesFirst · verze klíčů: git log -S na „a.blocked - b.blocked“ (v1.0.0), „a.story - b.story“ (v1.1.0), „a.first - b.first“ (v1.17.0), „a.hist - b.hist“ (v1.22.0), „a.offLine - b.offLine“ a placesFirst (v1.25.0) · 1.32.0: src/core/live.ts searchQueue, queueAsk (GET /queue?q=, q nikdy v logu mostu), funkce queue.search · CHANGELOG.cs.md 1.32.0 -->
98
+ <!-- zdroj: research:src/core/queue.ts rankTasks (řazení :374-396), LEVEL_ORDER :52, linksFirst (hypolinks.ts:453), placesFirst · verze klíčů: git log -S na „a.blocked - b.blocked“ (v1.0.0), „a.story - b.story“ (v1.1.0), „a.first - b.first“ (v1.17.0), „a.hist - b.hist“ (v1.22.0), „a.offLine - b.offLine“ a placesFirst (v1.25.0) · 1.32.0: src/core/live.ts searchQueue, queueAsk (GET /queue?q=, q nikdy v logu mostu), funkce queue.search · CHANGELOG.cs.md 1.32.0 · 1.33.0: research:c50f80f5 task list --all (= --state all), strom help task list -->
98
99
 
99
100
  <a id="R2.2.1"></a>
100
101
  ### R2.2.1 Strategie fronty
@@ -297,7 +297,12 @@ Marné hledání je výsledek. Každé hledání se zapíše, i bez nálezu, s t
297
297
  prohledat stejnou knihu dvakrát.
298
298
 
299
299
  - **Hranice (hlídá kód):**
300
- - `--result found|negative|partial|inconclusive`; `found` potřebuje `--found S…` (pramen se zapíše první);
300
+ - `--result found|negative|partial|inconclusive`; `found` potřebuje `--found S…`: pramen se zapíše první
301
+ (`strom source add`). Bez `--found` kód hledání odmítne a řekne toto pořadí s přesným dalším příkazem (od výzkumu
302
+ 1.33.0);
303
+ - pramen připojený k hledání omylem odebere `strom search edit Q… --drop-found S… --reason "…"` (i víc pramenů),
304
+ `--no-found` odebere všechny. Hledání `found`, kterému nezbude žádný pramen, musí říct, čím je teď
305
+ (`--result negative|partial|inconclusive`), jinak se úprava odmítne (od výzkumu 1.33.0);
301
306
  - `negative` kód odmítne, dokud v prohledaném rozsahu zůstává místo, které čtenář nahlásil jako nejasné, a nikdo
302
307
  se na ně od té doby nepodíval v plné velikosti, na správné straně dvoustrany. Počítají se čtení od prvního
303
308
  sezení úkolu (jinak posledních 24 hodin). Pak zbývá `--result inconclusive` s místem v `--note`, nebo
@@ -308,10 +313,12 @@ prohledat stejnou knihu dvakrát.
308
313
  - **Jen metodika:** negativ až po pohledu na strany v plné velikosti. Chybějící strany knihy nejsou prohledané
309
314
  (`--pages 40-52,55-69`). Po `--until-found` jen přečtené snímky, jako `--result partial`.
310
315
  - **Ovládání:** terminál: `strom search add "…" --recordset B… --years … --surname … --pages … --method
311
- index|page-by-page|full-text|catalog|web|request|other --result negative --by main|reader|user --note "…"`.
312
- - **Platí od:** výzkum 1.0.0; odmítnutí nad nejasným místem a „jen v rejstříku“ 1.14.0
316
+ index|page-by-page|full-text|catalog|web|request|other --result negative --by main|reader|user --note "…"`
317
+ (`--by agent` je totéž co `main`); oprava `strom search edit Q… --drop-found S…|--no-found --reason "…"`.
318
+ - **Platí od:** výzkum 1.0.0; odmítnutí nad nejasným místem a „jen v rejstříku“ 1.14.0; pořadí s pramenem,
319
+ `search edit --drop-found|--no-found` a `--by agent` 1.33.0
313
320
 
314
- <!-- zdroj: research:assets/method/core.md:22-25 · reading.md:22-30, :70-84 · src/commands/analysis.ts:208-268 · src/core/model.ts:484-485 · src/commands/readings.ts:347-380 openUnclear, :414 refuseNegativeOverUnclear · src/core/evidence.ts:21 searchedAs · src/commands/tasks.ts:348-351 -->
321
+ <!-- zdroj: research:assets/method/core.md:22-25 · reading.md:22-30, :70-84 · src/commands/analysis.ts:208-268 · src/core/model.ts:484-485 · src/commands/readings.ts:347-380 openUnclear, :414 refuseNegativeOverUnclear · src/core/evidence.ts:21 searchedAs · src/commands/tasks.ts:348-351 · 1.33.0: research:7bdba196 search add (search.found.first), search edit --drop-found/--no-found (search.found.none|empty|not|which), strom help search edit · c50f80f5 --by agent (= main) · CHANGELOG.cs.md 1.33.0 -->
315
322
 
316
323
  <a id="R3.7"></a>
317
324
  ## R3.7 Kdy se agent ptá člověka
@@ -201,7 +201,9 @@ Výzkum k tomu přiřadí místa k regionům dějin.
201
201
  `strom task next --history`, v rozhovoru sám ne. Místo, které nejde přiřadit, se označí jako nedohledané.
202
202
  - **Ovládání:** aplikace: **Dějiny míst**, **Najít dějiny místa a okolí…**, **Přiřadit region**, stavy **Dějiny místa:
203
203
  čeká**, **Dějiny místa: hledá se**, **Výzkum místo nedohledal** · terminál: **Nastavení → Samostatná práce agenta →
204
- Dějiny**; `strom config set experiments.history on`, `strom history place <L…>`, `strom history map --unlocated`
205
- - **Platí od:** výzkum 1.22.0
204
+ Dějiny**; `strom config set experiments.history on`, `strom history place <L…>`,
205
+ `strom history map "<místo>" --region <id>[:<od>-<do>]` (jednou za každý region, ke kterému místo patřilo) nebo
206
+ `--unlocated --why "…"`, `strom history list --event <id>` (jedna událost dějin)
207
+ - **Platí od:** výzkum 1.22.0; `history list --event` 1.33.0
206
208
 
207
- <!-- zdroj: research:src/core/pastevents.ts PACE_EVERY (:2621), experiments.historyPace · research:src/core/placehistory.ts · research:src/commands/history.ts place, map --unlocated, adopt · research:assets/lang/cs.json ui.alone.title, ui.alone.history · app:src/strings.ts history.* (v3.21.2 :13121–13235) · CHANGELOG.cs.md 1.22.0 (l.229) -->
209
+ <!-- zdroj: research:src/core/pastevents.ts PACE_EVERY (:2621), experiments.historyPace · research:src/core/placehistory.ts · research:src/commands/history.ts place, map --unlocated, adopt · research:assets/lang/cs.json ui.alone.title, ui.alone.history · app:src/strings.ts history.* (v3.21.2 :13121–13235) · CHANGELOG.cs.md 1.22.0 (l.229) · 1.33.0: research:926375ea history list --event · c50f80f5 history map bez --region (nápověda celého řádku) · strom help history map, history list -->
@@ -71,11 +71,16 @@ knihu (soubor záznamů) s přístupem: adresou nebo signaturou.
71
71
  - **Hranice:** od 30 snímků; jinou hranici (nebo nikdy) určí odpověď člověka na otázku `index.first`
72
72
  (`strom media calibrate --questions`). V rozhovoru jen řekne, v sezení `strom run` čtení odmítne, dokud agent
73
73
  nedá `--no-index`.
74
+ - **Hranice (která farnost, od výzkumu 1.33.0):** rejstřík patří ke knize, když mají společné místo, nebo když farnost
75
+ jednoho je místem nebo farností druhého. Farnost místa se bere jen s roky, které zasahují do let knihy; farnost s
76
+ roky v letech knihy má přednost před farnostmi bez roků. Víc farností bez roků u jednoho místa farnost neurčuje a
77
+ přes farnost nepáruje nic (místo samo dál ano). Místo zapsané jako `L…` bere jen své vlastní farnosti, místo
78
+ zapsané textem jen tehdy, když je ve výzkumu jediné místo toho jména. Rejstřík jiné farnosti se tak nenabídne.
74
79
  - **Proč:** podle komentáře v kódu se od zhruba 20–40 snímků vyplatí rejstřík víc než listování. Případ ze skutečného
75
80
  výzkumu: čtenáři přečetli 61 snímků knihy oddaných, zatímco rejstřík farnosti ležel stažený.
76
- - **Platí od:** výzkum 1.14.0
81
+ - **Platí od:** výzkum 1.14.0; párování farnosti 1.33.0
77
82
 
78
- <!-- zdroj: research:src/core/indexfirst.ts:1-28 INDEX_FIRST_DEFAULT · src/commands/read.ts:217 --no-index, :265 guardIndexFirst -->
83
+ <!-- zdroj: research:src/core/indexfirst.ts:1-28 INDEX_FIRST_DEFAULT · src/commands/read.ts:217 --no-index, :265 guardIndexFirst · 1.33.0: research:a722a101 src/core/indexfirst.ts covers, sameParish (roky farnosti, víc nedatovaných farností nepáruje, L-ID jen vlastní) · dirigent:prace/1114-vyzkum-z-hlidani-2/vysledek-sub2.md B4 -->
79
84
 
80
85
  <a id="R8.1.2"></a>
81
86
  ### R8.1.2 Poučení ke knize
@@ -260,21 +260,55 @@ snímek v Chrome a uloží to, co ukazuje prohlížeč snímků archivu.
260
260
  prohlížeč kartu kreslí (nekreslí kartu za jinou kartou ani v zakrytém či minimalizovaném okně). Karta nekreslená
261
261
  30 s se ohlásí jako taková („the browser did not draw the tab with the viewer for 30 s …“: karta dopředu, okno
262
262
  odkryté, pak skript znovu); prohlížeč archivu, který mezitím přestránkuje na jiný snímek, neuloží nic;
263
- - příkaz nastaví úkol na čekání na ten snímek. Soubor se uloží do složky stažených souborů (`strom-T…-<číslo>.jpg`)
264
- a `strom media add --inbox --waiting` ho přesune do složky úkolu pod číslem snímku ([R9.6](#R9.6)).
263
+ - příkaz nastaví úkol na čekání na ten snímek. Soubor se uloží do složky stažených souborů jako
264
+ `strom-<značka výzkumu>-T…-<číslo>.jpg` (např. `strom-3f2a9c1b-T0007-0040.jpg`, číslo snímku na čtyři místa) a
265
+ `strom media add --inbox --waiting` ho přesune do složky úkolu pod číslem snímku ([R9.6](#R9.6));
266
+ - značka výzkumu je prvních 8 šestnáctkových znaků id výzkumu. Složku stažených souborů sdílejí všechny výzkumy
267
+ počítače: soubor jiného výzkumu se nikdy nevezme. Soubor uložený před výzkumem 1.33.0 (`strom-T…-<číslo>.jpg`,
268
+ bez značky) převezme jen výzkum, jehož záznam uložení to jméno uvádí;
269
+ - kopii, kterou prohlížeč uloží pozdě nebo dvakrát („… (1).jpg“), `strom media add --inbox --waiting` ze složky
270
+ stažených souborů odebere, až je snímek ve výzkumu (záznam uložení drží 14 dní). Soubor, který strom
271
+ nepojmenoval, nikdy;
272
+ - bez `--recordset` se kniha vezme z toho, na co úkol čeká, jinak z knih úkolu v archivu adresy `--at`. Víc takových
273
+ knih strom vyjmenuje a nic neuloží;
274
+ - prohlížeč snímků, který na stránce je, ale strom k němu nedosáhne, se ohlásí: nic se neuloží a hláška řekne, co
275
+ udělá člověk (snímek uloží ve svém prohlížeči do složky úkolu).
265
276
  - **Hranice:** Chrome uloží z jedné stránky jen jeden soubor. Další stažení z téže stránky musí dovolit člověk v
266
277
  adresním řádku Chrome; agent nastavení Chrome nikdy nemění. Snímek, jehož soubor ani 5 s po pokynu k uložení
267
278
  ve složce stažených souborů není, počítá `strom media add --inbox --waiting` za zadržený: řekne to agentovi a čekání úkolu napíše člověku, kterému webu
268
279
  povolit stahování více souborů („prohlížeč snímek {n} zadržel: povolit webu {web} stahování více souborů, jednou
269
- (ikona vpravo v adresním řádku prohlížeče)“).
280
+ (ikona vpravo v adresním řádku prohlížeče)“). Stahování, které se ještě zapisuje (`.crdownload`, `.part` a
281
+ podobně), příkaz krátce počká; když ani pak nedoběhne, řekne to a za zadržené ho nepočítá.
270
282
  - **Jen metodika:** stahovač archivu, jehož prohlížeč ukazuje snímky po dlaždicích, ukládá přes prohlížeč také, i
271
283
  část snímku; stránku knihy otevře jednou a nikdy ji neobnovuje.
272
284
  - **Proč:** svolení „přes prohlížeč“ dovoluje to, co by udělal člověk ve svém prohlížeči, jeho tempem.
273
285
  - **Ovládání:** terminál (agent): `strom media save T… --image <číslo> --at <adresa> [--recordset B…]`, potom
274
286
  `strom media add --inbox --waiting`.
275
- - **Platí od:** výzkum 1.27.0. Zadržený snímek se ohlásí od výzkumu 1.30.0, nekreslená karta od 1.31.0.
287
+ - **Platí od:** výzkum 1.27.0. Zadržený snímek se ohlásí od výzkumu 1.30.0, nekreslená karta od 1.31.0. Značka
288
+ výzkumu ve jménu souboru, kniha bez `--recordset`, úklid pozdních kopií, čekání na zapisované stahování a
289
+ nedosažitelný prohlížeč snímků od 1.33.0.
276
290
 
277
- <!-- zdroj: research:a4a2f6c0 src/core/browser.ts SaveRecord, HELD_AFTER_MS 5000 · src/commands/media.ts heldSaves, heldLine (media add --inbox --waiting) · assets/lang/cs.json browser.wait.held · research:src/commands/media.ts:1206-1294 media save (browserGate, guarded browser, permission browser, Downloads strom-T…-n.jpg) · commit dadd91e7 (viewer paged on) · src/core/browserhelp.ts agentBrowserAdvice · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · research:c6b6444d, dee0bb03 src/core/browser.ts VIEWER_HIDDEN_MS = 30_000, CAPTURE_JS (čekání jen na snímky kreslené karty, NOT_SHOWN, „the viewer's tiles did not all come in 30 s“, „the viewer was paged to another image … nothing saved“) · CHANGELOG.cs.md 1.31.0 -->
291
+ <!-- zdroj: research:a4a2f6c0 src/core/browser.ts SaveRecord, HELD_AFTER_MS 5000 · src/commands/media.ts heldSaves, heldLine (media add --inbox --waiting) · assets/lang/cs.json browser.wait.held · research:src/commands/media.ts:1206-1294 media save (browserGate, guarded browser, permission browser) · commit dadd91e7 (viewer paged on) · src/core/browserhelp.ts agentBrowserAdvice · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · research:c6b6444d, dee0bb03 src/core/browser.ts VIEWER_HIDDEN_MS = 30_000, CAPTURE_JS (čekání jen na snímky kreslené karty, NOT_SHOWN, „the viewer's tiles did not all come in 30 s“, „the viewer was paged to another image … nothing saved“) · CHANGELOG.cs.md 1.31.0 · 1.33.0: research:7306f2a7 src/core/browser.ts researchMark (8 hex z id), waitFileBase (strom-<značka>-T…-NNNN), staré jméno jen podle SaveRecord.file · f6de01b7 src/commands/media.ts saveBookOf (kniha bez --recordset), tidyDownloads, TAKEN_KEEP_MS 14 dní · 903ce928 media add --inbox --waiting (zapisované stahování, STROM_DOWNLOAD_WAIT_MS, heldSaves dl.unfinished) · f5339b36 findViewer (OpenSeadragon v kódu stránky), hláška „strom cannot reach it … nothing saved“ · strom help media save · CHANGELOG.cs.md 1.33.0 -->
292
+
293
+ <a id="R9.5.1"></a>
294
+ ### R9.5.1 Ostřejší kopie snímku
295
+
296
+ Snímek, který už je ve výzkumu a na čtení je slabý, uloží agent přes prohlížeč ještě jednou: s prohlížečem archivu
297
+ přiblíženým, nebo v plném rozlišení.
298
+
299
+ - **Hlídá kód:**
300
+ - `strom media save … --again` uloží registrovaný snímek jako novou kopii vedle staré; nic se neodebere;
301
+ - obrazem snímku je celá kopie s nejvíce pixely (šířka × výška). Pohled, čtení a výřezy přes `B…:<číslo>` berou
302
+ ji; citace, která už ukazuje na konkrétní kopii (`M…`), na ní zůstane;
303
+ - dokud nová kopie nepřijde, úkol na snímek čeká dál. Přijde-li tentýž sken, nic se neregistruje dvakrát a úkol se
304
+ vrátí do fronty;
305
+ - bez `--again` se uložení registrovaného snímku odmítne a hláška `--again` nabídne. Brief u slabých skenů archivu,
306
+ kam chodí prohlížeč agenta, nabídne `--again` místo žádosti na člověka.
307
+ - **Hranice:** jen celý snímek, ne jeho výřez.
308
+ - **Ovládání:** terminál (agent): `strom media save T… --image <číslo> --recordset B… --at <adresa> --again`.
309
+ - **Platí od:** výzkum 1.33.0
310
+
311
+ <!-- zdroj: research:6651b60b src/commands/media.ts media save --again, againPending, settleAgain · src/core/media.ts findImage (nejvíc pixelů, ne část) · src/core/browser.ts SaveRecord.again · strom help media save (--again) · dirigent:prace/1114-vyzkum-z-hlidani-2/vysledek-sub1.md (A2, otevřené: výřez ne; citace na M… zůstávají) · CHANGELOG.cs.md 1.33.0 -->
278
312
 
279
313
  <a id="R9.6"></a>
280
314
  ## R9.6 Čekání na snímky a návrat úkolu
@@ -290,6 +324,8 @@ vrátí do fronty sám, až jsou ve výzkumu všechny jeho snímky.
290
324
  - soubor se převezme, až se 3 s nemění (velký sken se nikdy nepřevezme napůl);
291
325
  - převzetí: hned, když běží most do aplikace Strom (dívá se do složek čekajících úkolů, znovu každých 30 s); jinak
292
326
  při startu dalšího sezení; nebo hned příkazem `strom media add --inbox --waiting`;
327
+ - `strom media view B…:<číslo>` snímku, na který úkol čeká, řekne, kdo na něj čeká (prohlížeč agenta, plán
328
+ stahovače v prohlížeči, nebo člověk) a přesný další krok (od výzkumu 1.33.0);
293
329
  - úkol se vrátí, až jsou tam všechny snímky, s poznámkou, co přišlo. U části čeká dál a Co čeká ukazuje, kolik je
294
330
  uloženo z kolika a které chybí;
295
331
  - snímky z aplikace jdou rovnou k úkolu: očíslované podle snímku, který aplikace uvede, jinak podle jména souboru,
@@ -322,7 +358,7 @@ vrátí do fronty sám, až jsou ve výzkumu všechny jeho snímky.
322
358
  - **Platí od:** výzkum 1.0.0 (složka ve schránce), probuzení po uložení od 1.15.0. Převzetí bez příkazu, části snímků,
323
359
  odpověď a snímky z aplikace a archiv pod jedním jménem od výzkumu 1.27.0 a aplikace 3.23.0.
324
360
 
325
- <!-- zdroj: research:src/commands/tasks.ts:1041 task wait (--images, folder) · src/core/media.ts:117 inboxFolderFor · src/core/inboxwait.ts:25 SETTLE_MS · src/core/inboxwatch.ts:1-8 (30 s) · src/commands/media.ts:141-180 wakeWaiting · src/core/live.ts waiting/<T> answer, PUT /media (X-Strom-Task, X-Strom-Image, 409 waiting.image-same) · src/commands/media.ts:403-478 (same sha under its number → 200 same: true, added []; another number/book → 409 waiting.image-same) · src/core/waiting.ts actionsOf, archiveGroup · src/core/waitkind.ts waitGroupOf (repo: before archive:, host:) · assets/method/waiting.md "Images saved by hand" (the one exception, 7bd55fa1) · assets/method/reading.md · src/commands/guide.ts rule 7 · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · app:CHANGELOG.cs.md 3.23.0 · src/research-waiting.ts:216-272 (actions, order), :448-488 assignImages · src/research-waiting-write.ts:532 WAITING_ANSWER_MAX · src/ui/research-overview-ui.ts:698-812 group head · src/strings.ts live.waitingTask -->
361
+ <!-- zdroj: research:src/commands/tasks.ts:1041 task wait (--images, folder) · src/core/media.ts:117 inboxFolderFor · src/core/inboxwait.ts:25 SETTLE_MS · src/core/inboxwatch.ts:1-8 (30 s) · src/commands/media.ts:141-180 wakeWaiting · src/core/live.ts waiting/<T> answer, PUT /media (X-Strom-Task, X-Strom-Image, 409 waiting.image-same) · src/commands/media.ts:403-478 (same sha under its number → 200 same: true, added []; another number/book → 409 waiting.image-same) · src/core/waiting.ts actionsOf, archiveGroup · src/core/waitkind.ts waitGroupOf (repo: before archive:, host:) · assets/method/waiting.md "Images saved by hand" (the one exception, 7bd55fa1) · assets/method/reading.md · src/commands/guide.ts rule 7 · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · app:CHANGELOG.cs.md 3.23.0 · src/research-waiting.ts:216-272 (actions, order), :448-488 assignImages · src/research-waiting-write.ts:532 WAITING_ANSWER_MAX · src/ui/research-overview-ui.ts:698-812 group head · src/strings.ts live.waitingTask · 1.33.0: research:bfa01a34 src/commands/media.ts media view (snímek, na který úkol čeká: kdo a další krok) -->
326
362
 
327
363
  <a id="R9.7"></a>
328
364
  ## R9.7 Automatické sezení a chat
@@ -99,7 +99,8 @@ begonnene Aufgabe geht allen voran.
99
99
  9. Art der Aufgabe: Unterlagen → wo die Einträge liegen → Beleg einer Verbindung → Prüfung → Ergänzung einer
100
100
  Person → Anfrage an ein Archiv → Erzählung;
101
101
  10. Alter der Aufgabe.
102
- - **Bedienung:** Terminal: `strom task list`, `strom task next`. App: Abschnitt **Warteschlange**.
102
+ - **Bedienung:** Terminal: `strom task list` (`--all`: alle Aufgaben in jedem Zustand, seit Forschung 1.33.0),
103
+ `strom task next`. App: Abschnitt **Warteschlange**.
103
104
  - **Gilt seit:** Forschung 1.0.0 (Schlüssel 1, 7–10). Schlüssel 6 seit 1.1.0, Verknüpfung von Hypothesen seit
104
105
  1.17.0, Schlüssel 3 seit 1.22.0, Schlüssel 4 und Orte auf Anforderung seit 1.25.0. Schlüssel 2 seit 1.26.0.
105
106
  - **Ab Forschung 1.32.0:** die Brücke sucht in der ganzen Warteschlange (Nummer der Aufgabe oder Person, Namen der
@@ -107,7 +108,7 @@ begonnene Aufgabe geht allen voran.
107
108
  und der gesuchte Text wird nirgends gespeichert, auch nicht im Protokoll der Brücke.
108
109
  In der App: das Suchfeld in der **Warteschlange** ([S4.2.1](S4-research-from-the-app.md#S4.2.1)).
109
110
 
110
- <!-- zdroj: research:src/core/queue.ts rankTasks (řazení :374-396), LEVEL_ORDER :52, linksFirst (hypolinks.ts:453), placesFirst · verze klíčů: git log -S na „a.blocked - b.blocked“ (v1.0.0), „a.story - b.story“ (v1.1.0), „a.first - b.first“ (v1.17.0), „a.hist - b.hist“ (v1.22.0), „a.offLine - b.offLine“ a placesFirst (v1.25.0) · 1.32.0: src/core/live.ts searchQueue, queueAsk (GET /queue?q=, q nikdy v logu mostu), funkce queue.search · CHANGELOG.cs.md 1.32.0 -->
111
+ <!-- zdroj: research:src/core/queue.ts rankTasks (řazení :374-396), LEVEL_ORDER :52, linksFirst (hypolinks.ts:453), placesFirst · verze klíčů: git log -S na „a.blocked - b.blocked“ (v1.0.0), „a.story - b.story“ (v1.1.0), „a.first - b.first“ (v1.17.0), „a.hist - b.hist“ (v1.22.0), „a.offLine - b.offLine“ a placesFirst (v1.25.0) · 1.32.0: src/core/live.ts searchQueue, queueAsk (GET /queue?q=, q nikdy v logu mostu), funkce queue.search · CHANGELOG.cs.md 1.32.0 · 1.33.0: research:c50f80f5 task list --all (= --state all), strom help task list -->
111
112
 
112
113
  <a id="R2.2.1"></a>
113
114
  ### R2.2.1 Strategie der Warteschlange
@@ -342,7 +342,13 @@ Eine vergebliche Suche ist ein Ergebnis. Jede Suche wird erfasst, auch ohne Fund
342
342
  hat. Der teuerste Fehler ist, dasselbe Buch zweimal zu durchsuchen.
343
343
 
344
344
  - **Grenzen (prüft der Code):**
345
- - `--result found|negative|partial|inconclusive`; `found` braucht `--found S…` (die Quelle wird zuerst erfasst);
345
+ - `--result found|negative|partial|inconclusive`; `found` braucht `--found S…`: die Quelle wird zuerst erfasst
346
+ (`strom source add`). Ohne `--found` lehnt der Code die Suche ab und nennt diese Reihenfolge mit dem genauen
347
+ nächsten Befehl (seit Forschung 1.33.0);
348
+ - eine versehentlich an eine Suche gehängte Quelle entfernt `strom search edit Q… --drop-found S… --reason "…"`
349
+ (auch mehrere Quellen), `--no-found` entfernt alle. Eine Suche `found`, der keine Quelle bleibt, muss sagen, was
350
+ sie jetzt ist (`--result negative|partial|inconclusive`), sonst wird die Änderung abgelehnt (seit Forschung
351
+ 1.33.0);
346
352
  - `negative` lehnt der Code ab, solange im durchsuchten Bereich eine Stelle bleibt, die ein Leser als unklar
347
353
  gemeldet hat, und niemand sie seitdem in voller Größe angesehen hat, auf der richtigen Seite der Doppelseite.
348
354
  Gezählt werden Lesungen seit der ersten Sitzung der Aufgabe (sonst der letzten 24 Stunden). Dann bleibt
@@ -354,10 +360,12 @@ hat. Der teuerste Fehler ist, dasselbe Buch zweimal zu durchsuchen.
354
360
  - **Nur Methodik:** negativ erst nach einem Blick auf die Seiten in voller Größe. Fehlende Seiten eines Buches sind
355
361
  nicht durchsucht (`--pages 40-52,55-69`). Nach `--until-found` nur die gelesenen Bilder, als `--result partial`.
356
362
  - **Bedienung:** Terminal: `strom search add "…" --recordset B… --years … --surname … --pages … --method
357
- index|page-by-page|full-text|catalog|web|request|other --result negative --by main|reader|user --note "…"`.
358
- - **Gilt seit:** Forschung 1.0.0; Ablehnung über einer unklaren Stelle und „nur im Register“ 1.14.0
363
+ index|page-by-page|full-text|catalog|web|request|other --result negative --by main|reader|user --note "…"`
364
+ (`--by agent` ist dasselbe wie `main`); Korrektur `strom search edit Q… --drop-found S…|--no-found --reason "…"`.
365
+ - **Gilt seit:** Forschung 1.0.0; Ablehnung über einer unklaren Stelle und „nur im Register“ 1.14.0; die Reihenfolge
366
+ mit der Quelle, `search edit --drop-found|--no-found` und `--by agent` 1.33.0
359
367
 
360
- <!-- zdroj: research:assets/method/core.md:22-25 · reading.md:22-30, :70-84 · src/commands/analysis.ts:208-268 · src/core/model.ts:484-485 · src/commands/readings.ts:347-380 openUnclear, :414 refuseNegativeOverUnclear · src/core/evidence.ts:21 searchedAs · src/commands/tasks.ts:348-351 -->
368
+ <!-- zdroj: research:assets/method/core.md:22-25 · reading.md:22-30, :70-84 · src/commands/analysis.ts:208-268 · src/core/model.ts:484-485 · src/commands/readings.ts:347-380 openUnclear, :414 refuseNegativeOverUnclear · src/core/evidence.ts:21 searchedAs · src/commands/tasks.ts:348-351 · 1.33.0: research:7bdba196 search add (search.found.first), search edit --drop-found/--no-found (search.found.none|empty|not|which), strom help search edit · c50f80f5 --by agent (= main) · CHANGELOG.cs.md 1.33.0 -->
361
369
 
362
370
  <a id="R3.7"></a>
363
371
  ## R3.7 Wann der Agent den Menschen fragt
@@ -229,7 +229,9 @@ der Mensch sie einschaltet. Die Forschung ordnet dazu die Orte Regionen der Gesc
229
229
  - **Bedienung:** App: **Geschichte der Orte**, **Ortsgeschichte suchen…**, **Region zuordnen**, Zustände
230
230
  **Ortsgeschichte: wartet**, **Ortsgeschichte: wird gesucht**, **Die Forschung konnte den Ort nicht bestimmen** ·
231
231
  Terminal: **Einstellungen → Der Agent allein → Geschichte**; `strom config set experiments.history on`,
232
- `strom history place <L…>`, `strom history map --unlocated`
233
- - **Gilt seit:** Forschung 1.22.0
232
+ `strom history place <L…>`, `strom history map "<Ort>" --region <id>[:<von>-<bis>]` (einmal für jede Region,
233
+ zu der der Ort gehörte) oder `--unlocated --why "…"`, `strom history list --event <id>` (ein Ereignis der
234
+ Geschichte)
235
+ - **Gilt seit:** Forschung 1.22.0; `history list --event` 1.33.0
234
236
 
235
- <!-- zdroj: research:src/core/pastevents.ts PACE_EVERY (:2621), experiments.historyPace · research:src/core/placehistory.ts · research:src/commands/history.ts place, map --unlocated, adopt · research:assets/lang/cs.json ui.alone.title, ui.alone.history · app:src/strings.ts history.* (v3.21.2 :13121–13235) · CHANGELOG.cs.md 1.22.0 (l.229) -->
237
+ <!-- zdroj: research:src/core/pastevents.ts PACE_EVERY (:2621), experiments.historyPace · research:src/core/placehistory.ts · research:src/commands/history.ts place, map --unlocated, adopt · research:assets/lang/cs.json ui.alone.title, ui.alone.history · app:src/strings.ts history.* (v3.21.2 :13121–13235) · CHANGELOG.cs.md 1.22.0 (l.229) · 1.33.0: research:926375ea history list --event · c50f80f5 history map bez --region (nápověda celého řádku) · strom help history map, history list -->
@@ -81,12 +81,19 @@ Signatur.
81
81
  - **Grenzen:** ab 30 Bildern; eine andere Grenze (oder nie) bestimmt die Antwort des Menschen auf die Frage
82
82
  `index.first` (`strom media calibrate --questions`). Im Gespräch sagt strom es nur, in einer Sitzung `strom run`
83
83
  lehnt es das Lesen ab, bis der Agent `--no-index` gibt.
84
+ - **Grenzen (welche Pfarrei, seit Forschung 1.33.0):** ein Register gehört zu einem Buch, wenn sie einen Ort teilen
85
+ oder wenn die Pfarrei des einen ein Ort oder eine Pfarrei des anderen ist. Die Pfarrei eines Ortes zählt nur mit
86
+ Jahren, die in die Jahre des Buches reichen; eine Pfarrei mit Jahren innerhalb der Jahre des Buches geht Pfarreien
87
+ ohne Jahre vor. Mehrere Pfarreien ohne Jahre an einem Ort sagen nicht, welche Pfarrei, und passen über die Pfarrei
88
+ zu nichts (der Ort selbst weiterhin). Ein als `L…` geschriebener Ort nimmt nur seine eigenen Pfarreien, ein als Text
89
+ geschriebener Ort nur dann, wenn er der einzige Ort dieses Namens in der Forschung ist. So wird ein Register einer
90
+ anderen Pfarrei nie angeboten.
84
91
  - **Warum:** nach einem Kommentar im Code lohnt sich ab etwa 20–40 Bildern das Register mehr als das Durchblättern.
85
92
  Ein Fall aus einer echten Forschung: Leser lasen 61 Bilder eines Trauungsbuches, während das Register der Pfarrei
86
93
  heruntergeladen bereitlag.
87
- - **Gilt seit:** Forschung 1.14.0
94
+ - **Gilt seit:** Forschung 1.14.0; Abgleich der Pfarrei 1.33.0
88
95
 
89
- <!-- zdroj: research:src/core/indexfirst.ts:1-28 INDEX_FIRST_DEFAULT · src/commands/read.ts:217 --no-index, :265 guardIndexFirst -->
96
+ <!-- zdroj: research:src/core/indexfirst.ts:1-28 INDEX_FIRST_DEFAULT · src/commands/read.ts:217 --no-index, :265 guardIndexFirst · 1.33.0: research:a722a101 src/core/indexfirst.ts covers, sameParish (roky farnosti, víc nedatovaných farností nepáruje, L-ID jen vlastní) · dirigent:prace/1114-vyzkum-z-hlidani-2/vysledek-sub2.md B4 -->
90
97
 
91
98
  <a id="R8.1.2"></a>
92
99
  ### R8.1.2 Eine Lehre zu einem Buch
@@ -300,23 +300,60 @@ Archivs zeigt.
300
300
  („the browser did not draw the tab with the viewer for 30 s …“: Tab nach vorn, Fenster frei, dann das Skript
301
301
  erneut); ein Betrachter, der inzwischen auf ein anderes Bild weiterblättert, speichert nichts;
302
302
  - der Befehl setzt die Aufgabe auf Warten auf dieses Bild. Die Datei wird in den Ordner der Downloads gespeichert
303
- (`strom-T…-<číslo>.jpg`), und `strom media add --inbox --waiting` verschiebt sie unter der Nummer des Bildes in
304
- den Ordner der Aufgabe ([R9.6](#R9.6)).
303
+ als `strom-<Kennung der Forschung>-T…-<Nummer>.jpg` (z. B. `strom-3f2a9c1b-T0007-0040.jpg`, die Nummer des Bildes
304
+ vierstellig), und `strom media add --inbox --waiting` verschiebt sie unter der Nummer des Bildes in den Ordner der
305
+ Aufgabe ([R9.6](#R9.6));
306
+ - die Kennung der Forschung sind die ersten 8 Hexadezimalzeichen ihrer ID. Den Ordner der Downloads teilen alle
307
+ Forschungen des Computers: eine Datei einer anderen Forschung wird nie genommen. Eine vor Forschung 1.33.0
308
+ gespeicherte Datei (`strom-T…-<Nummer>.jpg`, ohne Kennung) übernimmt nur die Forschung, deren Eintrag über das
309
+ Speichern diesen Namen nennt;
310
+ - eine Kopie, die der Browser spät oder doppelt speichert („… (1).jpg“), entfernt `strom media add --inbox
311
+ --waiting` aus dem Ordner der Downloads, sobald das Bild in der Forschung ist (der Eintrag über das Speichern
312
+ bleibt 14 Tage). Nie eine Datei, die strom nicht benannt hat;
313
+ - ohne `--recordset` wird das Buch genommen, auf das die Aufgabe wartet, sonst eines der Bücher der Aufgabe im
314
+ Archiv der Adresse `--at`. Mehrere solche Bücher zählt strom auf und speichert nichts;
315
+ - ein Bildbetrachter, der auf der Seite ist, den strom aber nicht erreicht, wird gemeldet: nichts wird gespeichert,
316
+ und die Meldung sagt, was der Mensch tut (das Bild in seinem Browser in den Ordner der Aufgabe speichern).
305
317
  - **Grenzen:** Chrome speichert von einer Seite nur eine Datei. Weitere Downloads von derselben Seite muss der Mensch
306
318
  in der Adressleiste von Chrome erlauben; der Agent ändert die Einstellungen von Chrome nie. Eine Aufnahme, deren
307
319
  Datei auch 5 s nach der Anweisung zum Speichern nicht im Download-Ordner ist, gilt für `strom media add --inbox
308
320
  --waiting` als zurückgehalten: es sagt das dem Agenten, und das Warten der Aufgabe sagt dem Menschen, welcher Website
309
321
  er das Herunterladen mehrerer Dateien erlauben soll („der Browser hat Aufnahme {n} zurückgehalten: {website} das
310
- Herunterladen mehrerer Dateien erlauben, einmal (das Symbol rechts in der Adressleiste des Browsers)“).
322
+ Herunterladen mehrerer Dateien erlauben, einmal (das Symbol rechts in der Adressleiste des Browsers)“). Auf einen
323
+ Download, der noch geschrieben wird (`.crdownload`, `.part` und ähnlich), wartet der Befehl kurz; endet er auch dann
324
+ nicht, sagt er das und zählt ihn nicht als zurückgehalten.
311
325
  - **Nur Methodik:** ein Downloader für ein Archiv, dessen Betrachter Bilder in Kacheln zeigt, speichert ebenfalls über
312
326
  den Browser, auch einen Teil eines Bildes; die Seite des Buches öffnet er einmal und lädt sie nie neu.
313
327
  - **Warum:** die Erlaubnis „über den Browser“ erlaubt, was ein Mensch in seinem Browser tun würde, in seinem Tempo.
314
- - **Bedienung:** Terminal (Agent): `strom media save T… --image <číslo> --at <adresa> [--recordset B…]`, danach
328
+ - **Bedienung:** Terminal (Agent): `strom media save T… --image <Nummer> --at <Adresse> [--recordset B…]`, danach
315
329
  `strom media add --inbox --waiting`.
316
330
  - **Gilt seit:** Forschung 1.27.0. Eine zurückgehaltene Aufnahme wird seit Forschung 1.30.0 gemeldet, ein nicht
317
- gezeichneter Tab seit 1.31.0.
331
+ gezeichneter Tab seit 1.31.0. Die Kennung der Forschung im Dateinamen, das Buch ohne `--recordset`, das Aufräumen
332
+ später Kopien, das Warten auf einen Download, der noch geschrieben wird, und ein unerreichbarer Bildbetrachter seit
333
+ 1.33.0.
318
334
 
319
- <!-- zdroj: research:a4a2f6c0 src/core/browser.ts SaveRecord, HELD_AFTER_MS 5000 · src/commands/media.ts heldSaves, heldLine (media add --inbox --waiting) · assets/lang/cs.json browser.wait.held · research:src/commands/media.ts:1206-1294 media save (browserGate, guarded browser, permission browser, Downloads strom-T…-n.jpg) · commit dadd91e7 (viewer paged on) · src/core/browserhelp.ts agentBrowserAdvice · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · research:c6b6444d, dee0bb03 src/core/browser.ts VIEWER_HIDDEN_MS = 30_000, CAPTURE_JS (čekání jen na snímky kreslené karty, NOT_SHOWN, „the viewer's tiles did not all come in 30 s“, „the viewer was paged to another image … nothing saved“) · CHANGELOG.cs.md 1.31.0 -->
335
+ <!-- zdroj: research:a4a2f6c0 src/core/browser.ts SaveRecord, HELD_AFTER_MS 5000 · src/commands/media.ts heldSaves, heldLine (media add --inbox --waiting) · assets/lang/cs.json browser.wait.held · research:src/commands/media.ts:1206-1294 media save (browserGate, guarded browser, permission browser) · commit dadd91e7 (viewer paged on) · src/core/browserhelp.ts agentBrowserAdvice · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · research:c6b6444d, dee0bb03 src/core/browser.ts VIEWER_HIDDEN_MS = 30_000, CAPTURE_JS (čekání jen na snímky kreslené karty, NOT_SHOWN, „the viewer's tiles did not all come in 30 s“, „the viewer was paged to another image … nothing saved“) · CHANGELOG.cs.md 1.31.0 · 1.33.0: research:7306f2a7 src/core/browser.ts researchMark (8 hex z id), waitFileBase (strom-<značka>-T…-NNNN), staré jméno jen podle SaveRecord.file · f6de01b7 src/commands/media.ts saveBookOf (kniha bez --recordset), tidyDownloads, TAKEN_KEEP_MS 14 dní · 903ce928 media add --inbox --waiting (zapisované stahování, STROM_DOWNLOAD_WAIT_MS, heldSaves dl.unfinished) · f5339b36 findViewer (OpenSeadragon v kódu stránky), hláška „strom cannot reach it … nothing saved“ · strom help media save · CHANGELOG.cs.md 1.33.0 -->
336
+
337
+ <a id="R9.5.1"></a>
338
+ ### R9.5.1 Eine schärfere Kopie eines Bildes
339
+
340
+ Ein Bild, das schon in der Forschung ist und zum Lesen zu schwach ist, speichert der Agent über den Browser noch
341
+ einmal: mit dem Betrachter des Archivs vergrößert oder in voller Auflösung.
342
+
343
+ - **Prüft der Code:**
344
+ - `strom media save … --again` speichert ein registriertes Bild als neue Kopie neben der alten; nichts wird entfernt;
345
+ - das Bild ist die ganze Kopie mit den meisten Pixeln (Breite × Höhe). Ansicht, Lesen und Ausschnitte über
346
+ `B…:<Nummer>` nehmen sie; ein Zitat, das schon auf eine bestimmte Kopie (`M…`) zeigt, bleibt bei ihr;
347
+ - bis die neue Kopie kommt, wartet die Aufgabe weiter auf das Bild. Kommt derselbe Scan, wird nichts doppelt
348
+ registriert, und die Aufgabe kehrt in die Warteschlange zurück;
349
+ - ohne `--again` wird das Speichern eines registrierten Bildes abgelehnt, und die Meldung bietet `--again` an. Der
350
+ Brief bietet `--again` bei schwachen Scans eines Archivs an, zu dem der Browser des Agenten geht, statt einer
351
+ Bitte an den Menschen.
352
+ - **Grenzen:** nur das ganze Bild, nicht sein Ausschnitt.
353
+ - **Bedienung:** Terminal (Agent): `strom media save T… --image <Nummer> --recordset B… --at <Adresse> --again`.
354
+ - **Gilt seit:** Forschung 1.33.0
355
+
356
+ <!-- zdroj: research:6651b60b src/commands/media.ts media save --again, againPending, settleAgain · src/core/media.ts findImage (nejvíc pixelů, ne část) · src/core/browser.ts SaveRecord.again · strom help media save (--again) · dirigent:prace/1114-vyzkum-z-hlidani-2/vysledek-sub1.md (A2, otevřené: výřez ne; citace na M… zůstávají) · CHANGELOG.cs.md 1.33.0 -->
320
357
 
321
358
  <a id="R9.6"></a>
322
359
  ## R9.6 Warten auf Bilder und Rückkehr der Aufgabe
@@ -333,6 +370,9 @@ sobald alle ihre Bilder in der Forschung sind.
333
370
  - eine Datei wird übernommen, sobald sie sich 3 s nicht ändert (ein großer Scan wird nie halb übernommen);
334
371
  - Übernahme: sofort, wenn die Brücke zur Strom-App läuft (sie schaut in die Ordner der wartenden Aufgaben, erneut
335
372
  alle 30 s); sonst beim Start der nächsten Sitzung; oder sofort mit dem Befehl `strom media add --inbox --waiting`;
373
+ - `strom media view B…:<Nummer>` eines Bildes, auf das eine Aufgabe wartet, sagt, wer darauf wartet (der Browser des
374
+ Agenten, der Plan eines Downloaders im Browser oder der Mensch) und den genauen nächsten Schritt (seit Forschung
375
+ 1.33.0);
336
376
  - die Aufgabe kehrt zurück, sobald alle Bilder da sind, mit einer Notiz, was gekommen ist. Bei einem Teil wartet sie
337
377
  weiter, und Was wartet zeigt, wie viele von wie vielen gespeichert sind und welche fehlen;
338
378
  - Bilder aus der App gehen direkt zur Aufgabe: nummeriert nach dem Bild, das die App angibt, sonst nach dem
@@ -375,7 +415,7 @@ sobald alle ihre Bilder in der Forschung sind.
375
415
  Teile der Bilder, Antwort und Bilder aus der App und ein Archiv unter einem Namen seit Forschung 1.27.0 und App
376
416
  3.23.0.
377
417
 
378
- <!-- zdroj: research:src/commands/tasks.ts:1041 task wait (--images, folder) · src/core/media.ts:117 inboxFolderFor · src/core/inboxwait.ts:25 SETTLE_MS · src/core/inboxwatch.ts:1-8 (30 s) · src/commands/media.ts:141-180 wakeWaiting · src/core/live.ts waiting/<T> answer, PUT /media (X-Strom-Task, X-Strom-Image, 409 waiting.image-same) · src/commands/media.ts:403-478 (same sha under its number → 200 same: true, added []; another number/book → 409 waiting.image-same) · src/core/waiting.ts actionsOf, archiveGroup · src/core/waitkind.ts waitGroupOf (repo: before archive:, host:) · assets/method/waiting.md "Images saved by hand" (the one exception, 7bd55fa1) · assets/method/reading.md · src/commands/guide.ts rule 7 · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · app:CHANGELOG.cs.md 3.23.0 · src/research-waiting.ts:216-272 (actions, order), :448-488 assignImages · src/research-waiting-write.ts:532 WAITING_ANSWER_MAX · src/ui/research-overview-ui.ts:698-812 group head · src/strings.ts live.waitingTask -->
418
+ <!-- zdroj: research:src/commands/tasks.ts:1041 task wait (--images, folder) · src/core/media.ts:117 inboxFolderFor · src/core/inboxwait.ts:25 SETTLE_MS · src/core/inboxwatch.ts:1-8 (30 s) · src/commands/media.ts:141-180 wakeWaiting · src/core/live.ts waiting/<T> answer, PUT /media (X-Strom-Task, X-Strom-Image, 409 waiting.image-same) · src/commands/media.ts:403-478 (same sha under its number → 200 same: true, added []; another number/book → 409 waiting.image-same) · src/core/waiting.ts actionsOf, archiveGroup · src/core/waitkind.ts waitGroupOf (repo: before archive:, host:) · assets/method/waiting.md "Images saved by hand" (the one exception, 7bd55fa1) · assets/method/reading.md · src/commands/guide.ts rule 7 · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · app:CHANGELOG.cs.md 3.23.0 · src/research-waiting.ts:216-272 (actions, order), :448-488 assignImages · src/research-waiting-write.ts:532 WAITING_ANSWER_MAX · src/ui/research-overview-ui.ts:698-812 group head · src/strings.ts live.waitingTask · 1.33.0: research:bfa01a34 src/commands/media.ts media view (snímek, na který úkol čeká: kdo a další krok) -->
379
419
 
380
420
  <a id="R9.7"></a>
381
421
  ## R9.7 Automatische Sitzung und Chat
@@ -92,7 +92,8 @@ before all others.
92
92
  9. the kind of task: material → where the records are → proving a link → verification → enriching a person →
93
93
  request to an archive → story;
94
94
  10. the age of the task.
95
- - **Controls:** terminal: `strom task list`, `strom task next`. App: section **Queue**.
95
+ - **Controls:** terminal: `strom task list` (`--all`: every task in any state, since research 1.33.0),
96
+ `strom task next`. App: section **Queue**.
96
97
  - **Since:** research 1.0.0 (keys 1, 7–10). Key 6 from 1.1.0, linking hypotheses from 1.17.0, key 3 from 1.22.0,
97
98
  key 4 and places on request from 1.25.0. Key 2 from 1.26.0.
98
99
  - **From research 1.32.0:** the bridge searches the whole queue (a task or person number, the names of persons, the
@@ -100,7 +101,7 @@ before all others.
100
101
  kept nowhere, not even in the bridge's log. In the app: the search field in the **Queue**
101
102
  ([S4.2.1](S4-research-from-the-app.md#S4.2.1)).
102
103
 
103
- <!-- zdroj: research:src/core/queue.ts rankTasks (řazení :374-396), LEVEL_ORDER :52, linksFirst (hypolinks.ts:453), placesFirst · verze klíčů: git log -S na „a.blocked - b.blocked“ (v1.0.0), „a.story - b.story“ (v1.1.0), „a.first - b.first“ (v1.17.0), „a.hist - b.hist“ (v1.22.0), „a.offLine - b.offLine“ a placesFirst (v1.25.0) · 1.32.0: src/core/live.ts searchQueue, queueAsk (GET /queue?q=, q nikdy v logu mostu), funkce queue.search · CHANGELOG.cs.md 1.32.0 -->
104
+ <!-- zdroj: research:src/core/queue.ts rankTasks (řazení :374-396), LEVEL_ORDER :52, linksFirst (hypolinks.ts:453), placesFirst · verze klíčů: git log -S na „a.blocked - b.blocked“ (v1.0.0), „a.story - b.story“ (v1.1.0), „a.first - b.first“ (v1.17.0), „a.hist - b.hist“ (v1.22.0), „a.offLine - b.offLine“ a placesFirst (v1.25.0) · 1.32.0: src/core/live.ts searchQueue, queueAsk (GET /queue?q=, q nikdy v logu mostu), funkce queue.search · CHANGELOG.cs.md 1.32.0 · 1.33.0: research:c50f80f5 task list --all (= --state all), strom help task list -->
104
105
 
105
106
  <a id="R2.2.1"></a>
106
107
  ### R2.2.1 The queue strategy
@@ -319,7 +319,12 @@ A search that finds nothing is a result. Every search is entered, even without a
319
319
  The costliest mistake is searching the same book twice.
320
320
 
321
321
  - **Limits (enforced by the code):**
322
- - `--result found|negative|partial|inconclusive`; `found` needs `--found S…` (the source is entered first);
322
+ - `--result found|negative|partial|inconclusive`; `found` needs `--found S…`: the source is entered first
323
+ (`strom source add`). Without `--found` the code refuses the search and says this order with the exact next
324
+ command (since research 1.33.0);
325
+ - a source attached to a search by mistake is removed by `strom search edit Q… --drop-found S… --reason "…"`
326
+ (several sources too), `--no-found` removes all of them. A `found` search left with no source must say what it is
327
+ now (`--result negative|partial|inconclusive`), otherwise the edit is refused (since research 1.33.0);
323
328
  - the code refuses `negative` while the searched range still holds a spot a reader reported as unclear and nobody
324
329
  has looked at it since at full size, on the right side of the double page. Readings count from the task's first
325
330
  session (otherwise the last 24 hours). What remains is `--result inconclusive` with the spot in `--note`, or
@@ -330,10 +335,12 @@ The costliest mistake is searching the same book twice.
330
335
  - **Method only:** a negative only after looking at the pages at full size. Missing pages of a book are not searched
331
336
  (`--pages 40-52,55-69`). After `--until-found` only the images read, as `--result partial`.
332
337
  - **Controls:** terminal: `strom search add "…" --recordset B… --years … --surname … --pages … --method
333
- index|page-by-page|full-text|catalog|web|request|other --result negative --by main|reader|user --note "…"`.
334
- - **Since:** research 1.0.0; the refusal over an unclear spot and “in the index only” 1.14.0
338
+ index|page-by-page|full-text|catalog|web|request|other --result negative --by main|reader|user --note "…"`
339
+ (`--by agent` is the same as `main`); a correction `strom search edit Q… --drop-found S…|--no-found --reason "…"`.
340
+ - **Since:** research 1.0.0; the refusal over an unclear spot and “in the index only” 1.14.0; the order with the
341
+ source, `search edit --drop-found|--no-found` and `--by agent` 1.33.0
335
342
 
336
- <!-- zdroj: research:assets/method/core.md:22-25 · reading.md:22-30, :70-84 · src/commands/analysis.ts:208-268 · src/core/model.ts:484-485 · src/commands/readings.ts:347-380 openUnclear, :414 refuseNegativeOverUnclear · src/core/evidence.ts:21 searchedAs · src/commands/tasks.ts:348-351 -->
343
+ <!-- zdroj: research:assets/method/core.md:22-25 · reading.md:22-30, :70-84 · src/commands/analysis.ts:208-268 · src/core/model.ts:484-485 · src/commands/readings.ts:347-380 openUnclear, :414 refuseNegativeOverUnclear · src/core/evidence.ts:21 searchedAs · src/commands/tasks.ts:348-351 · 1.33.0: research:7bdba196 search add (search.found.first), search edit --drop-found/--no-found (search.found.none|empty|not|which), strom help search edit · c50f80f5 --by agent (= main) · CHANGELOG.cs.md 1.33.0 -->
337
344
 
338
345
  <a id="R3.7"></a>
339
346
  ## R3.7 When the agent asks a person
@@ -216,7 +216,8 @@ switches it on. For it, the research assigns places to history regions.
216
216
  - **Controls:** app: **History of places**, **Find local history…**, **Assign region**, the states **Local history:
217
217
  waiting**, **Local history: searching**, **The research could not locate the place** · terminal: **Settings → The
218
218
  agent working alone → History**; `strom config set experiments.history on`, `strom history place <L…>`,
219
- `strom history map --unlocated`
220
- - **Since:** research 1.22.0
219
+ `strom history map "<place>" --region <id>[:<from>-<to>]` (once for each region the place belonged to) or
220
+ `--unlocated --why "…"`, `strom history list --event <id>` (one event of history)
221
+ - **Since:** research 1.22.0; `history list --event` 1.33.0
221
222
 
222
- <!-- zdroj: research:src/core/pastevents.ts PACE_EVERY (:2621), experiments.historyPace · research:src/core/placehistory.ts · research:src/commands/history.ts place, map --unlocated, adopt · research:assets/lang/cs.json ui.alone.title, ui.alone.history · app:src/strings.ts history.* (v3.21.2 :13121–13235) · CHANGELOG.cs.md 1.22.0 (l.229) -->
223
+ <!-- zdroj: research:src/core/pastevents.ts PACE_EVERY (:2621), experiments.historyPace · research:src/core/placehistory.ts · research:src/commands/history.ts place, map --unlocated, adopt · research:assets/lang/cs.json ui.alone.title, ui.alone.history · app:src/strings.ts history.* (v3.21.2 :13121–13235) · CHANGELOG.cs.md 1.22.0 (l.229) · 1.33.0: research:926375ea history list --event · c50f80f5 history map bez --region (nápověda celého řádku) · strom help history map, history list -->
@@ -80,11 +80,17 @@ place at the time, the archive and the particular book (record set) with access:
80
80
  - **Limits:** from 30 images; a different threshold (or never) is set by a person's answer to the question
81
81
  `index.first` (`strom media calibrate --questions`). In a conversation it only says so; in a `strom run` session it
82
82
  refuses the reading until the agent gives `--no-index`.
83
+ - **Limits (which parish, since research 1.33.0):** an index belongs to a book when they share a place, or when the
84
+ parish of one is a place or a parish of the other. A place's parish is taken only with years that reach into the
85
+ book's years; a parish with years within the book's years comes before parishes without years. Several parishes
86
+ without years at one place do not say which parish and match nothing through the parish (the place itself still
87
+ does). A place written as `L…` takes only its own parishes, a place written as text only when it is the only place
88
+ of that name in the research. So an index of another parish is never offered.
83
89
  - **Why:** according to a comment in the code, from roughly 20–40 images an index pays more than browsing. A case from
84
90
  real research: readers read 61 images of a marriage book while the parish index lay downloaded.
85
- - **Since:** research 1.14.0
91
+ - **Since:** research 1.14.0; matching the parish 1.33.0
86
92
 
87
- <!-- zdroj: research:src/core/indexfirst.ts:1-28 INDEX_FIRST_DEFAULT · src/commands/read.ts:217 --no-index, :265 guardIndexFirst -->
93
+ <!-- zdroj: research:src/core/indexfirst.ts:1-28 INDEX_FIRST_DEFAULT · src/commands/read.ts:217 --no-index, :265 guardIndexFirst · 1.33.0: research:a722a101 src/core/indexfirst.ts covers, sameParish (roky farnosti, víc nedatovaných farností nepáruje, L-ID jen vlastní) · dirigent:prace/1114-vyzkum-z-hlidani-2/vysledek-sub2.md B4 -->
88
94
 
89
95
  <a id="R8.1.2"></a>
90
96
  ### R8.1.2 A lesson about a book
@@ -281,23 +281,57 @@ images itself, one at a time: it opens the image in Chrome and saves what the ar
281
281
  window). A tab not drawn for 30 s is reported as such ("the browser did not draw the tab with the viewer for 30 s
282
282
  …": the tab in front, its window uncovered, then the script again); a viewer that meanwhile pages to another
283
283
  image saves nothing;
284
- - the command sets the task to waiting for that image. The file is saved into the downloads folder
285
- (`strom-T…-<number>.jpg`), and `strom media add --inbox --waiting` moves it into the task's folder under the
286
- image's number ([R9.6](#R9.6)).
284
+ - the command sets the task to waiting for that image. The file is saved into the downloads folder as
285
+ `strom-<research mark>-T…-<number>.jpg` (e.g. `strom-3f2a9c1b-T0007-0040.jpg`, the image's number in four
286
+ digits), and `strom media add --inbox --waiting` moves it into the task's folder under the image's number
287
+ ([R9.6](#R9.6));
288
+ - the research mark is the first 8 hexadecimal characters of the research's id. All researches on the computer
289
+ share the downloads folder: a file of another research is never taken. A file saved before research 1.33.0
290
+ (`strom-T…-<number>.jpg`, without the mark) is taken only by the research whose record of the save names it;
291
+ - a copy the browser saves late or twice ("… (1).jpg") is removed from the downloads folder by `strom media add
292
+ --inbox --waiting` once the image is in the research (the record of the save is kept 14 days). Never a file strom
293
+ did not name;
294
+ - without `--recordset` the book is the one the task waits for, else one of the task's books on the archive of the
295
+ `--at` address. Several such books are listed and nothing is saved;
296
+ - an image viewer that is on the page but strom cannot reach is reported: nothing is saved and the message says what
297
+ the person does (saves the image in their own browser into the task's folder).
287
298
  - **Limits:** Chrome saves only one file from one page. Further downloads from the same page must be allowed by a
288
299
  person in Chrome's address bar; the agent never changes Chrome's settings. An image whose file is not in the
289
300
  downloads folder even 5 s after the instruction to save it counts as held back for `strom media add --inbox
290
301
  --waiting`: it tells the agent, and the task's wait tells the person which website to allow to download several
291
302
  files (“the browser held image {n} back: {website} to be allowed to download several files, once (the icon at the
292
- right end of the browser's address bar)”).
303
+ right end of the browser's address bar)”). A download still being written (`.crdownload`, `.part` and the like) is
304
+ waited for briefly; if it does not finish even then, the command says so and does not count it as held back.
293
305
  - **Method only:** a downloader for an archive whose viewer shows images in tiles also saves through the browser,
294
306
  even part of an image; it opens the book's page once and never reloads it.
295
307
  - **Why:** the permission "through the browser" allows what a person would do in their own browser, at their pace.
296
308
  - **Controls:** terminal (agent): `strom media save T… --image <number> --at <address> [--recordset B…]`, then
297
309
  `strom media add --inbox --waiting`.
298
- - **Since:** research 1.27.0. A held-back image is reported since research 1.30.0, a tab not drawn since 1.31.0.
310
+ - **Since:** research 1.27.0. A held-back image is reported since research 1.30.0, a tab not drawn since 1.31.0. The
311
+ research mark in the file's name, the book without `--recordset`, tidying late copies, waiting for a download being
312
+ written and an image viewer out of reach since 1.33.0.
299
313
 
300
- <!-- zdroj: research:a4a2f6c0 src/core/browser.ts SaveRecord, HELD_AFTER_MS 5000 · src/commands/media.ts heldSaves, heldLine (media add --inbox --waiting) · assets/lang/cs.json browser.wait.held · research:src/commands/media.ts:1206-1294 media save (browserGate, guarded browser, permission browser, Downloads strom-T…-n.jpg) · commit dadd91e7 (viewer paged on) · src/core/browserhelp.ts agentBrowserAdvice · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · research:c6b6444d, dee0bb03 src/core/browser.ts VIEWER_HIDDEN_MS = 30_000, CAPTURE_JS (čekání jen na snímky kreslené karty, NOT_SHOWN, „the viewer's tiles did not all come in 30 s“, „the viewer was paged to another image … nothing saved“) · CHANGELOG.cs.md 1.31.0 -->
314
+ <!-- zdroj: research:a4a2f6c0 src/core/browser.ts SaveRecord, HELD_AFTER_MS 5000 · src/commands/media.ts heldSaves, heldLine (media add --inbox --waiting) · assets/lang/cs.json browser.wait.held · research:src/commands/media.ts:1206-1294 media save (browserGate, guarded browser, permission browser) · commit dadd91e7 (viewer paged on) · src/core/browserhelp.ts agentBrowserAdvice · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · research:c6b6444d, dee0bb03 src/core/browser.ts VIEWER_HIDDEN_MS = 30_000, CAPTURE_JS (čekání jen na snímky kreslené karty, NOT_SHOWN, „the viewer's tiles did not all come in 30 s“, „the viewer was paged to another image … nothing saved“) · CHANGELOG.cs.md 1.31.0 · 1.33.0: research:7306f2a7 src/core/browser.ts researchMark (8 hex z id), waitFileBase (strom-<značka>-T…-NNNN), staré jméno jen podle SaveRecord.file · f6de01b7 src/commands/media.ts saveBookOf (kniha bez --recordset), tidyDownloads, TAKEN_KEEP_MS 14 dní · 903ce928 media add --inbox --waiting (zapisované stahování, STROM_DOWNLOAD_WAIT_MS, heldSaves dl.unfinished) · f5339b36 findViewer (OpenSeadragon v kódu stránky), hláška „strom cannot reach it … nothing saved“ · strom help media save · CHANGELOG.cs.md 1.33.0 -->
315
+
316
+ <a id="R9.5.1"></a>
317
+ ### R9.5.1 A sharper copy of an image
318
+
319
+ An image already in the research that is too weak to read is saved through the browser once more by the agent: with
320
+ the archive's viewer zoomed in, or at its full resolution.
321
+
322
+ - **Enforced by the code:**
323
+ - `strom media save … --again` saves a registered image as a new copy beside the old one; nothing is removed;
324
+ - the image is the whole copy with the most pixels (width × height). Views, readings and excerpts through
325
+ `B…:<number>` take it; a citation that already points to a particular copy (`M…`) stays on it;
326
+ - until the new copy comes, the task keeps waiting for the image. If the same scan comes, nothing is registered
327
+ twice and the task returns to the queue;
328
+ - without `--again`, saving a registered image is refused and the message offers `--again`. The brief offers
329
+ `--again` for weak scans of an archive the agent's browser goes to, instead of a request to the person.
330
+ - **Limits:** only the whole image, not an excerpt of it.
331
+ - **Controls:** terminal (agent): `strom media save T… --image <number> --recordset B… --at <address> --again`.
332
+ - **Since:** research 1.33.0
333
+
334
+ <!-- zdroj: research:6651b60b src/commands/media.ts media save --again, againPending, settleAgain · src/core/media.ts findImage (nejvíc pixelů, ne část) · src/core/browser.ts SaveRecord.again · strom help media save (--again) · dirigent:prace/1114-vyzkum-z-hlidani-2/vysledek-sub1.md (A2, otevřené: výřez ne; citace na M… zůstávají) · CHANGELOG.cs.md 1.33.0 -->
301
335
 
302
336
  <a id="R9.6"></a>
303
337
  ## R9.6 Waiting for images and the task's return
@@ -315,6 +349,8 @@ research.
315
349
  - taking in: at once while the bridge to the Strom app runs (it looks into the folders of waiting tasks, again
316
350
  every 30 s); otherwise at the start of the next session; or at once by the command
317
351
  `strom media add --inbox --waiting`;
352
+ - `strom media view B…:<number>` of an image a task waits for says who waits for it (the agent's browser, a
353
+ downloader's plan in the browser, or the person) and the exact next step (since research 1.33.0);
318
354
  - the task returns once all images are there, with a note of what came. With only some of them it goes on waiting,
319
355
  and What waits shows how many of how many are saved and which are missing;
320
356
  - images from the app go straight to the task: numbered by the image the app gives, otherwise by the file name,
@@ -352,7 +388,7 @@ research.
352
388
  part of the images, the answer and images from the app and an archive under one name from research 1.27.0 and app
353
389
  3.23.0.
354
390
 
355
- <!-- zdroj: research:src/commands/tasks.ts:1041 task wait (--images, folder) · src/core/media.ts:117 inboxFolderFor · src/core/inboxwait.ts:25 SETTLE_MS · src/core/inboxwatch.ts:1-8 (30 s) · src/commands/media.ts:141-180 wakeWaiting · src/core/live.ts waiting/<T> answer, PUT /media (X-Strom-Task, X-Strom-Image, 409 waiting.image-same) · src/commands/media.ts:403-478 (same sha under its number → 200 same: true, added []; another number/book → 409 waiting.image-same) · src/core/waiting.ts actionsOf, archiveGroup · src/core/waitkind.ts waitGroupOf (repo: before archive:, host:) · assets/method/waiting.md "Images saved by hand" (the one exception, 7bd55fa1) · assets/method/reading.md · src/commands/guide.ts rule 7 · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · app:CHANGELOG.cs.md 3.23.0 · src/research-waiting.ts:216-272 (actions, order), :448-488 assignImages · src/research-waiting-write.ts:532 WAITING_ANSWER_MAX · src/ui/research-overview-ui.ts:698-812 group head · src/strings.ts live.waitingTask -->
391
+ <!-- zdroj: research:src/commands/tasks.ts:1041 task wait (--images, folder) · src/core/media.ts:117 inboxFolderFor · src/core/inboxwait.ts:25 SETTLE_MS · src/core/inboxwatch.ts:1-8 (30 s) · src/commands/media.ts:141-180 wakeWaiting · src/core/live.ts waiting/<T> answer, PUT /media (X-Strom-Task, X-Strom-Image, 409 waiting.image-same) · src/commands/media.ts:403-478 (same sha under its number → 200 same: true, added []; another number/book → 409 waiting.image-same) · src/core/waiting.ts actionsOf, archiveGroup · src/core/waitkind.ts waitGroupOf (repo: before archive:, host:) · assets/method/waiting.md "Images saved by hand" (the one exception, 7bd55fa1) · assets/method/reading.md · src/commands/guide.ts rule 7 · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · app:CHANGELOG.cs.md 3.23.0 · src/research-waiting.ts:216-272 (actions, order), :448-488 assignImages · src/research-waiting-write.ts:532 WAITING_ANSWER_MAX · src/ui/research-overview-ui.ts:698-812 group head · src/strings.ts live.waitingTask · 1.33.0: research:bfa01a34 src/commands/media.ts media view (snímek, na který úkol čeká: kdo a další krok) -->
356
392
 
357
393
  <a id="R9.7"></a>
358
394
  ## R9.7 An automatic session and a chat
@@ -95,7 +95,8 @@ rozpoczęte idzie przed wszystkimi.
95
95
  9. rodzaj zadania: materiały → gdzie są akty → potwierdzenie powiązania → weryfikacja → wzbogacenie osoby →
96
96
  wniosek do archiwum → opowieść;
97
97
  10. wiek zadania.
98
- - **Obsługa:** terminal: `strom task list`, `strom task next`. Aplikacja: sekcja **Kolejka**.
98
+ - **Obsługa:** terminal: `strom task list` (`--all`: wszystkie zadania w każdym stanie, od badania 1.33.0),
99
+ `strom task next`. Aplikacja: sekcja **Kolejka**.
99
100
  - **Obowiązuje od:** badanie 1.0.0 (klucze 1, 7–10). Klucz 6 od 1.1.0, łączenie hipotez od 1.17.0, klucz 3 od 1.22.0,
100
101
  klucz 4 i miejsca na prośbę od 1.25.0. Klucz 2 od 1.26.0.
101
102
  - **Od badania 1.32.0:** most szuka w całej kolejce (numer zadania lub osoby, imiona i nazwiska osób, słowa zadania,
@@ -103,7 +104,7 @@ rozpoczęte idzie przed wszystkimi.
103
104
  zapisywany, nawet w dzienniku mostu.
104
105
  W aplikacji: pole wyszukiwania w **Kolejce** ([S4.2.1](S4-research-from-the-app.md#S4.2.1)).
105
106
 
106
- <!-- zdroj: research:src/core/queue.ts rankTasks (řazení :374-396), LEVEL_ORDER :52, linksFirst (hypolinks.ts:453), placesFirst · verze klíčů: git log -S na „a.blocked - b.blocked“ (v1.0.0), „a.story - b.story“ (v1.1.0), „a.first - b.first“ (v1.17.0), „a.hist - b.hist“ (v1.22.0), „a.offLine - b.offLine“ a placesFirst (v1.25.0) · 1.32.0: src/core/live.ts searchQueue, queueAsk (GET /queue?q=, q nikdy v logu mostu), funkce queue.search · CHANGELOG.cs.md 1.32.0 -->
107
+ <!-- zdroj: research:src/core/queue.ts rankTasks (řazení :374-396), LEVEL_ORDER :52, linksFirst (hypolinks.ts:453), placesFirst · verze klíčů: git log -S na „a.blocked - b.blocked“ (v1.0.0), „a.story - b.story“ (v1.1.0), „a.first - b.first“ (v1.17.0), „a.hist - b.hist“ (v1.22.0), „a.offLine - b.offLine“ a placesFirst (v1.25.0) · 1.32.0: src/core/live.ts searchQueue, queueAsk (GET /queue?q=, q nikdy v logu mostu), funkce queue.search · CHANGELOG.cs.md 1.32.0 · 1.33.0: research:c50f80f5 task list --all (= --state all), strom help task list -->
107
108
 
108
109
  <a id="R2.2.1"></a>
109
110
  ### R2.2.1 Strategia kolejki
@@ -318,7 +318,13 @@ Daremne wyszukiwanie to wynik. Każde wyszukiwanie się zapisuje, także bez zna
318
318
  objęło. Najdroższy błąd to przeszukać tę samą księgę dwa razy.
319
319
 
320
320
  - **Granice (pilnuje kod):**
321
- - `--result found|negative|partial|inconclusive`; `found` wymaga `--found S…` (źródło zapisuje się najpierw);
321
+ - `--result found|negative|partial|inconclusive`; `found` wymaga `--found S…`: źródło zapisuje się najpierw
322
+ (`strom source add`). Bez `--found` kod odrzuca wyszukiwanie i podaje tę kolejność z dokładnym następnym
323
+ poleceniem (od badania 1.33.0);
324
+ - źródło dołączone do wyszukiwania omyłkowo usuwa `strom search edit Q… --drop-found S… --reason "…"` (także kilka
325
+ źródeł), `--no-found` usuwa wszystkie. Wyszukiwanie `found`, któremu nie zostanie żadne źródło, musi powiedzieć,
326
+ czym jest teraz (`--result negative|partial|inconclusive`), w przeciwnym razie zmiana zostaje odrzucona (od
327
+ badania 1.33.0);
322
328
  - `negative` kod odrzuca, dopóki w przeszukanym zakresie zostaje miejsce, które czytelnik zgłosił jako niejasne,
323
329
  a nikt od tego czasu nie obejrzał go w pełnym rozmiarze, na właściwej stronie rozkładówki. Liczą się odczyty od
324
330
  pierwszej sesji zadania (w przeciwnym razie z ostatnich 24 godzin). Wtedy zostaje `--result inconclusive`
@@ -329,10 +335,12 @@ objęło. Najdroższy błąd to przeszukać tę samą księgę dwa razy.
329
335
  - **Tylko metodyka:** wynik negatywny dopiero po obejrzeniu stron w pełnym rozmiarze. Brakujące strony księgi nie są
330
336
  przeszukane (`--pages 40-52,55-69`). Po `--until-found` tylko odczytane skany, jako `--result partial`.
331
337
  - **Obsługa:** terminal: `strom search add "…" --recordset B… --years … --surname … --pages … --method
332
- index|page-by-page|full-text|catalog|web|request|other --result negative --by main|reader|user --note "…"`.
333
- - **Obowiązuje od:** badanie 1.0.0; odrzucenie przy niejasnym miejscu i „tylko w indeksie” 1.14.0
338
+ index|page-by-page|full-text|catalog|web|request|other --result negative --by main|reader|user --note "…"`
339
+ (`--by agent` to to samo co `main`); poprawka `strom search edit Q… --drop-found S…|--no-found --reason "…"`.
340
+ - **Obowiązuje od:** badanie 1.0.0; odrzucenie przy niejasnym miejscu i „tylko w indeksie” 1.14.0; kolejność ze
341
+ źródłem, `search edit --drop-found|--no-found` i `--by agent` 1.33.0
334
342
 
335
- <!-- zdroj: research:assets/method/core.md:22-25 · reading.md:22-30, :70-84 · src/commands/analysis.ts:208-268 · src/core/model.ts:484-485 · src/commands/readings.ts:347-380 openUnclear, :414 refuseNegativeOverUnclear · src/core/evidence.ts:21 searchedAs · src/commands/tasks.ts:348-351 -->
343
+ <!-- zdroj: research:assets/method/core.md:22-25 · reading.md:22-30, :70-84 · src/commands/analysis.ts:208-268 · src/core/model.ts:484-485 · src/commands/readings.ts:347-380 openUnclear, :414 refuseNegativeOverUnclear · src/core/evidence.ts:21 searchedAs · src/commands/tasks.ts:348-351 · 1.33.0: research:7bdba196 search add (search.found.first), search edit --drop-found/--no-found (search.found.none|empty|not|which), strom help search edit · c50f80f5 --by agent (= main) · CHANGELOG.cs.md 1.33.0 -->
336
344
 
337
345
  <a id="R3.7"></a>
338
346
  ## R3.7 Kiedy agent pyta człowieka
@@ -217,7 +217,9 @@ człowiek ją włączy. Badanie przypisuje w tym celu miejsca do regionów histo
217
217
  - **Obsługa:** aplikacja: **Historia miejsc**, **Znajdź historię miejsca i okolic…**, **Przypisz region**, stany
218
218
  **Historia miejsca: czeka**, **Historia miejsca: trwa wyszukiwanie**, **Badanie nie odnalazło miejsca** · terminal:
219
219
  **Ustawienia → Samodzielna praca agenta → Historia**; `strom config set experiments.history on`,
220
- `strom history place <L…>`, `strom history map --unlocated`
221
- - **Obowiązuje od:** badanie 1.22.0
220
+ `strom history place <L…>`, `strom history map "<miejsce>" --region <id>[:<od>-<do>]` (raz dla każdego regionu,
221
+ do którego miejsce należało) albo `--unlocated --why "…"`, `strom history list --event <id>` (jedno wydarzenie
222
+ historii)
223
+ - **Obowiązuje od:** badanie 1.22.0; `history list --event` 1.33.0
222
224
 
223
- <!-- zdroj: research:src/core/pastevents.ts PACE_EVERY (:2621), experiments.historyPace · research:src/core/placehistory.ts · research:src/commands/history.ts place, map --unlocated, adopt · research:assets/lang/cs.json ui.alone.title, ui.alone.history · app:src/strings.ts history.* (v3.21.2 :13121–13235) · CHANGELOG.cs.md 1.22.0 (l.229) -->
225
+ <!-- zdroj: research:src/core/pastevents.ts PACE_EVERY (:2621), experiments.historyPace · research:src/core/placehistory.ts · research:src/commands/history.ts place, map --unlocated, adopt · research:assets/lang/cs.json ui.alone.title, ui.alone.history · app:src/strings.ts history.* (v3.21.2 :13121–13235) · CHANGELOG.cs.md 1.22.0 (l.229) · 1.33.0: research:926375ea history list --event · c50f80f5 history map bez --region (nápověda celého řádku) · strom help history map, history list -->
@@ -76,12 +76,18 @@ miejsca w danym czasie, archiwum i konkretną księgę (zbiór aktów) z dostęp
76
76
  - **Granice:** od 30 skanów; inną granicę (albo nigdy) wyznacza odpowiedź człowieka na pytanie `index.first`
77
77
  (`strom media calibrate --questions`). W rozmowie strom tylko o tym mówi, w sesji `strom run` odczyt odrzuca, dopóki
78
78
  agent nie poda `--no-index`.
79
+ - **Granice (która parafia, od badania 1.33.0):** indeks należy do księgi, gdy mają wspólne miejsce albo gdy parafia
80
+ jednego jest miejscem lub parafią drugiego. Parafia miejsca liczy się tylko z latami, które sięgają w lata księgi;
81
+ parafia z latami w latach księgi ma pierwszeństwo przed parafiami bez lat. Kilka parafii bez lat przy jednym
82
+ miejscu nie mówi, która parafia, i przez parafię nie pasuje do niczego (samo miejsce nadal tak). Miejsce zapisane
83
+ jako `L…` bierze tylko swoje własne parafie, miejsce zapisane tekstem tylko wtedy, gdy jest jedynym miejscem tej
84
+ nazwy w badaniu. Indeks innej parafii nie zostaje więc nigdy zaproponowany.
79
85
  - **Dlaczego:** według komentarza w kodzie od mniej więcej 20–40 skanów indeks opłaca się bardziej niż przeglądanie.
80
86
  Przypadek z rzeczywistego badania: czytelnicy odczytali 61 skanów księgi ślubów, podczas gdy indeks parafii leżał już
81
87
  pobrany.
82
- - **Obowiązuje od:** badanie 1.14.0
88
+ - **Obowiązuje od:** badanie 1.14.0; dopasowanie parafii 1.33.0
83
89
 
84
- <!-- zdroj: research:src/core/indexfirst.ts:1-28 INDEX_FIRST_DEFAULT · src/commands/read.ts:217 --no-index, :265 guardIndexFirst -->
90
+ <!-- zdroj: research:src/core/indexfirst.ts:1-28 INDEX_FIRST_DEFAULT · src/commands/read.ts:217 --no-index, :265 guardIndexFirst · 1.33.0: research:a722a101 src/core/indexfirst.ts covers, sameParish (roky farnosti, víc nedatovaných farností nepáruje, L-ID jen vlastní) · dirigent:prace/1114-vyzkum-z-hlidani-2/vysledek-sub2.md B4 -->
85
91
 
86
92
  <a id="R8.1.2"></a>
87
93
  ### R8.1.2 Wniosek o księdze
@@ -283,23 +283,56 @@ jednym: otwiera skan w Chrome i zapisuje to, co pokazuje przeglądarka skanów a
283
283
  Karta nierysowana przez 30 s zostaje zgłoszona jako taka („the browser did not draw the tab with the viewer for
284
284
  30 s …”: karta na wierzch, okno odkryte, potem skrypt jeszcze raz); przeglądarka archiwum, która w tym czasie
285
285
  przejdzie na inny skan, nie zapisuje nic;
286
- - polecenie ustawia zadanie na oczekiwanie na ten skan. Plik zapisuje się do folderu pobranych plików
287
- (`strom-T…-<číslo>.jpg`), a `strom media add --inbox --waiting` przenosi go do folderu zadania pod numerem skanu
288
- ([R9.6](#R9.6)).
286
+ - polecenie ustawia zadanie na oczekiwanie na ten skan. Plik zapisuje się do folderu pobranych plików jako
287
+ `strom-<znacznik badania>-T…-<numer>.jpg` (np. `strom-3f2a9c1b-T0007-0040.jpg`, numer skanu czterocyfrowo), a
288
+ `strom media add --inbox --waiting` przenosi go do folderu zadania pod numerem skanu ([R9.6](#R9.6));
289
+ - znacznik badania to pierwsze 8 znaków szesnastkowych jego id. Folder pobranych plików dzielą wszystkie badania
290
+ komputera: plik innego badania nigdy nie zostaje wzięty. Plik zapisany przed badaniem 1.33.0
291
+ (`strom-T…-<numer>.jpg`, bez znacznika) przejmuje tylko badanie, którego zapis o zapisaniu podaje tę nazwę;
292
+ - kopię, którą przeglądarka zapisze późno lub dwa razy („… (1).jpg”), `strom media add --inbox --waiting` usuwa z
293
+ folderu pobranych plików, gdy skan jest już w badaniu (zapis o zapisaniu trzyma się 14 dni). Nigdy pliku, któremu
294
+ strom nie nadał nazwy;
295
+ - bez `--recordset` księga jest ta, na którą czeka zadanie, w przeciwnym razie jedna z ksiąg zadania w archiwum
296
+ adresu `--at`. Kilka takich ksiąg strom wymienia i nic nie zapisuje;
297
+ - przeglądarka skanów, która jest na stronie, ale strom do niej nie sięga, zostaje zgłoszona: nic się nie zapisuje,
298
+ a komunikat mówi, co zrobi człowiek (zapisze skan w swojej przeglądarce do folderu zadania).
289
299
  - **Granice:** Chrome zapisuje z jednej strony tylko jeden plik. Na kolejne pobrania z tej samej strony musi zezwolić
290
300
  człowiek w pasku adresu Chrome; agent nigdy nie zmienia ustawień Chrome. Skan, którego pliku nie ma w folderze
291
301
  pobranych plików nawet 5 s po poleceniu zapisu, `strom media add --inbox --waiting` uznaje za wstrzymany: mówi to
292
302
  agentowi, a oczekiwanie zadania mówi człowiekowi, której witrynie zezwolić na pobieranie wielu plików („przeglądarka
293
303
  wstrzymała skan {n}: zezwolić witrynie {witryna} na pobieranie wielu plików, jednorazowo (ikona po prawej stronie
294
- paska adresu przeglądarki)”).
304
+ paska adresu przeglądarki)”). Na pobieranie, które jeszcze się zapisuje (`.crdownload`, `.part` i podobne),
305
+ polecenie krótko czeka; gdy i wtedy się nie skończy, mówi to i nie uznaje go za wstrzymane.
295
306
  - **Tylko metodyka:** program pobierający archiwum, którego przeglądarka pokazuje skany kafelkami, także zapisuje
296
307
  przez przeglądarkę, nawet część skanu; stronę księgi otwiera raz i nigdy jej nie odświeża.
297
308
  - **Dlaczego:** zgoda „przez przeglądarkę” pozwala na to, co zrobiłby człowiek w swojej przeglądarce, w jego tempie.
298
- - **Obsługa:** terminal (agent): `strom media save T… --image <číslo> --at <adresa> [--recordset B…]`, potem
309
+ - **Obsługa:** terminal (agent): `strom media save T… --image <numer> --at <adres> [--recordset B…]`, potem
299
310
  `strom media add --inbox --waiting`.
300
311
  - **Obowiązuje od:** badanie 1.27.0. Wstrzymany skan jest zgłaszany od badania 1.30.0, nierysowana karta od 1.31.0.
312
+ Znacznik badania w nazwie pliku, księga bez `--recordset`, sprzątanie późnych kopii, czekanie na zapisywane
313
+ pobieranie i nieosiągalna przeglądarka skanów od 1.33.0.
301
314
 
302
- <!-- zdroj: research:a4a2f6c0 src/core/browser.ts SaveRecord, HELD_AFTER_MS 5000 · src/commands/media.ts heldSaves, heldLine (media add --inbox --waiting) · assets/lang/cs.json browser.wait.held · research:src/commands/media.ts:1206-1294 media save (browserGate, guarded browser, permission browser, Downloads strom-T…-n.jpg) · commit dadd91e7 (viewer paged on) · src/core/browserhelp.ts agentBrowserAdvice · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · research:c6b6444d, dee0bb03 src/core/browser.ts VIEWER_HIDDEN_MS = 30_000, CAPTURE_JS (čekání jen na snímky kreslené karty, NOT_SHOWN, „the viewer's tiles did not all come in 30 s“, „the viewer was paged to another image … nothing saved“) · CHANGELOG.cs.md 1.31.0 -->
315
+ <!-- zdroj: research:a4a2f6c0 src/core/browser.ts SaveRecord, HELD_AFTER_MS 5000 · src/commands/media.ts heldSaves, heldLine (media add --inbox --waiting) · assets/lang/cs.json browser.wait.held · research:src/commands/media.ts:1206-1294 media save (browserGate, guarded browser, permission browser) · commit dadd91e7 (viewer paged on) · src/core/browserhelp.ts agentBrowserAdvice · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · research:c6b6444d, dee0bb03 src/core/browser.ts VIEWER_HIDDEN_MS = 30_000, CAPTURE_JS (čekání jen na snímky kreslené karty, NOT_SHOWN, „the viewer's tiles did not all come in 30 s“, „the viewer was paged to another image … nothing saved“) · CHANGELOG.cs.md 1.31.0 · 1.33.0: research:7306f2a7 src/core/browser.ts researchMark (8 hex z id), waitFileBase (strom-<značka>-T…-NNNN), staré jméno jen podle SaveRecord.file · f6de01b7 src/commands/media.ts saveBookOf (kniha bez --recordset), tidyDownloads, TAKEN_KEEP_MS 14 dní · 903ce928 media add --inbox --waiting (zapisované stahování, STROM_DOWNLOAD_WAIT_MS, heldSaves dl.unfinished) · f5339b36 findViewer (OpenSeadragon v kódu stránky), hláška „strom cannot reach it … nothing saved“ · strom help media save · CHANGELOG.cs.md 1.33.0 -->
316
+
317
+ <a id="R9.5.1"></a>
318
+ ### R9.5.1 Ostrzejsza kopia skanu
319
+
320
+ Skan, który jest już w badaniu, a do czytania jest za słaby, agent zapisuje przez przeglądarkę jeszcze raz: z
321
+ przeglądarką archiwum przybliżoną albo w pełnej rozdzielczości.
322
+
323
+ - **Pilnuje kod:**
324
+ - `strom media save … --again` zapisuje zarejestrowany skan jako nową kopię obok starej; nic się nie usuwa;
325
+ - obrazem skanu jest cała kopia z największą liczbą pikseli (szerokość × wysokość). Widok, czytanie i wycinki przez
326
+ `B…:<numer>` biorą ją; cytat, który już wskazuje na konkretną kopię (`M…`), przy niej zostaje;
327
+ - dopóki nowa kopia nie przyjdzie, zadanie dalej czeka na skan. Jeśli przyjdzie ten sam skan, nic nie rejestruje się
328
+ dwa razy, a zadanie wraca do kolejki;
329
+ - bez `--again` zapisanie zarejestrowanego skanu zostaje odrzucone, a komunikat proponuje `--again`. Brief przy
330
+ słabych skanach archiwum, do którego chodzi przeglądarka agenta, proponuje `--again` zamiast prośby do człowieka.
331
+ - **Granice:** tylko cały skan, nie jego wycinek.
332
+ - **Obsługa:** terminal (agent): `strom media save T… --image <numer> --recordset B… --at <adres> --again`.
333
+ - **Obowiązuje od:** badanie 1.33.0
334
+
335
+ <!-- zdroj: research:6651b60b src/commands/media.ts media save --again, againPending, settleAgain · src/core/media.ts findImage (nejvíc pixelů, ne část) · src/core/browser.ts SaveRecord.again · strom help media save (--again) · dirigent:prace/1114-vyzkum-z-hlidani-2/vysledek-sub1.md (A2, otevřené: výřez ne; citace na M… zůstávají) · CHANGELOG.cs.md 1.33.0 -->
303
336
 
304
337
  <a id="R9.6"></a>
305
338
  ## R9.6 Oczekiwanie na skany i powrót zadania
@@ -315,6 +348,8 @@ nich folder. Zadanie wraca do kolejki samo, gdy w badaniu są wszystkie jego ska
315
348
  - plik zostaje przejęty, gdy przez 3 s się nie zmienia (duży skan nigdy nie zostanie przejęty w połowie);
316
349
  - przejęcie: od razu, gdy działa most do aplikacji Strom (zagląda do folderów czekających zadań, ponownie co
317
350
  30 s); w przeciwnym razie przy starcie kolejnej sesji; albo od razu poleceniem `strom media add --inbox --waiting`;
351
+ - `strom media view B…:<numer>` skanu, na który czeka zadanie, mówi, kto na niego czeka (przeglądarka agenta, plan
352
+ programu pobierającego w przeglądarce albo człowiek) i dokładny następny krok (od badania 1.33.0);
318
353
  - zadanie wraca, gdy są tam wszystkie skany, z notatką, co przyszło. Przy części czeka dalej, a Co czeka pokazuje,
319
354
  ile zapisano z ilu i których brakuje;
320
355
  - skany z aplikacji idą prosto do zadania: ponumerowane według skanu, który poda aplikacja, w przeciwnym razie
@@ -351,7 +386,7 @@ nich folder. Zadanie wraca do kolejki samo, gdy w badaniu są wszystkie jego ska
351
386
  - **Obowiązuje od:** badanie 1.0.0 (folder w `inbox/`), budzenie po zapisaniu od 1.15.0. Przejęcie bez polecenia,
352
387
  części skanów, odpowiedź i skany z aplikacji oraz archiwum pod jedną nazwą od badania 1.27.0 i aplikacji 3.23.0.
353
388
 
354
- <!-- zdroj: research:src/commands/tasks.ts:1041 task wait (--images, folder) · src/core/media.ts:117 inboxFolderFor · src/core/inboxwait.ts:25 SETTLE_MS · src/core/inboxwatch.ts:1-8 (30 s) · src/commands/media.ts:141-180 wakeWaiting · src/core/live.ts waiting/<T> answer, PUT /media (X-Strom-Task, X-Strom-Image, 409 waiting.image-same) · src/commands/media.ts:403-478 (same sha under its number → 200 same: true, added []; another number/book → 409 waiting.image-same) · src/core/waiting.ts actionsOf, archiveGroup · src/core/waitkind.ts waitGroupOf (repo: before archive:, host:) · assets/method/waiting.md "Images saved by hand" (the one exception, 7bd55fa1) · assets/method/reading.md · src/commands/guide.ts rule 7 · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · app:CHANGELOG.cs.md 3.23.0 · src/research-waiting.ts:216-272 (actions, order), :448-488 assignImages · src/research-waiting-write.ts:532 WAITING_ANSWER_MAX · src/ui/research-overview-ui.ts:698-812 group head · src/strings.ts live.waitingTask -->
389
+ <!-- zdroj: research:src/commands/tasks.ts:1041 task wait (--images, folder) · src/core/media.ts:117 inboxFolderFor · src/core/inboxwait.ts:25 SETTLE_MS · src/core/inboxwatch.ts:1-8 (30 s) · src/commands/media.ts:141-180 wakeWaiting · src/core/live.ts waiting/<T> answer, PUT /media (X-Strom-Task, X-Strom-Image, 409 waiting.image-same) · src/commands/media.ts:403-478 (same sha under its number → 200 same: true, added []; another number/book → 409 waiting.image-same) · src/core/waiting.ts actionsOf, archiveGroup · src/core/waitkind.ts waitGroupOf (repo: before archive:, host:) · assets/method/waiting.md "Images saved by hand" (the one exception, 7bd55fa1) · assets/method/reading.md · src/commands/guide.ts rule 7 · src/agents/files.ts:80-95 · CHANGELOG.cs.md 1.27.0 · app:CHANGELOG.cs.md 3.23.0 · src/research-waiting.ts:216-272 (actions, order), :448-488 assignImages · src/research-waiting-write.ts:532 WAITING_ANSWER_MAX · src/ui/research-overview-ui.ts:698-812 group head · src/strings.ts live.waitingTask · 1.33.0: research:bfa01a34 src/commands/media.ts media view (snímek, na který úkol čeká: kdo a další krok) -->
355
390
 
356
391
  <a id="R9.7"></a>
357
392
  ## R9.7 Sesja automatyczna i czat
@@ -26,7 +26,8 @@ export function autoCommit(ctx, def) {
26
26
  // Incremental gate: records were validated when written; here only what
27
27
  // changed since the last commit is checked, so the cost stays flat.
28
28
  const snap = snapshot(tree);
29
- const findings = [...verifyFast(tree, snap).findings, ...guard(tree, snap)];
29
+ const fast = verifyFast(tree, snap);
30
+ const findings = [...fast.findings, ...guard(tree, snap)];
30
31
  if (hasErrors(findings)) {
31
32
  const errors = findings.filter((f) => f.level === "error");
32
33
  return {
@@ -51,6 +52,13 @@ export function autoCommit(ctx, def) {
51
52
  // the commit takes the folder as it is there — never a record or log of nobody's into the history
52
53
  for (const f of snap.leftovers)
53
54
  written.add(f);
55
+ // files an earlier commit left behind although the operation that wrote them is in the history (verifyFast
56
+ // sealedBefore): taken now, so the research is whole in git again
57
+ for (const f of fast.sealedBefore ?? [])
58
+ written.add(f);
59
+ // and a write whose commit never came (its log untouched for long, its process gone): its log and files with it
60
+ for (const f of fast.leftBehind ?? [])
61
+ written.add(f);
54
62
  // an archive: no agent edits its free-form folders — a person's own file in notes/ is theirs, never swept into a
55
63
  // commit of something else (found on Windows: strom mode committed a file of the user's) — nor by the switch itself
56
64
  const free = isArchive(tree) || def.path[0] === "mode" ? ["inputs", "output"] : ["notes", "tools", "inputs", "output"];
@@ -10,7 +10,7 @@ import fs from "node:fs";
10
10
  import path from "node:path";
11
11
  import * as git from "./git.js";
12
12
  import { RECORD_TYPES } from "./model.js";
13
- import { inCloudOnly, snapshot } from "./integrity.js";
13
+ import { inCloudOnly, snapshot, verifyFast } from "./integrity.js";
14
14
  /** Array fields whose items must never disappear, with the key identifying an item. */
15
15
  const KEPT_ARRAYS = {
16
16
  events: (i) => String(i.id),
@@ -79,6 +79,10 @@ export function guard(tree, snap = snapshot(tree)) {
79
79
  }
80
80
  }
81
81
  }
82
+ // a record as an operation the last commit holds already wrote it (its file left out of that commit): strom's own
83
+ // write, its operation in the history — nothing lost since then (verifyFast sealedBefore); asked only when needed
84
+ let sealedBefore;
85
+ const writtenBefore = (p) => (sealedBefore ??= new Set(verifyFast(tree, snap).sealedBefore ?? [])).has(p);
82
86
  for (const c of changes) {
83
87
  const dir = c.path.slice(0, c.path.lastIndexOf("/") + 1);
84
88
  if (!RECORD_DIRS.has(dir) || !c.path.endsWith(".json"))
@@ -105,6 +109,7 @@ export function guard(tree, snap = snapshot(tree)) {
105
109
  const cur = parse(fs.readFileSync(abs, "utf8"));
106
110
  if (!cur)
107
111
  continue;
112
+ const found = out.length;
108
113
  for (const [field, keyOf] of Object.entries(KEPT_ARRAYS)) {
109
114
  const a = prev[field];
110
115
  if (!Array.isArray(a))
@@ -130,6 +135,8 @@ export function guard(tree, snap = snapshot(tree)) {
130
135
  });
131
136
  }
132
137
  }
138
+ if (out.length > found && writtenBefore(c.path))
139
+ out.length = found;
133
140
  }
134
141
  return out;
135
142
  }
@@ -81,6 +81,8 @@ export function leftoversError(files, said) {
81
81
  details: [said, ...files.slice(0, 50)],
82
82
  });
83
83
  }
84
+ /** How long a log added since the last commit lies untouched before it is taken as a write left behind. */
85
+ export const LEFT_BEHIND_MS = 10 * 60_000;
84
86
  const RECORD_DIRS = new Set(Object.values(RECORD_TYPES).map((d) => `data/${d.dir}/`));
85
87
  function isRecordPath(p) {
86
88
  const dir = p.slice(0, p.lastIndexOf("/") + 1);
@@ -350,6 +352,12 @@ export function verifyFast(tree, snap = snapshot(tree)) {
350
352
  const opsChanged = changes.filter((c) => c.path.startsWith("data/ops/") && c.path.endsWith(".jsonl"));
351
353
  const latest = new Map();
352
354
  const cloud = new Set();
355
+ // what every changed log added, ordered by time across them as verifyFull orders them — never by the order git names
356
+ // the logs in (found on Windows, 1.31: a session's start woke its task in the agent's log and took it up in the
357
+ // session's own, "N0442.…" named before "agent-…": the older operation had the last word, the task said edited outside
358
+ // strom, the start not committed and every write after it refused)
359
+ const addedAll = [];
360
+ const logOf = new Map();
353
361
  for (const c of opsChanged) {
354
362
  const before = committed.get(c.path) ?? "";
355
363
  const abs = path.join(tree.root, c.path);
@@ -370,9 +378,35 @@ export function verifyFast(tree, snap = snapshot(tree)) {
370
378
  const added = parseOps(now.slice(before.length), c.path, findings, prior.length);
371
379
  checkOps(tree, added, prior.at(-1)?.sig ?? "", c.path, findings, keys);
372
380
  for (const op of added)
373
- for (const f of op.files ?? [])
374
- latest.set(f.path, f.sha);
381
+ logOf.set(op, c.path);
382
+ addedAll.push(...added);
375
383
  }
384
+ addedAll.sort((a, b) => (a.at < b.at ? -1 : a.at > b.at ? 1 : 0));
385
+ const lastLog = new Map();
386
+ for (const op of addedAll)
387
+ for (const f of op.files ?? []) {
388
+ latest.set(f.path, f.sha);
389
+ lastLog.set(f.path, logOf.get(op));
390
+ }
391
+ // A file changed since the last commit that no operation added since sealed: its last word is the newest operation of
392
+ // every log, as strom verify judges it — an operation the last commit holds while its file stayed out of that commit
393
+ // (found on Windows, 1.31: every write refused, "the history is older", while strom verify was content) is strom's own
394
+ // work, not a change outside strom. Read only when such a file is there: the logs of the whole research, once.
395
+ // Only where git's index holds nothing else than the folder: an edit taken back after its git add ("MM") would go
396
+ // into the next commit from the index, never sealed — still said.
397
+ let everyLog;
398
+ const sealedBefore = new Set();
399
+ const indexOdd = new Set(changes.filter((c) => !asInFolder(c)).map((c) => c.path));
400
+ const expectedOf = (p) => {
401
+ const own = latest.get(p);
402
+ if (own !== undefined || indexOdd.has(p))
403
+ return own;
404
+ everyLog ??= sealedByEveryLog(tree);
405
+ const before = everyLog.get(p);
406
+ if (before !== undefined)
407
+ sealedBefore.add(p);
408
+ return before;
409
+ };
376
410
  for (const c of changes) {
377
411
  // iCloud's placeholder of a file: the file it stands for says it (a record, a log of the history)
378
412
  const stands = placeholderOf(path.posix.basename(c.path));
@@ -386,8 +420,10 @@ export function verifyFast(tree, snap = snapshot(tree)) {
386
420
  continue;
387
421
  if (c.path === "strom.json") {
388
422
  // strom changes its config through a logged operation (strom config set --for-tree).
389
- if (latest.get(c.path) !== undefined && latest.get(c.path) === fileSha(path.join(tree.root, c.path)))
423
+ const sealed = expectedOf(c.path);
424
+ if (sealed !== undefined && sealed === fileSha(path.join(tree.root, c.path)))
390
425
  continue;
426
+ sealedBefore.delete(c.path);
391
427
  findings.push({ level: "error", code: "config-edited", file: c.path, message: "strom.json was changed outside strom", hint: "strom repair" });
392
428
  tampered.add(c.path);
393
429
  continue;
@@ -395,9 +431,11 @@ export function verifyFast(tree, snap = snapshot(tree)) {
395
431
  if (isHistoryPath(c.path)) {
396
432
  // written whole by strom through a sealed operation (strom history …), as a record
397
433
  const abs = path.join(tree.root, c.path);
398
- if (latest.get(c.path) !== undefined && fs.existsSync(abs) && latest.get(c.path) === fileSha(abs))
434
+ const sealed = expectedOf(c.path);
435
+ if (sealed !== undefined && fs.existsSync(abs) && sealed === fileSha(abs))
399
436
  continue;
400
- findings.push(historyFinding(c.path, fs.existsSync(abs) ? (c.code === "??" && latest.get(c.path) === undefined ? "unsealed" : "edited") : "deleted"));
437
+ sealedBefore.delete(c.path);
438
+ findings.push(historyFinding(c.path, fs.existsSync(abs) ? (c.code === "??" && sealed === undefined ? "unsealed" : "edited") : "deleted"));
401
439
  tampered.add(c.path);
402
440
  continue;
403
441
  }
@@ -406,11 +444,95 @@ export function verifyFast(tree, snap = snapshot(tree)) {
406
444
  tampered.add(c.path);
407
445
  continue;
408
446
  }
409
- checkRecordFile(tree, c.path, latest.get(c.path), c.code === "??", findings, tampered, cloud);
447
+ checkRecordFile(tree, c.path, expectedOf(c.path), c.code === "??", findings, tampered, cloud);
448
+ if (tampered.has(c.path) || cloud.has(c.path))
449
+ sealedBefore.delete(c.path);
410
450
  }
411
451
  if (cloud.size)
412
452
  findings.unshift(notDownloadedFinding([...cloud].sort()));
413
- return { findings: united(findings, keys), tampered: [...tampered] };
453
+ const left = leftBehindOf(tree, opsChanged, lastLog, findings, indexOdd);
454
+ const fast = { findings: united(findings, keys), tampered: [...tampered], ...(sealedBefore.size ? { sealedBefore: [...sealedBefore].sort() } : {}), ...(left.length ? { leftBehind: left } : {}) };
455
+ return agreeWithFull(tree, fast, indexOdd);
456
+ }
457
+ /**
458
+ * The logs added since the last commit untouched for LEFT_BEHIND_MS, and the files whose last word is theirs (Integrity
459
+ * leftBehind) — only in a tree with nothing else to say: what is wrong is never taken into a commit.
460
+ */
461
+ function leftBehindOf(tree, opsChanged, lastLog, findings, indexOdd) {
462
+ if (findings.some((f) => f.level === "error"))
463
+ return [];
464
+ const old = Date.now() - LEFT_BEHIND_MS;
465
+ const stale = new Set();
466
+ for (const c of opsChanged) {
467
+ if (indexOdd.has(c.path))
468
+ continue;
469
+ try {
470
+ if (fs.statSync(path.join(tree.root, c.path)).mtimeMs < old)
471
+ stale.add(c.path);
472
+ }
473
+ catch {
474
+ // gone or only in the cloud: said otherwise
475
+ }
476
+ }
477
+ if (!stale.size)
478
+ return [];
479
+ const files = [...lastLog].filter(([p, log]) => stale.has(log) && !indexOdd.has(p)).map(([p]) => p);
480
+ return [...stale, ...files].sort();
481
+ }
482
+ /** A change whose file in git's index is the last commit's or the folder's: a commit of it takes what is in the folder. */
483
+ function asInFolder(c) {
484
+ return c.code[0] === " " || c.code[0] === "?" || c.code[1] === " ";
485
+ }
486
+ /** What the fast check may say of a file that the full one judges otherwise: a record or a file of the history. */
487
+ const FILE_FINDINGS = new Set(["unsealed", "manual-edit", "history-edited", "quality-edited"]);
488
+ /**
489
+ * The fast check never refuses what strom verify finds in order (a write refused while strom verify and strom seal
490
+ * accept had nothing to say left the person no way on, 1.31): files the fast check alone says changed outside strom,
491
+ * the full check content with every one of them and git's index holding nothing else than the folder (indexOdd), are
492
+ * strom's own work — taken by the next commit (sealedBefore).
493
+ * Only then is the full check run: a tree in order never pays for it.
494
+ */
495
+ function agreeWithFull(tree, fast, indexOdd) {
496
+ const errors = fast.findings.filter((f) => f.level === "error");
497
+ if (!errors.length || !errors.every((f) => FILE_FINDINGS.has(f.code) && f.file && !indexOdd.has(f.file)))
498
+ return fast;
499
+ let full;
500
+ try {
501
+ full = verifyFull(tree);
502
+ }
503
+ catch {
504
+ return fast;
505
+ }
506
+ if (full.findings.some((f) => f.level === "error"))
507
+ return fast;
508
+ const files = new Set([...(fast.sealedBefore ?? []), ...errors.map((f) => f.file)]);
509
+ return { findings: fast.findings.filter((f) => f.level !== "error"), tampered: [], sealedBefore: [...files].sort() };
510
+ }
511
+ /**
512
+ * What the newest operation of every log of the research sealed of each file (path → sha), as verifyFull orders them:
513
+ * by their time across all logs. A log only in iCloud is left out (its file is said not downloaded on its own).
514
+ */
515
+ function sealedByEveryLog(tree) {
516
+ const all = [];
517
+ const ignored = [];
518
+ for (const file of opsLogs(tree.dataDir)) {
519
+ if (inCloudOnly(file))
520
+ continue;
521
+ let text;
522
+ try {
523
+ text = fs.readFileSync(file, "utf8");
524
+ }
525
+ catch {
526
+ continue;
527
+ }
528
+ all.push(...parseOps(text, file, ignored));
529
+ }
530
+ all.sort((a, b) => (a.at < b.at ? -1 : a.at > b.at ? 1 : 0));
531
+ const out = new Map();
532
+ for (const op of all)
533
+ for (const f of op.files ?? [])
534
+ out.set(f.path, f.sha);
535
+ return out;
414
536
  }
415
537
  /** Another key of this computer among the findings: one way with what strom repair undoes (oneWay). */
416
538
  function united(findings, keys) {
package/dist/core/tree.js CHANGED
@@ -32,7 +32,7 @@ export const TREE_FILE = "strom.json";
32
32
  export const SEAL_FOREIGN = "seal.foreign";
33
33
  // between releases the candidate being made (a bridge run from the sources says what it is: the Strom app goes by it);
34
34
  // at a release the release's own (package.json)
35
- export const VERSION = "1.33.0-beta.2";
35
+ export const VERSION = "1.33.0";
36
36
  /** What a new research is settled with from the start: nothing an older strom counted otherwise to set right in it. */
37
37
  export const NEW_TREE_SETTLED = ["readers-1", "proven-originals-1", "origins-1", "verify-originals-1", "origins-tree-1"];
38
38
  const GITIGNORE = `# Strom Research — local state and large files are not versioned
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "strom-research",
3
- "version": "1.33.0-beta.2",
4
- "stromDoc": "3a5bd917a9b98fe34ae7f3b00190fe63f01389fb",
3
+ "version": "1.33.0",
4
+ "stromDoc": "6b1e28a81ac8d9cada09d015518150116cdca9cf",
5
5
  "description": "Genealogical research toolkit for AI coding agents",
6
6
  "type": "module",
7
7
  "stromLayout": 2,
@@ -61,8 +61,5 @@
61
61
  "devDependencies": {
62
62
  "@types/node": "^22.20.4",
63
63
  "typescript": "^7.0.2"
64
- },
65
- "publishConfig": {
66
- "tag": "beta"
67
64
  }
68
65
  }