Hand this page to your AI agent
Give your agent (Claude, ChatGPT or any assistant that can open web pages) this address and ask it to do the task on the page:
https://cyphersolver.com/further/armfelt1791.html
Or copy the block below into the chat. It is the whole task: the reading, every open gap, what has been tried, the steps, and how to report back.
TASK: take a partial decipherment further: Armfelt to Gustav III, 29 July 1791
This page: https://cyphersolver.com/further/armfelt1791.html
You are helping a public research project finish reading historical cipher letters. This one is read in part:
the key works, but some pieces are still open. Your job is to close one or more of the open gaps below.
THE READING
Write-up: https://cyphersolver.com/armfelt1791.html (read it first: how the text was read, the key, the reading)
Date: 1791
Outcome: key from adjacent plaintext · partial
Read now: 41.0% of the deciphered cipher tokens give sense (pieces below may be untouched)
Files: https://github.com/dbourdeau/cyphersolver/tree/main/targets/armfelt1791 (NOTES.md, key, transcription, reading, scripts)
OPEN GAPS (from NOTES.md, "## Remaining gaps")
1. [open-codes: doable now] v834-835 cipher runs: 11 unresolved words (392, the name after "par les", 9319, 677, dé-228-isant, 138, l-435-u, 9370 690 249 171, 322, dé-651-é, 597-677-s) and 38 probable values outside the frozen key - blocker: open-codes; not blocked from outside: the printed translation (1 Dec 2026) gives the sense of 9 of the 11 and agrees with 36 of the 38 probables, so the next step is a new key version set from it and from more glossed letters in the same code (other letters of F 508, F 493), tested on a fresh held-out portion. Only 392 and 677 (and the uncounted [615 522]) have no counterpart in the print.
ALREADY TRIED (from NOTES.md, "## Escalation")
[x] siblings: views 823 and 834-840 of F 508 opened, and F 493 no. 106 (same code) used for the key; the other letters of F 508 are not yet opened page by page (first next step).
[x] clear-pages: view 823 p. 3 identified as the contemporary decipherment of p. 2; view 834 left page (Swedish, clear) announces the personal cipher; no decipherment found with views 834-840.
[x] known-keys: the Gustavian code of 1790 (F 493 no. 106) tried; it fits views 823 and 834-835, not 836-840 (now `armfelt1791b`).
[x] print: Tegnér, *Gustaf Mauritz Armfelt* I (1883) p. 425 note, points to a Swedish translation of this letter in Schinkel and Bergman, *Minnen* II (1852), Bilagor no. 26, pp. 328-329 (found 1 Dec 2026, after the measurement; `print/schinkel1852_bil26_ocr.txt`); it matches the reading run for run. No French decipherment found in print.
[x] key-rebuild: alphabetical bracketing of the 9xxx words and of the 530-880 syllables, fixed in the prereg before the measurement.
[x] retry: every probable and unresolved word regraded against the printed translation on 1 Dec 2026 (section above): 36 of 38 probables agree, 9 of 11 unresolved get their sense, none contradicted; the frozen figures are not changed. A re-decode with values set from the print would be a new key version, and this held-out portion is spent: it waits for a fresh portion (another letter of F 508 in the same code).
STEPS
0. Set up. If you can run a shell, fork and clone the repository and work inside it:
git clone https://github.com/dbourdeau/cyphersolver.git
Then read, in this order: CONTRIBUTING.md (how a contribution is sent and credited); README.md, sections
"Repository layout" and "Conventions" (how readings are measured and named); targets/armfelt1791/NOTES.md in full, and the
key, transcription and reading files it names; lang/README.md (shared language models).
Work in targets/armfelt1791/. Add your findings to NOTES.md under a dated heading without rewriting what is there, and
update the "## Remaining gaps" line of every gap you close. Keep WORKLOG.md there: one dated line per step
(hypothesis, value tried, solver run, crib, control), failures included. Do not edit docs/ (the site is generated).
If you cannot run a shell, fetch the files from the links above and keep your work in files you send with the issue.
1. Pick a gap. Start with the ones marked "doable now" (open-codes, not-attempted, left-open): the images and the key
are online, so they need only work. A gap marked "needs a new source" (no-key-material, too-short, illegible,
needs-physical-access) can be closed only by something new: a key
or a deciphered sibling found elsewhere, a better image, a printed edition or calendar, a photograph from the archive.
For those, search for that material first, and say where you looked even when you find nothing.
2. Start from the existing key and transcription in the folder. Do not rebuild the key from scratch, and do not
re-read parts that are already read unless you find an error in them.
3. For a code group or sign value: list every place the group occurs, show how each reads with the value you propose,
and say what still does not fit. For a passage: re-read it at the image and give the folio and line. For a missing
letter or leaf: say where it is held and how it can be reached.
4. Measure again. Apply the key to the whole text, write the reading file, and count the share of cipher tokens that
give sense (not an estimate). The reading is "complete" only when (1) at least 95% of its cipher tokens give sense;
(2) no gap is left untried; (3) every letter in it is covered; (4) what stays open is scattered code groups or names,
or pieces blocked from outside. Otherwise it stays "partial": say which gaps are still open and why.
5. Be honest. Mark every uncertain word with [?], leave unread groups as their numbers or signs, and never fill a gap
with a plausible guess. A gap retried and still open, with what was ruled out, is worth reporting.
REPORT BACK
With a clone: open a pull request with your changes to targets/armfelt1791/. Say in the description which gaps you worked on,
the share read before and after, and how you want to be credited (name, initials or handle, and a link).
Without one: open an issue: https://github.com/dbourdeau/cyphersolver/issues/new?template=further-reading.yml&title=Further+reading%3A+armfelt1791&page=armfelt1791.html
Give the write-up, the gap you worked on (its line in Remaining gaps, or the code group, folio and line), what you
propose, the evidence (every occurrence, the images or sources), the share read before and after, your step log,
and the tools and AI model you used.
If you cannot open issues or pull requests, write this report for your human to send. Credit goes to the person who sends it.Open gaps
gold can be done now: the images and the key are online, it needs only work. grey needs a new source first: a key, a better scan, an edition or the archive.
- code groups open v834-835 cipher runs: 11 unresolved words (392, the name after "par les", 9319, 677, dé-228-isant, 138, l-435-u, 9370 690 249 171, 322, dé-651-é, 597-677-s) and 38 probable values outside the frozen key - blocker: open-codes; not blocked from outside: the printed translation (1 Dec 2026) gives the sense of 9 of the 11 and agrees with 36 of the 38 probables, so the next step is a new key version set from it and from more glossed letters in the same code (other letters of F 508, F 493), tested on a fresh held-out portion. Only 392 and 677 (and the uncounted [615 522]) have no counterpart in the print.
Already tried
- ☑ siblings views 823 and 834-840 of F 508 opened, and F 493 no. 106 (same code) used for the key; the other letters of F 508 are not yet opened page by page (first next step).
- ☑ clear-pages view 823 p. 3 identified as the contemporary decipherment of p. 2; view 834 left page (Swedish, clear) announces the personal cipher; no decipherment found with views 834-840.
- ☑ known-keys the Gustavian code of 1790 (F 493 no. 106) tried; it fits views 823 and 834-835, not 836-840 (now `armfelt1791b`).
- ☑ print Tegnér, *Gustaf Mauritz Armfelt* I (1883) p. 425 note, points to a Swedish translation of this letter in Schinkel and Bergman, *Minnen* II (1852), Bilagor no. 26, pp. 328-329 (found 1 Dec 2026, after the measurement; `print/schinkel1852_bil26_ocr.txt`); it matches the reading run for run. No French decipherment found in print.
- ☑ key-rebuild alphabetical bracketing of the 9xxx words and of the 530-880 syllables, fixed in the prereg before the measurement.
- ☑ retry every probable and unresolved word regraded against the printed translation on 1 Dec 2026 (section above): 36 of 38 probables agree, 9 of 11 unresolved get their sense, none contradicted; the frozen figures are not changed. A re-decode with values set from the print would be a new key version, and this held-out portion is spent: it waits for a fresh portion (another letter of F 508 in the same code).
Send a result
One closed gap counts: a code group valued, a passage re-read, a key or clear copy found elsewhere. It is credited to you on the write-up.