Skip to content

Correct stale Standing examples, closed Open lines and mechanisms entries - #1437

Merged
derek73 merged 3 commits into
masterfrom
docs/sweep-design-docs
Nov 16, 2026
Merged

derek73 merged 3 commits into
masterfrom
docs/sweep-design-docs

Conversation

@derek73

@derek73 derek73 commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Section A of the 3.1 release sweep (root AGENTS.md, release checklist step 0): docs/design/decisions/, docs/design/rules/ and docs/design/mechanisms.md. No parser change. Where the prose and the tree disagreed, the prose now says what the tree does. Every finding was re-run on master f5102378 before it was edited.

Findings and what was done

decisions/: Standing and Elsewhere examples

decisions/: Open lines citing closed issues

Counts

  • vocabulary-model:8: the hard-coded count of six kinds is replaced by "the entries CATEGORY maps to suffix". There are eight.
  • mechanisms.md:78: the count is dropped. The exceptions are dated 2026-11-16 and listed: mc and vd carry vocab:suffix, and the patronymic particles carry vocab:patronymic at classify. On the published token only mc and vd carry a second tag, which the line says.
  • mechanisms.md:147: "three later sites" becomes "the sites that read it", with no universal claim; the repair gate and classify's whole-name test ask for the fact on their own.
  • mechanisms.md:375: "exactly two sites" is replaced by what is true of all five: each asks membership after _normalize, of a word or of a phrase. Every site but one goes through maiden_marker_run. The exception is a hand copy, _script_segment._only_post_nominals, which Simplify the script, post-rule, assign and assemble stages #1434 listed as a behavior-changing candidate.
  • mechanisms.md:473: dated 2026-08-16, with a pointer to decisions/P6's order-precedence keystone entry.
  • rules/R9:75: "4 of 9" is now dated (2026-10-29, Add ParsedName.patronymic, the words naming the bearer's parent (3.0, 4c) #948). The decisions/R9 2026-10-29 block does not hold the figure. It came in with Add ParsedName.patronymic, the words naming the bearer's parent (3.0, 4c) #948's rule text.

rules/

  • S2:39, :60: narrowed to the spaced Ph. D. pair. The Precedence fence gains "Sir PhD Van Johnson" → given="PhD" · boundary. tests/v2/test_doc_citations.py passes, and no code comment quotes the changed words.
  • P8:42: fixed ("JUAN Y" and "juan y").

mechanisms.md

  • :149: fixed. one_case is recorded by segment or classify. script_segment, which runs between them, asks for it without recording it, so classify asks again.
  • :269: test renamed to test_the_chained_emitter_is_reachable_by_construction.
  • :279: dr is no longer a suffix word. The line keeps the history and adds the same composition reproduced with md (removing its credential reading turns John Smith, MD into given 'MD', family 'John Smith').
  • :463: INTERPUNCT → TRANSCRIPTION_DOTS.
  • :64 (suspected): confirmed and fixed. P12's bound phrase is a fourth multi-word unit. O6 counts عبد العزيز as one unit: طارق أحمد عبد العزيز with two_family_names gives family 'أحمد عبد العزيز'. The quoted span in _vocab.py's UNIT-PARTITION citation is unchanged.
  • :473 (suspected): confirmed and dated (above).

Not audited: Japanese-segmenter claims

namedivider is not installed in this environment, so these were not run: W1:9 (a segmenter answer under 0.9 reports SEGMENTATION), W1:11 (あいさわいちろう stays whole, and 山田たろう divides 山田 + たろう), the JA half of W1:12 (高橋一郎 under ZH+JA), and the segmenter half of W3:5. W1's namedivider entry was left alone, as briefed (fixed in #1434).

Verification

Re-run after the review fixes, head 7884bdb4: uv run pytest tests/v2/test_design_docs.py tests/v2/test_doc_citations.py tests/v2/test_rules_*.py tests/v2/test_doc_*.py -q → 3337 passed, 2 skipped.

Every example written or kept in a changed line, run on this branch ([key] is the parser: ff FAMILY_FIRST, ffgl FAMILY_FIRST_GIVEN_LAST, caps capitals_as_family, lonefam lone_name_word=FAMILY, i_off/md_off the reading removed, o6o7 two_family_names+two_given_names, es_o6o7 the same under locales.ES, cap str(capitalized())):

[ff] 'Beethoven Ludwig van' -> {'given': 'Ludwig', 'family': 'van Beethoven'} amb=[('particle-or-given', "'van' is both a family-name particle and an ordinary given name; ending a name read family-first, 'van' joins the family that order named rather than standing as a name word of its own")] 
[ff] 'Van Berg Jan de' -> {'given': 'Berg', 'middle': 'Jan de', 'family': 'Van'} amb=[('particle-or-given', "leading 'Van' may be a family-name particle; read as a family name")] 
[default] 'Jong Anke de' -> {'given': 'Jong', 'middle': 'Anke', 'family': 'de'} amb=[] 
[ff] 'Ménil de' -> {'given': 'de', 'family': 'Ménil'} amb=[] 
[default] 'Pedro M.Filho' -> {'given': 'Pedro', 'family': 'M.', 'suffix': 'Filho'} amb=[('order', "'Pedro' is the only name word before initials, which a byline writes after the family name and a South Asian name writes as the family; read as a given name by the given-first order; read family first (name_order=FAMILY_FIRST), the word in front is the family name and the letters the given and middle initials"), ('suffix-or-name', "'Filho' written without periods is both a post-nominal and an ordinary name; read as a suffix rather than a name part")] 
[default] 'Pedro Alves M.Filho' -> {'given': 'Pedro', 'middle': 'Alves', 'family': 'M.', 'suffix': 'Filho'} amb=[('suffix-or-name', "'Filho' written without periods is both a post-nominal and an ordinary name; read as a suffix rather than a name part")] 
[default] 'Herzog Lambsdorff, Otto' -> {'title': 'Herzog', 'given': 'Otto', 'family': 'Lambsdorff'} amb=[] 
[default] 'Graf Lambsdorff, Otto' -> {'given': 'Otto', 'family': 'Graf Lambsdorff'} amb=[] 
[default] 'Antonio Pavlović mlađi' -> {'given': 'Antonio', 'family': 'Pavlović', 'suffix': 'mlađi'} amb=[] 
[default] 'Antonio Pavlović mlađi Jones' -> {'given': 'Antonio', 'middle': 'Pavlović mlađi', 'family': 'Jones'} amb=[] 
[default] 'Pieter Bruegel stariji Jones' -> {'given': 'Pieter', 'middle': 'Bruegel stariji', 'family': 'Jones'} amb=[] 
[default] 'Jane van der Berg née PhD Jones' -> {'given': 'Jane', 'family': 'van der Berg née', 'suffix': 'PhD Jones'} amb=[('suffix-or-name', "'Jones' follows a credential, so it reads as part of the suffix run; it may be a name word")] 
[default] 'Jane van der Berg née Jr Jones' -> {'given': 'Jane', 'family': 'van der Berg née Jr Jones'} amb=[] 
[default] 'Mary Jane Pope.' -> {'title': 'Pope.', 'given': 'Mary', 'family': 'Jane'} amb=[] 
[default] 'Mary Jane King.' -> {'given': 'Mary', 'middle': 'Jane', 'family': 'King.'} amb=[] 
[default] 'Dr. Mary of Teck' -> {'title': 'Dr.', 'family': 'Mary of Teck'} amb=[] 
[default] 'Mary of Teck née Jones' -> {'given': 'Mary of Teck', 'maiden': 'Jones'} amb=[] 
[default] 'Dean of Chemistry née Jones' -> {'title': 'Dean of Chemistry', 'maiden': 'Jones'} amb=[] 
[default] 'JOHN SMITH SI' -> {'given': 'JOHN', 'family': 'SMITH', 'suffix': 'SI'} amb=[('suffix-or-name', "'SI' written without periods is both a post-nominal and an ordinary name; read as a suffix rather than a name part")] 
[default] 'John Smith SI' -> {'given': 'John', 'family': 'Smith', 'suffix': 'SI'} amb=[] 
[default] 'John Smith Si' -> {'given': 'John', 'middle': 'Smith', 'family': 'Si'} amb=[('suffix-or-name', "'Si' written without periods is both a post-nominal and an ordinary name; read as a family name rather than a post-nominal")] 
[default] 'Anna Ba' -> {'given': 'Anna', 'family': 'Ba'} amb=[('suffix-or-name', "'Ba' written without periods is both a post-nominal and an ordinary name; read as a family name rather than a post-nominal")] 
[default] 'Wang, Meng' -> {'given': 'Meng', 'family': 'Wang'} amb=[('suffix-or-name', "'Meng' after the comma is also an ordinary name word; read as a given name")] 
[cap force=False] 'john smith ß.x.y.' -> 'John Smith SS.X.Y.'
[cap force=False] 'john smith ıı' -> 'John Smith II'
[cap force=False] 'MD, PhD' -> 'Md, PhD'
[cap force=False] 'john e jones III' -> 'John e Jones III'
[cap force=False] 'john e jones iii' -> 'John E Jones III'
[cap force=False] 'jack MA' -> 'Jack MA'
[default] 'John Smith B.Tech' -> {'given': 'John', 'middle': 'Smith B.', 'family': 'Tech'} amb=[('suffix-or-name', "'B.Tech' ending the name may be a credential written short; read as a family name")] 
[default] 'John Smith B.Tech.' -> {'given': 'John', 'family': 'Smith', 'suffix': 'B.Tech.'} amb=[('suffix-or-name', "'B.Tech.' is shaped like a post-nominal but listed in no vocabulary, so it may be an ordinary name; read as a suffix rather than a name part")] 
[default] 'Chas. Smith' -> {'given': 'Chas.', 'family': 'Smith'} amb=[] 
[default] 'Mrs Ma. Liza Cruz' -> {'title': 'Mrs', 'given': 'Ma.', 'middle': 'Liza', 'family': 'Cruz'} amb=[] 
[default] 'Rahman, Md' -> {'given': 'Md', 'family': 'Rahman'} amb=[('suffix-or-name', "'Md' after the comma also spells a credential; read as a given name")] 
[default] 'Md.Karim Uddin' -> {'given': 'Md.', 'middle': 'Karim', 'family': 'Uddin'} amb=[] 
[default] 'Josep Carod i Rovira' -> {'given': 'Josep', 'family': 'Carod i Rovira'} amb=[] 
[default] 'Carod i Rovira, Josep' -> {'given': 'Josep', 'family': 'Carod i Rovira'} amb=[] 
[i_off] 'Josep Carod i Rovira' -> {'given': 'Josep', 'middle': 'Carod i', 'family': 'Rovira'} amb=[] 
[i_off] 'Carod i Rovira, Josep' -> {'given': 'Josep', 'family': 'Carod Rovira', 'suffix': 'i'} amb=[] 
[default] 'Rinpoche' -> {'given': 'Rinpoche'} amb=[('suffix-or-name', "'Rinpoche' is post-nominal vocabulary with no name word beside it; read as a given name rather than a post-nominal, nothing else being left to be the name")] 
[ff] 'Rinpoche' -> {'given': 'Rinpoche'} amb=[('suffix-or-name', "'Rinpoche' is post-nominal vocabulary with no name word beside it; read as a given name rather than a post-nominal, nothing else being left to be the name")] 
[ffgl] 'Rinpoche' -> {'given': 'Rinpoche'} amb=[('suffix-or-name', "'Rinpoche' is post-nominal vocabulary with no name word beside it; read as a given name rather than a post-nominal, nothing else being left to be the name")] 
[lonefam] 'Rinpoche' -> {'family': 'Rinpoche'} amb=[('suffix-or-name', "'Rinpoche' is post-nominal vocabulary with no name word beside it; read as a family name rather than a post-nominal, nothing else being left to be the name")] 
[default] 'Dr King Jr' -> {'title': 'Dr', 'family': 'King', 'suffix': 'Jr'} amb=[('title-or-name', "'King' is a title that may also be a given name, and stands in no title phrase; read as a family name rather than a title")] 
[default] 'King, Dr Jr' -> {'title': 'Dr', 'family': 'King', 'suffix': 'Jr'} amb=[] 
[default] 'Dr Pope Jr' -> {'title': 'Dr', 'family': 'Pope', 'suffix': 'Jr'} amb=[('title-or-name', "'Pope' is title vocabulary and the only name word the title peel left standing; read as the name by convention rather than as more title")] 
[default] 'E.T. Smith' -> {'given': 'E.', 'middle': 'T.', 'family': 'Smith'} amb=[] 
[default] 'John, Si.' -> {'title': 'Si.', 'family': 'John'} amb=[('suffix-or-name', "'Si.' after the comma is also an ordinary name word; read as a title")] 
[default] 'John, Ma' -> {'given': 'Ma', 'family': 'John'} amb=[('suffix-or-name', "'Ma' after the comma is also an ordinary name word; read as a given name")] 
[default] 'Smith, Rev. Dr.' -> {'title': 'Rev. Dr.', 'family': 'Smith'} amb=[] 
[default] 'U.S. Grant' -> {'given': 'U.', 'middle': 'S.', 'family': 'Grant'} amb=[] 
[default] 'John Smith M.A. Jones' -> {'given': 'John', 'family': 'Smith', 'suffix': 'M.A. Jones'} amb=[('suffix-or-name', "'Jones' follows a credential, so it reads as part of the suffix run; it may be a name word")] 
[default] 'Smith, John MA Jones' -> {'given': 'John', 'family': 'Smith', 'suffix': 'MA Jones'} amb=[('suffix-or-name', "'Jones' follows a credential, so it reads as part of the suffix run; it may be a name word")] 
[default] 'John Smith MA JD Jones' -> {'given': 'John', 'family': 'Smith', 'suffix': 'MA JD Jones'} amb=[('suffix-or-name', "'JD' follows a credential, so it reads as part of the suffix run; it may be a name word"), ('suffix-or-name', "'Jones' follows a credential, so it reads as part of the suffix run; it may be a name word")] 
[default] 'John Smith MA Jones' -> {'given': 'John', 'middle': 'Smith MA', 'family': 'Jones'} amb=[] 
[default] 'John Smith Ma Jones' -> {'given': 'John', 'middle': 'Smith Ma', 'family': 'Jones'} amb=[] 
[default] 'JOHN SMITH MA JONES' -> {'given': 'JOHN', 'middle': 'SMITH MA', 'family': 'JONES'} amb=[] 
[default] 'John Smith DO Jones' -> {'given': 'John', 'middle': 'Smith', 'family': 'DO Jones'} amb=[] 
[es_o6o7] 'José Luis Pérez' -> {'given': 'José Luis', 'family': 'Pérez'} amb=[] 
[o6o7] 'José Luis Pérez' -> {'given': 'José', 'family': 'Luis Pérez'} amb=[] 
[caps] 'DR Anna Berg' -> {'given': 'Anna', 'middle': 'Berg', 'family': 'DR'} amb=[] 
[default] '山田 花子 旧姓:佐藤' -> {'given': '山田', 'middle': '花子', 'family': '旧姓:佐藤'} amb=[] 
[default] 'Jack (MA)' -> {'family': 'Jack', 'suffix': 'MA'} amb=[] 
[default] 'Jack (PhD)' -> {'family': 'Jack', 'suffix': 'PhD'} amb=[] 
[default] 'John Smith, MD' -> {'given': 'John', 'family': 'Smith', 'suffix': 'MD'} amb=[] 
[md_off] 'John Smith, MD' -> {'given': 'MD', 'family': 'John Smith'} amb=[] 
[default] 'Ph. D. Van Johnson' -> {'title': 'Ph.', 'given': 'D.', 'family': 'Van Johnson'} amb=[] 
[default] 'Sir Ph. D. Van Johnson' -> {'title': 'Sir', 'given': 'Van Johnson', 'suffix': 'Ph. D.'} amb=[] 
[default] 'Sir PhD Van Johnson' -> {'title': 'Sir', 'given': 'PhD', 'family': 'Van Johnson'} amb=[] 
[default] '(Jack) MD Van Johnson' -> {'given': 'MD', 'family': 'Van Johnson', 'nickname': 'Jack'} amb=[] 
[default] 'DR. NÉE JUAN Y LOPEZ' -> {'title': 'DR.', 'given': 'NÉE', 'middle': 'JUAN Y', 'family': 'LOPEZ'} amb=[] 
[default] 'dr. née juan y lopez' -> {'title': 'dr.', 'given': 'née', 'middle': 'juan y', 'family': 'lopez'} amb=[] 
# added with the review fixes
[default] 'Smith, Pedro M.Filho' -> {'given': 'Pedro', 'family': 'Smith', 'suffix': 'M.Filho'} amb=[('suffix-or-name', "'M.Filho' ending the given part is also an ordinary name word; read as a credential")] 
[default] 'Silva, M.Filho' -> {'given': 'M.Filho', 'family': 'Silva'} amb=[('suffix-or-name', "'M.Filho' after the comma is also an ordinary name word; read as a given name")] 
[default] 'Pedro Alves M.Filho.' -> {'given': 'Pedro', 'family': 'Alves', 'suffix': 'M.Filho.'} amb=[('suffix-or-name', "'M.Filho.' is shaped like a post-nominal but listed in no vocabulary, so it may be an ordinary name; read as a suffix rather than a name part")] 
[default] 'John Smith "Jr."' -> {'given': 'John', 'family': 'Smith', 'suffix': 'Jr.'} amb=[] 
[default] 'John (Bob Jr) Smith' -> {'given': 'John', 'family': 'Smith', 'nickname': 'Bob Jr'} amb=[] 

Open questions

The capitals-title and fullwidth-colon questions are tracked by the open issues #1402 and #1359, which the docs now cite. No new issues are needed.

🤖 Generated with Claude Code

…ries

The 3.1 release sweep's section A (docs/design only; no parser change):
Standing and Elsewhere examples re-run and replaced with what the tree
reads, superseded Standing lines moved to Not standing (S1, S13), Open
lines citing closed issues reworded (#1296, #753, #754, #659, #317),
undated counts dated or restated as invariants, and four mechanisms.md
entries corrected (the UNIT-PARTITION list gains P12, one_case's sites
and who records it, maiden_markers' sites, a renamed test and pin).
rules/S2's opening-string Precedence and Accepted bullets narrow to the
spaced `Ph. D.` pair, with `Sir PhD Van Johnson` as a boundary row.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@derek73 derek73 added this to the 3.1 milestone Nov 16, 2026
@derek73 derek73 added docs Documentation fixes and updates design Changes what the model can express (a shape decision) labels Nov 16, 2026
@derek73 derek73 self-assigned this Nov 16, 2026
derek73 and others added 2 commits November 16, 2026 02:50
- decisions/O9, M2, M3, group-suggestion and rules/M2 cite the open
  issues that track the capitals title and the fullwidth-colon marker.
- decisions/S11 scopes T8's division to an initial glued before any
  comma; the dotted-shape reading still acts after a comma.
- decisions/S1 restores #807's escape as a Standing line and marks the
  part #792 reversed in the #807 entry's head (edit kind 1).
- decisions/H10's Open line keeps only #979; deviates-registry points
  at decisions/O8 and stops listing the choice-only packs.
- mechanisms.md names the maiden-marker hand copy and drops the
  universal over one_case's readers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
`Sir PhD Van Johnson` (title 'Sir', given 'PhD', family 'Van Johnson')
is the one name the rebuilt corpus_rules.jsonl gains; the snapshot
records it as new, and no other reading moves.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@derek73
derek73 merged commit 05689a4 into master Nov 16, 2026
14 checks passed
@derek73
derek73 deleted the docs/sweep-design-docs branch November 16, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

design Changes what the model can express (a shape decision) docs Documentation fixes and updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant