Resolves a draft `genre: "record-hint"` e2e fixture that was assigned via a GitHub issue titled "test <slug>". The fixture's expected-findings.json currently just transcribes an unverified FamilySearch hint record; this skill walks the genealogist through confirming or refuting the hint (retrieval may be tool-assisted, but the identity judgement is the genealogist's — this skill never fetches anything itself), then writes the correct expected-findings.json, updates the README's "Notes for rev...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Resolve Record Hint?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/pioneeraiacademy-resolve-record-hint)
---
name: resolve-record-hint
model: claude-sonnet-4-6
description: Resolves a draft `genre: "record-hint"` e2e fixture that was assigned via a GitHub issue titled "test <slug>". The fixture's expected-findings.json currently just transcribes an unverified FamilySearch hint record; this skill walks the genealogist through confirming or refuting the hint (retrieval may be tool-assisted, but the identity judgement is the genealogist's — this skill never fetches anything itself), then writes the correct expected-findings.json, updates the README's "Notes for reviewers" and fixture.json's notes and hint, and validates the result. Use when the user says "resolve this fixture", "adjudicate this fixture", "I was assigned test <slug>", "review this record hint", pastes a "test <slug>" GitHub issue, or asks to encode the outcome in expected-findings.json for a record-hint fixture. Do NOT use to author a brand-new fixture from a FamilySearch PID or research document (use author-e2e-fixture), to interpret or grade a completed e2e run (use interpret-e2e-result / grade-e2e-run), or to mine a unit test from a miss (use mine-unit-test).
allowed-tools:
- Read
- Write
- Edit
- Bash
- Glob
---
# Resolve Record Hint
**Narration:** default to concise — this is developer/genealogist-facing fixture work, not research narration.
A `record-hint` fixture starts as a guess: FamilySearch's own hinting matched a
historical record to a tree person with unverified confidence, and
`expected-findings.json` just transcribes that guess. Resolving it means doing
the real genealogical work to confirm or refute it, then making the fixture
state the truth. **The genealogist does the research and makes the call; this
skill only does the writing**, so no one hand-edits the JSON.
## Step 1 — Find the issue and the fixture
Get a GitHub issue number/URL or a fixture slug from the user; ask if you have
neither.
- Given an issue: `gh issue view <n> --json title,body`. Pull the slug (from
the title, `test <slug>`) and **both** links in the body: the tree person
(`familysearch.org/tree/person/details/<PID>`) and the hint record
(`familysearch.org/ark:/...`). For a draft the issue body is the only place
the hint record's link lives; a resolved fixture also carries the hint
persona's ark in `fixture.json`'s `hint.persona_ark` (Step 4). If either link
is missing from both, say so and stop — the genealogist can't do the research
without them, and `fixture.json`'s `source_pid` is the tree person's PID if
you need to reconstruct that half.
- Read `eval/tests/e2e/<slug>/README.md`'s "Notes for reviewers" — what the
original author already found (the tree's existing sources, the
match-strength argument for and against).
- Read the fixture's current `expected-findings.json` and `fixture.json`.
## Step 2 — Send the genealogist to do the research
Give them the two URLs from the issue and tell them to work in this order,
on **familysearch.org** or with the `packages/engine/mcp-server/dev/try-*.ts`
scripts against live FamilySearch (`make e2e-login` first, or `eval\Login.bat`
on Windows) — collections search,
record search, record read, image read are all permitted for **retrieval**
(spec §3.6):
1. **The tree person first** — read the sources already attached to them. That
is the baseline the hint has to be consistent with, and it is how they catch
a hint that is only a re-indexing of a source the person already has.
2. **The hint record** — look for corroborating or contradicting evidence the
same way they would for any genealogical proof: searching independently for
the person, checking dates, places and family members against what the tree
already has.
When any image in this research is read rather than its index text taken —
the hint record's or any other, by `image_transcribe`,
`dev/try-image-transcribe.ts`, a model or a person reading the scan — that
reading is checked first: read two other entries on the same page that the
FamilySearch index already holds and compare child, father, mother and date.
Both match: the reading is licensed for those fields. Either differs: discard
everything that transcription read from the page. Fewer than two other
indexed entries on the page: the reading is unlicensed, and the README says so. The check never
licenses a farm, residence or occupation; those need a separate indexed source
such as a church-census household. A higher-resolution image does not rescue a
reading that failed the check. The README names the two entries checked and the
result.
The **identity judgement** is the actual GPS work the benchmark exists to
measure, and there is no tool shortcut for *that*: no tool output decides
whether the hint record concerns the tree person. Retrieval is a different
act and may be tool-assisted. Record in the README which was used.
If the call is borderline, tell them to ask a genealogist for a second
opinion rather than guess alone.
Wait for their conclusion before continuing.
## Step 3 — Get the outcome
Ask which of the three applies, and collect only what that outcome needs:
1. **True match** — the confirming record's resolvable FamilySearch ark.
2. **Answerable, but differently** — what's actually true (a different date,
record, or person) in place of what's there now, **and that record's
resolvable FamilySearch ark**.
3. **False match, no findable substitute** — the specific claim the agent
must not assert, plus the record that disproves it (an age impossibility,
a date that contradicts another record, a directly-examined record that
turns out to be someone else) **and its resolvable FamilySearch ark**, plus
confirmation of what collection and date range was searched and came up
empty for a real substitute.
In all three cases, also ask for their reasoning in plain language — this
becomes the README's new "Notes for reviewers."
Then ask the **identity verdict** as its own question — is the hint persona
the tree person: **same**, **different** or **unresolved**? Never infer it from
the outcome number: the outcome says what the findings become, the verdict
whether the persona is the person, and outcome 2 can be any of the three
(`victoriana-vasquez-marriage` is outcome 2 and same; `grigory-kokosha-death`
is outcome 2 and unresolved). Take the hint persona's `ark:/61903/1:1:...` from
the issue's hint link; if that link is a `1:2:` record ark or an image ark, ask
for the persona's `1:1:` ark. A fixture with no hint persona gets no verdict.
Every outcome needs an ark: a resolved record-hint fixture whose
`expected-findings.json` carries no literal `ark:/61903/...` in any finding's
`supporting_sources` is a hard `ERROR` in Step 5 (issue #970).
For outcome 3, the ark belongs to whichever record does the disproving —
never to the absence itself. There is no ark for "no record establishes X";
don't ask the genealogist to invent one, and don't accept a tree PID or the
fixture's own `source_pid` as a substitute (issue #970's rejected shortcut —
it carries no record provenance). See spec §3.6.1 (issue #1025).
If the resolution rested on reading the original **page images** (not the
indexes alone), also ask for the confirming/disproving record's **image** ark —
`ark:/61903/3:1:...` or `3:2:...`, distinct from the `1:1:` index ark. The
fixture will declare `"image_basis": true` and that image ark must land in
`expected-findings.json` (spec §3.6.1, issue #2877).
## Step 4 — Write the files
- **`expected-findings.json`**
- Outcome 1: leave unchanged, except to append the confirming record's
`ark:/61903/...` to a `supporting_sources` entry if no finding has one.
- Outcome 2: edit the existing finding(s)' `description` / `details` /
`supporting_sources` to the corrected answer, with that record's
`ark:/61903/...` in `supporting_sources`.
- Outcome 3: replace the findings with a `"polarity": "avoid"` finding
naming the wrong claim, paired with a `required: true` finding
documenting the negative conclusion. A wrong person carries
`details.relation` and `details.wrong_candidate` with `name`, `note` and
`records`, the sorted `ark:/61903/1:1:` ARK of every persona on every
record of the rejected candidate (spec §3.4.1); a wrong fact carries
`fact_type` and the avoided `date` or `place`. Copy the JSON *shape* from
`eval/tests/e2e/rozal-sarman-daughter/expected-findings.json`, a resolved
wrong-person pair. Put the disproving record's literal
`ark:/61903/...` in `supporting_sources` on whichever of the two findings
it naturally belongs to (often the `avoid` finding, if it's the record
that contradicts the hint). Write the absence — "no record in
[collection], [date range], establishes X" — as plain prose in the
paired required finding's `supporting_sources`, with no ark attached to
that sentence (spec §3.6.1).
Only use the fields spec §3.4 defines: `id`, `type`, `description`,
`details`, `polarity`, `supporting_sources`, `required`. **Never write
`"expectation"`** — it isn't a real field. An unrecognized field silently
no-ops instead of grading anything, and `make e2e-validate` hard-fails on
it anyway.
- **`README.md`** — replace the "DRAFT PENDING ADJUDICATION" paragraph under
"Notes for reviewers" with the genealogist's conclusion and reasoning. Most
record-hint fixtures have been resolved this way (drafts remaining:
`comm -12 <(grep -rl '"genre": "record-hint"' eval/tests/e2e/*/fixture.json |
xargs -n1 dirname | sort) <(grep -rl "DRAFT PENDING ADJUDICATION" eval/tests/e2e/ |
xargs -n1 dirname | sort -u) | wc -l`);
`eval/tests/e2e/chresten-nielsen-daughter/README.md`'s
"Notes for reviewers" is a worked example (re-adjudicated after a graded
run, the closest match to a correction-not-rejection outcome). Write the
paragraph so the next person can re-derive the call without redoing the
research — the verdict, what evidence decided it, and what was searched and
came up empty. Remove the marker text itself: it is the only signal that
distinguishes a resolved fixture from a draft.
- **`fixture.json`** — update `notes` if it still describes the fixture as
an unverified draft. If the resolution rested on reading the original page
images, set `"image_basis": true` (a boolean, never the string `"true"`),
and make sure the record's image ark (`ark:/61903/3:1:` or `3:2:`) is in an
`expected-findings.json` `supporting_sources` entry — `make e2e-validate`
hard-fails an `image_basis: true` fixture that cites only index arks
(issue #2877). Leave the flag off when the indexes alone settled it.
Set `"hint": {"persona_ark": "ark:/61903/1:1:...", "identity": "same"}` from
Step 3 — exactly those two keys, the full `1:1:` persona ark, and `identity`
one of `"same"`, `"different"`, `"unresolved"` in lowercase — or
`"hint": null` when the fixture has no hint persona. `make e2e-validate`
hard-fails a resolved record-hint fixture with no `hint` key (spec §3.6.2,
issue #3553).
**Never touch** `starting-tree.gedcomx.json`, `unstripped-tree.gedcomx.json`,
or `starting-research.json` — this task only edits the three files above;
those three are already correct and immutable.
## Step 5 — Validate
```bash
cd eval/harness && uv run python -m e2e.validate_fixture <slug>
# equivalently, from the repo root: make e2e-validate TEST=<slug>
```
This is a record-hint fixture, so a `WARN` naming the fixture's own subject
person is **expected, not a problem** — the subject legitimately stays in
the tree, since nothing was ever stripped. A hard `ERROR` means something
structural is actually wrong — fix it before handing off.
## Step 6 — Hand off
Tell the user the fixture is resolved. The next step is **Step 4** of
`docs/e2e-testing-guide.md` (debug live in Cowork) — Steps 2 and 3 don't
apply to this genre, because nothing was stripped and Step 5 above already
validated it.
## What you do not do
- Don't fetch or read the hint record yourself — the genealogist does that
research by hand; you write up their conclusion.
- Don't touch `starting-tree.gedcomx.json`, `unstripped-tree.gedcomx.json`,
or `starting-research.json`.
- Don't write any finding field spec §3.4 doesn't define.
- Don't skip Step 5 — an unvalidated fixture can silently ship a structural
error.
## Re-invocation behavior
**Writes:** `expected-findings.json`, `README.md`'s "Notes for reviewers",
and `fixture.json`'s `notes`, `hint` and (when images settled it)
`image_basis`, all under `eval/tests/e2e/<slug>/`.
**On repeat invocation:** re-running re-resolves from the fixture's
current state — safe, since the current state (not history) is always the
starting point. If the fixture was already resolved (no "DRAFT PENDING
ADJUDICATION" left), confirm with the user before overwriting a settled
conclusion.