Repository navigation
Versions and Upgrading
| Version | Date | Commit | Get it |
|---|---|---|---|
| 0.6.1 | 2026-11-02 | 078613e |
GitHub release: historywright-0.6.1.zip, same contents |
| 0.6.0 | 2026-11-02 | 1288691 |
GitHub release: historywright-0.6.0.zip, same contents |
| 0.5.1 | 2026-11-01 | 1c55b31 |
GitHub release: historywright-0.5.1.zip, same contents |
| 0.5.0 | 2026-11-01 | 3239fbf |
GitHub release: historywright-0.5.0.zip, same contents |
| 0.4.0 | 2026-11-01 | d0ba8f6 |
GitHub release: historywright-0.4.0.zip, same contents |
| 0.3.0 | 2026-10-24 | 5c39462 |
GitHub release: historywright-0.3.0.zip, same contents |
| 0.2.0 | 2026-10-18 | f890f1c |
GitHub release: historywright-0.2.0.zip, same contents |
| 0.1.0 | 2026-10-18 | 6d06bb0 |
GitHub release: historywright-0.1.0.zip holds skills/, the README, LICENSE and SECURITY.md |
The pages of this wiki were run against 0.6.1. There is no package registry. The plugin marketplace and a git clone install main, which can be ahead of the last release (Getting started).
Nothing yet: main is at 0.6.1.
On 2026-11-02 (CHANGELOG C-20261102-3 and -4): DPLA has a probe, so hw.py probe checks its endpoint (skipped without a key) and hw.py lint no longer warns dpla: no probe. Nothing else changed.
On 2026-11-02 (CHANGELOG C-20261102-1 and -2): hw.py src dpla QUERY searches the Digital Public Library of America with a free key (DPLA_API_KEY or keys.dpla), returning title, date, creator, type, holder, rights category, the holder's page and the DPLA record link (Commands). keys status checks the DPLA key live, and a key saved in the config as a bare string is read too (it crashed get_key before). Nothing else changed.
On 2026-11-01 (CHANGELOG C-20261101-9 and -10): an Internet Archive stream/ITEM/FILE.txt URL serves a viewer page, so verify quote and fetch now read download/ITEM/FILE.txt in its place and say so in source_text; verify sources accepts either URL in the fetch log. Nothing else changed.
On 2026-11-01 (CHANGELOG C-20261101-3 to C-20261101-8):
-
verify quotematches OCR of the long s: when the normalised match fails, every s inside a word is read as f and the match is tried again, labellednormalised, long s read as f (pre-1800 print)(How claims are checked). -
validate-packrefuses an EDTF interval that runs backwards and ajdnrange outside the EDTF's days; the contract shows1790/1840,1790~/1840,1790/..and../1840(The research pack). - A
sources.jsonclaim may carrymeasured: {scale, how}and a sheetlocatorin place of a quote;verify sourcesreports it asmeasured(How claims are checked). -
pack add-reftakes IIIF manifests (--canvas N), IIIF image services and theirinfo.json, and--ia ITEM --canvas Nfor Internet Archive book pages, with--size(default 2000) (The research pack). - The era outline's South Asia entry names Shimada 2013 (Brill, open access) for the long and short Satavahana chronologies.
On 2026-11-01 (CHANGELOG C-20261024-1, C-20261024-2, C-20261101-1 and C-20261101-2). The first two were meant for 0.3.0, but its tag was cut before they merged:
-
hw.py fetch URL [--find WORD]reads a page into the run's page store and fetch log without a quote, writes its text to a.txtfile and counts each term in context, also in long-s spellings for pre-1800 OCR (Commands). Before, storing a page tookverify quotewith a made-up quote. -
pack init --mechanismadds a "Water path" subsection to the Mechanism section, with<fill: ...>placeholders thatvalidate-packfails on until they are filled or the subsection is deleted (The research pack). -
src commonsreturns images and drawings only; PDFs and DjVu scans no longer come back among them. - The registry notes say which hosts refuse hw.py (Gallica and the Qatar Digital Library behind Cloudflare), that DPLA needs a key, and that HathiTrust answers.
On 2026-10-24 (CHANGELOG C-20261021-1 to C-20261023-3):
- Ten art and provenance sources (Getty Provenance, Museo Egizio, auction-price sites), all linked rather than queried;
src articsends the header the Art Institute's API now requires, andprobesends each source's search headers. -
src loc-habssearches the HABS/HAER/HALS collection: measured drawings, photographs and data pages of US buildings and machinery (Commands). -
pack add-refrefuses a non-commercial image in a commercial pack before downloading, never overwrites another image's file (-2,-3), and keeps the accession's tail in long names. "CC BY 4.0 licence" no longer reads as non-commercial. -
validate-packfails on unedited templates (placeholders in answer.md, empty-items in anachronism.md) and no longer crashes on a fresh pack;pack init --mechanismadds a required Mechanism section for machines. - 96 registry sources (85 at 0.2.0).
All on 2026-10-18 (see the CHANGELOG, C-20261018-5 to C-20261018-10):
- A
.historywright/folder in the working directory holds that project's own cache, fetch log and pages; keys, the calendar table and the pace file stay in~/.historywright.doctorreportshome_fromandconfig, and warns when it runs from inside the skill folder (cwd_in_skill_folder). -
cal datereads Kalends, Nones and Ides (Ides of March 44 BC,a.d. III Id. Mar. 44 BC), Hijri month names (15 Ramadan 1445 AH, andRamadan 1445as that month's own days), labels AH dates in AH, and turnsc.orcircainto EDTF~. 0.1.0 refused the first two and only notedc.. -
src waybackno longer lists the same capture several times (collapse=digest). -
verify quoteandverify sourcesread PDFs:pdftotextwhen it is installed, else a built-in reader. A PDF with no readable text (a scan) answersfound: nullinstead of reporting the quote missing. In 0.1.0 a PDF was read as a web page and a real quote came backfound: false.doctorreportspdftotext. -
place search "<name>" --source ohm [--year N]asks OpenHistoricalMap for dated borders and places (Kingdom of Prussia --year 1800,Roman Republic --year -44); a negative year is BC. - The source registry lists Seshat as CC BY-SA 4.0 (its current terms allow commercial use), so a commercial pack may use Seshat data with attribution and share-alike.
-
doisays "only the year differs" when the title and author match but the year does not. It asks for the year printed on the work instead of calling the reference blended (How claims are checked). - The era outline's South Asia entry covers 185 BCE to 320 CE, the kingdoms between the Maurya and the Gupta. It warns that inscription eras such as the Azes era have disputed start years.
All dates 2026, all on main.
| Commit | Date | What changed for users |
|---|---|---|
| 954d6aa | 10-17 | first commit: three skills, hw.py, the 85-source registry, the pack contract |
| ac75a80 | 10-18 | README banner; eval fixes; tests/check_skills.py skips the local eval output folder |
| dd0dd8e | 10-18 | eval results recorded; no change to the skills |
| 2fa5bd2 | 10-18 |
HW_RECORD no longer writes key values into recorded fixtures |
| b3b4193 | 10-18 | docs only: the registry count (85), the README's Caesar example, cli.md's exit codes and options |
| 29bc397 | 10-18 |
cal date reads 709 AUC and 1300 AH (the year first), gives an AH year its own days and an EDTF interval, refuses Kalends, Nones and Ides and Islamic month names instead of misreading them, and lists ignored words in notes; the skill's date traps table says so |
| 6d06bb0 | 10-18 | released as 0.1.0: request paces held under each source's public limit for keyless use (Wikimedia 0.35 s, Crossref 0.2 s, OpenAlex 0.15 s, the Internet Archive 4 s) |
- Claude Code plugin: update the marketplace and the plugin from Claude Code's plugin menu.
- Plain skills:
git pullin the clone; the linked folders follow. From the release zip: unzip the new one over the old folders.
The home folder (~/.historywright: config, cache, fetch log, pages, the DILA table) is kept across upgrades, and nothing in it changed format since the first commit. From 0.2.0, a .historywright folder in the working directory is used in place of ~/.historywright when it exists (Getting started).
These answers differ (the wiki's run of 0.5.0 on 2026-11-01, and the same inputs run from git archive d0ba8f6 that day):
| Input | At 0.4.0 | At 0.5.0 |
|---|---|---|
validate-pack on a pack with 1840/1790 and a jdn outside 1790/1840
|
passes | two problems, exit 1 |
verify sources with a measured claim and no quote |
has no supporting quote, exit 1 |
passes, the claim reported as measured
|
pack add-ref --ia ITEM --canvas N |
not an option (exit 2) | downloads the page image through IIIF |
lint |
era outline 6,840 bytes | 7,254 bytes |
These answers differ (the wiki's runs of 0.2.0 on 2026-10-18 and 0.4.0 on 2026-11-01, apart from the version number and live counts):
| Input | At 0.2.0 | At 0.4.0 |
|---|---|---|
lint |
85 sources, src 22, link-out 53 |
96 sources, src 23, link-out 63 |
validate-pack on a fresh pack init
|
crashed on the empty sources.json
|
lists every unedited template as a problem, exit 1 |
fetch URL |
not a command (exit 2) | stores the page and prints its text file |
These answers differ; the rest are the same (the wiki's runs of both versions on 2026-10-18 differ only here, apart from the version number):
| Input | At 0.1.0 | At 0.2.0 |
|---|---|---|
cal date "Ides of March 44 BC" |
refused, with the day to give instead | 15 March 44 BC |
cal date "1 Muharram 1 AH" |
refused, with the form to use | 16 July AD 622 (Julian) |
cal date "AH 1300" |
read_as label 1882
|
read_as label AH 1300, with 1882 under western_start
|
cal date "c. 100 BC" |
EDTF -0099, "ignored words: c." in notes
|
EDTF -0099~, "qualifier": "circa"
|
src wayback microsoft.com --limit 3 |
one capture three times | three different captures |
doctor |
adds home_from, config, pdftotext and cwd_in_skill_folder
|
|
lint |
place 3, link-out 54 |
place 4 (OpenHistoricalMap), link-out 53 |
Only cal date and cal span answers can differ, and only for inputs that were misread before:
| Input | At 954d6aa | At 29bc397 |
|---|---|---|
709 AUC |
AD 709 | 45 BC |
1300 AH |
AD 1300 | AH 1300: 12 November 1882 to 1 November 1883 |
AH 1300 |
the days of 1882 (1 January to 31 December) | 12 November 1882 to 1 November 1883, EDTF 1882-11-12/1883-11-01
|
1 Muharram 1 AH |
the year AD 1 | refused, with the form to use |
Ides of March 44 BC |
refused: "cannot read a year" | refused, with the day to give instead |
c. 100 BC |
100 BC | 100 BC, with "ignored words: c." in notes
|
The new behaviour is on How dates are computed and Errors and edge cases. The 954d6aa column comes from runs of that code on 2026-10-18, before the fix.
Found while writing this wiki and fixed in b3b4193 (docs only; the examples on these pages were first run at 29bc397, then again at 0.1.0, 0.2.0 and 0.4.0):
- The README,
plugin.jsonand thehistorywright-sourcesskill said the registry holds "about 60 sources"; it holds 85 (hw.py lint). - The README presented a table of four lines as what
hw.py wd claims Q1048 --prop P569prints; the command prints JSON (Commands), and the README now calls the lines a summary. - The hub's
references/cli.mdsaid every command prints one JSON object; argument errors print argparse's usage text and exit 2 (Errors and edge cases). It also left out--limit,--lang,--max-age,--refetch,--name,--no-browserandkeys --offline(Commands).
This wiki describes historywright 0.6.1 (released 2026-11-02, commit 078613e) and was last updated on 2026-11-02. The plugin is MIT licensed. Report problems in the issues.
Using it
- Getting started
- The skills
- Commands
- How dates are computed
- How claims are checked
- The research pack
- Errors and edge cases
- Recipes
- FAQ
The releases
Contributing
Elsewhere