From 1ddae23d6c6e7331bd0fbddff5caa435991d47ed Mon Sep 17 00:00:00 2001 From: "marcin p. joachimiak" <4625870+realmarcin@users.noreply.github.com> Date: Sun, 15 Nov 2026 23:44:05 -0800 Subject: [PATCH 1/3] Capture primary BactoTraits strain identity evidence and canonical review --- NEXT_TASKS.md | 13 +- .../bactotraits-identity-20261115.md | 129 +++ .../review.md | 950 ++++++++++++++++++ .../review.yaml | 819 +++++++++++++++ ...capture_strain_authorities_130_20261115.py | 130 +++ ...inspect_bactotraits_owner_130_20261115.sql | 24 + ...eview_bactotraits_identity_130_20261115.py | 436 ++++++++ tests/test_bactotraits_identity_review.py | 59 ++ 8 files changed, 2555 insertions(+), 5 deletions(-) create mode 100644 docs/validation/bactotraits-identity-20261115.md create mode 100644 reviews/structured/20261116T074049Z-fresh05-source-identity/review.md create mode 100644 reviews/structured/20261116T074049Z-fresh05-source-identity/review.yaml create mode 100644 scripts/adhoc/capture_strain_authorities_130_20261115.py create mode 100644 scripts/adhoc/inspect_bactotraits_owner_130_20261115.sql create mode 100644 scripts/adhoc/review_bactotraits_identity_130_20261115.py create mode 100644 tests/test_bactotraits_identity_review.py diff --git a/NEXT_TASKS.md b/NEXT_TASKS.md index fc9bb72..c78f04b 100644 --- a/NEXT_TASKS.md +++ b/NEXT_TASKS.md @@ -1,6 +1,6 @@ # Edge-review next tasks -Last reconciled: **2026-11-15** (America/Los_Angeles), against `main` at `abf0002ab1dea4dc7702f28be1fe49983e42ab8f`, merged PRs #128/#120, open PRs #102/#37, issue #127 and retained review evidence. PR #128 is merged and #129 is closed. The current branch implements #127's abstract replay; its source inspection found a separate BactoTraits strain conflict filed as #130. Independent calibration ratings and correction verification remain pending. +Last reconciled: **2026-11-15** (America/Los_Angeles), against `main` at `a4c8ce937ffd791b7c7b4d05b85121dea1aa09d6`, merged PRs #131/#128/#120 and open PRs #102/#37. PR #131 is merged and #127 is closed. The current work traces and independently checks #130's BactoTraits strain conflict. Independent calibration ratings and correction verification remain pending. Scope: the stratified edge review and related edge-quality follow-ups. Update this file when work starts or ships, checking GitHub and current code before changing status. Record completion dates and PRs. Preserve historical manifests, packets, reports and scientific decisions; a merged engineering PR does not promote an edge's scientific status. Unrelated release/deployment work is outside this backlog. @@ -23,14 +23,15 @@ Evidence: [fresh-canary report](artifacts/edge-recanary-20261113/RECANARY-REPORT | Priority / status | Work | Next action and completion evidence | | --- | --- | --- | | 1 — **DONE preparation, PR #128** | Pin calibration cases and decision thresholds | Merged 2026-11-15. The [ten-case protocol](docs/plans/edge-calibration-20261115.md) fixes first-cohort 1/28/30/32/43 and fresh-cohort 4/5/14/32/47, exact occurrence bindings and operational error/coverage thresholds before new scoring. [Preparation receipts](artifacts/edge-calibration-20261115/PREPARATION.md) record 10/10 replayed source packets, 20/20 endpoint roles and two staged authorities after separate canaries. #129's cross-case packet binding fix passed a new canary before all ten were replayed again. These receipts pin the PR #128 runtime; replay under changed profile code requires a new round, not updated historical hashes. Calibration and independent agreement have not passed. | -| 1b — **IMPLEMENTED, awaiting PR review/merge, #127** | Replay primary abstract evidence | Metadata-bound Europe PMC abstract replay and the single retained fresh-05 canonical save/readback canary passed. [Validation](docs/validation/abstract-evidence-20261115.md): two quotations, 16 words, partial completion and six conservative assessments. This technical self-review is excluded from the independent calibration matrices; it cannot resolve #130's conflicting strain join. | +| 1b — **DONE, 2026-11-15, PR #131** | Replay primary abstract evidence | Metadata-bound Europe PMC abstract replay and the single retained fresh-05 canonical save/readback canary passed. [Validation](docs/validation/abstract-evidence-20261115.md): two quotations, 16 words, partial completion and six conservative assessments. All 687 tests, two adversarial reviews and post-merge CI passed. This technical self-review is excluded from the independent calibration matrices; it does not resolve #130's conflicting strain join. | +| 1c — **IN PROGRESS, #130** | Reconcile the mixed BactoTraits strain row | Trace the maintained source/transform and independently verify the competing collection accessions. Preserve the original row and graph occurrence; prepare and validate any correction at the maintained owner before claiming a corrected graph. | | 2 — **PENDING, actionable bounded audit** | Semantic identity, relation and node-category correctness | Prepare pinned authorities and audit the selected calibration cases, then the existing 100 after gates pass. Prioritize [#68](https://github.com/CultureBotAI/EdgeMech/issues/68)/[#106](https://github.com/CultureBotAI/EdgeMech/issues/106) identity joins and [#75](https://github.com/CultureBotAI/EdgeMech/issues/75)/[#86](https://github.com/CultureBotAI/EdgeMech/issues/86)/[#87](https://github.com/CultureBotAI/EdgeMech/issues/87) relation/type-strain/bin semantics. Review nonempty categories, not only missing fields. All 22 fresh-canary biological-literature exclusions still receive identity/modeling review. | | 3 — **PENDING, actionable retained-evidence work** | DOI identity, exact snippets and categorical claim judgments | Resolve publication identity [#69](https://github.com/CultureBotAI/EdgeMech/issues/69); replay retained evidence for the selected calibration cases first, then retrieve missing relevant text through appropriate channels. Verify literal quotes and independently judge entailment, conditions and organism/strain scope. Record support, refutation, conflicts, insufficient evidence and assessment blockers distinctly. | | Parallel — **IN PROGRESS** | General full-text credential protection: [#100](https://github.com/CultureBotAI/EdgeMech/issues/100), [PR #102](https://github.com/CultureBotAI/EdgeMech/pull/102) | The draft has a clean independent review and green CI at `2364161819951b7899ba62cebcd461bf0394c4a7`. Reconcile with current main and validate before a separately authorized merge. Complete this before further authenticated general-helper retrieval; it need not block local modeling or retained-evidence review. | | 4 — **PENDING, gated execution** | Calibrate, then review the retained 100 | After cases, thresholds and evidence preparation are fixed, independently assess the ten cases with all six axes and report disagreements. Canary any newly introduced worker/launcher or evidence-adapter path end to end before using it in a batch. Cover the existing 100 only after calibration passes. Preserve historical bytes; re-review adds coverage depth, not new reviewed occurrences. | | 5 — **PENDING; upstream fixes/releases where needed** | Correct and verify affected assertions and nodes | File each finding, identify its maintained owner, retain before/after proposals, add regressions, regenerate a new candidate and independently re-assess affected occurrences. Include [#56](https://github.com/CultureBotAI/EdgeMech/issues/56), [#70](https://github.com/CultureBotAI/EdgeMech/issues/70), [#72](https://github.com/CultureBotAI/EdgeMech/issues/72) and proof of existing fixes [#71](https://github.com/CultureBotAI/EdgeMech/issues/71)/[#73](https://github.com/CultureBotAI/EdgeMech/issues/73). A merged source PR is distinct from a verified corrected graph release. | -**Recommended continuation:** finish #127's PR review, reconcile the BactoTraits strain conflict [#130](https://github.com/CultureBotAI/EdgeMech/issues/130), and assemble versioned predicate/node authority and DOI/snippet proofs before freezing a new evidence package for two separate reviewers. Reconcile ontology versions before assessing #75/#87; an old local snapshot cannot stand in for the frozen or maintained version. Prepare #102 in parallel for authenticated retrieval. Reuse the 100 retained occurrences as the first correction-focused cohort; do not expand to the remaining 9,900 until evidence, modeling, correction-verification and reviewer-calibration gates in the plan are met. At least one real finding's correction must be independently verified against regenerated candidate bytes; a dependency explanation cannot substitute for that proof ([#119](https://github.com/CultureBotAI/EdgeMech/issues/119)). Work within the retained 100 can continue while this expansion gate is unmet. +**Recommended continuation:** reconcile the BactoTraits strain conflict [#130](https://github.com/CultureBotAI/EdgeMech/issues/130), and assemble versioned predicate/node authority and DOI/snippet proofs before freezing a new evidence package for two separate reviewers. Reconcile ontology versions before assessing #75/#87; an old local snapshot cannot stand in for the frozen or maintained version. Prepare #102 in parallel for authenticated retrieval. Reuse the 100 retained occurrences as the first correction-focused cohort; do not expand to the remaining 9,900 until evidence, modeling, correction-verification and reviewer-calibration gates in the plan are met. At least one real finding's correction must be independently verified against regenerated candidate bytes; a dependency explanation cannot substitute for that proof ([#119](https://github.com/CultureBotAI/EdgeMech/issues/119)). Work within the retained 100 can continue while this expansion gate is unmet. ## Source, ontology and regression follow-ups @@ -39,7 +40,8 @@ All entries below remain open as of the reconciliation date. Local evidence audi | Issues | What remains | Closure evidence | | --- | --- | --- | | [#68](https://github.com/CultureBotAI/EdgeMech/issues/68), [#106](https://github.com/CultureBotAI/EdgeMech/issues/106) | Discordant MicrobeDecoder organism crosswalks, including frozen records 10743 and 20904 | Trace the exact joins, independently resolve identity or prove an existing quarantine, and prevent unrelated NCBI fields from entering the measurement/reference binding. Edge47 currently excludes the discordant fields. | -| [#130](https://github.com/CultureBotAI/EdgeMech/issues/130) | BactoTraits row 8521 lists DSM 19353/JCM 14586 while its BacDive 17851 link and nominal taxon identify DSM 18772 | Independently resolve collection accessions and the maintained BactoTraits identity join, verify any existing fix/quarantine, and test regenerated candidate bytes before claiming correction. Preserve the source conflict; the nominal-strain paper does not reconcile it. | +| [#130](https://github.com/CultureBotAI/EdgeMech/issues/130) | Primary catalogs confirm that row 8521 mixes Thioprofundum collection codes with Rubritalea name/BacDive identity; a bounded owner quarantine is being prepared | [Identity investigation](docs/validation/bactotraits-identity-20261115.md). Verify the exact reviewed-row disposition and regenerated candidate bytes independently; distinguish a tested candidate from an upstream merge or corrected graph release. No replacement subject or trait cells are inferred. | +| [#132](https://github.com/CultureBotAI/EdgeMech/issues/132) | Neighboring BactoTraits row 8517 also has conflicting collection codes; wider source alignment remains unassessed | Independently resolve the additional accessions and trace complete row/column provenance before bounding or repairing other rows. Do not broaden the single-row quarantine automatically. | | [#69](https://github.com/CultureBotAI/EdgeMech/issues/69) | Inherited dataset DOIs identify unrelated publications | Verify exact titles/identifiers in the maintained assignment table; prove corrections with a bounded regression before any bulk repair. Database provenance is not biological claim evidence. | | [#70](https://github.com/CultureBotAI/EdgeMech/issues/70), [#72](https://github.com/CultureBotAI/EdgeMech/issues/72) | Maximum salinity tolerance mapped to halophily; generic sporulation mapped to endospore formation | Establish the correct trait semantics and a source-grounded mapping or explicit exclusion. Preserve range/optimum/tolerance and spore-type distinctions. | | [#75](https://github.com/CultureBotAI/EdgeMech/issues/75), [#86](https://github.com/CultureBotAI/EdgeMech/issues/86), [#87](https://github.com/CultureBotAI/EdgeMech/issues/87) | Obsolete observation predicate; taxon/type-strain conflation; opaque BactoTraits quantitative classes | Obtain maintained predicate/type-strain representations and auditable bin definitions with bounds, endpoint conventions, units and range-versus-optimum meaning. Preserve API-kit outcome context. Do not invent local ontology definitions. | @@ -52,7 +54,7 @@ Related edge-quality work, **PENDING source/release follow-up**: ## LBNL/library service usage and next access check -Usage below is scoped to the two canaries and the edge47 follow-up. The LBNL literature/review skills were used for the follow-up, but successful licensed-library full-text retrieval was not demonstrated in these runs. +Usage below is scoped to the two canaries, the edge47 follow-up and the BactoTraits identity investigation. The LBNL literature/review skills were used, but successful licensed-library full-text retrieval was not demonstrated in these runs. | Run / service | Observed use and result | | --- | --- | @@ -60,6 +62,7 @@ Usage below is scoped to the two canaries and the edge47 follow-up. The LBNL lit | Fresh 50 | 425 total paper-retrieval HTTP attempts. Five credential-backed Springer **open-access JATS** API attempts all returned 401. Seven Wiley TDM attempts returned four 403s and three 400s. These publisher attempts supplied no successful full text. Public discovery/retrieval also used Europe PMC, Crossref, OpenAlex and NCBI. | | Edge47 follow-up | The authenticated Wiley attempt for the 1993 paper returned 403. Local Zotero search found neither the priority 1983 nor 1993 paper. The 1983 access check skipped the LibKey/proxy route because it was unconfigured at that time. The complete 2024 paper actually inspected was retrieved anonymously through Europe PMC, with 149,817 XML bytes saved and verified. | | CBORG tools | No Valency, Tavily or Context7 execution is recorded in the examined fresh-canary/edge47 transport, packet and receipt metadata. This is a statement about retained traces, not proof that no conversation-level tool call ever occurred. Skill names alone do not establish service execution. | +| BactoTraits identity investigation, 2026-11-15 | Three successful CBORG Tavily calls (one search, two extracts) and four anonymous primary-catalog fetches. Request-ID provenance and raw catalog/text/hash receipts were retained privately. DSMZ/JCM/BacDive establish the accession conflict; no Valency, Context7, publisher TDM or full-paper retrieval was used. | Public provenance is in the reports linked above. Detailed private receipts remain outside Git: `edge-sample-review-20261112-data/phase2/literature/http-attempts.jsonl` (Springer entries 17, 44, 165, 223, 397; Wiley entries 93, 95, 103, 105, 124, 126, 345), and `retained-pr107-20261115/.temp/fulltext/salt-evidence-47-20261115/` (`local-search.json`, `kandler1983-access.json`, Wiley and primary2024 receipts). These are relative archive locators under the private EdgeMech agent-work directory, not repository files. Do not commit raw article bodies, private source packets or credentials. diff --git a/docs/validation/bactotraits-identity-20261115.md b/docs/validation/bactotraits-identity-20261115.md new file mode 100644 index 0000000..d9f4189 --- /dev/null +++ b/docs/validation/bactotraits-identity-20261115.md @@ -0,0 +1,129 @@ +# BactoTraits mixed-strain source investigation + +This investigation follows [#130](https://github.com/CultureBotAI/EdgeMech/issues/130) +for the exact fresh-05 occurrence +`urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136`: +`NCBITaxon:1123071 biolink:has_phenotype METPO:1000703`. + +The source row contains identifiers for two different organisms. A replacement +subject or culture-code edit would assume which parts of the row are trustworthy. +The bounded correction being prepared therefore withholds that row's BactoTraits +contribution and preserves the reason and original identity in an audit. It does +not declare the biological nonmotility claim false or remove another source's +independent evidence for that claim. + +## Primary identity evidence + +| Source identity | Independently checked catalog identity | +| --- | --- | +| DSM 19353 / JCM 14586 | *Thioprofundum lithotrophicum*, strain 106; BacDive 17847 and NCBITaxon 571898 | +| DSM 18772 / MBIC 08254 / NBRC 103619 | *Rubritalea squalenifaciens*, HOact 23; BacDive 17851 | + +The first mapping is confirmed by [DSMZ DSM 19353](https://www.dsmz.de/collection/catalogue/details/culture/DSM-19353) +and [JCM 14586](https://www.jcm.riken.jp/cgi-bin/jcm/jcm_number?JCM=14586). +JCM documents an original-publication typo, JCM 14596; the catalog-corrected +accession is 14586. That typo is not a reason to identify either strain with +*Rubritalea*. + +The second mapping is independently confirmed by [DSMZ DSM 18772](https://www.dsmz.de/collection/catalogue/details/culture/DSM-18772) +and [BacDive 17851](https://bacdive.dsmz.de/strain/17851). The BacDive page identifies +NCBITaxon 1123071 with genome GCA_900141815 and NCBITaxon 407226 with 16S sequence +AB277853. These are distinct identifiers in the source, not interchangeable +replacement subjects. The retained primary description, DOI +[10.1099/ijs.0.65010-0](https://doi.org/10.1099/ijs.0.65010-0), describes nonmotility +for HOact23/DSM 18772 in its abstract; no new full paper was inspected here. + +Four anonymous catalog responses, deterministic text derivatives and capture +receipts are retained privately under `.temp/identity130/authorities/`. Raw HTML +and full text derivatives are excluded from Git. The first DSM19353 fetch was +run and inspected before the other captures. The +[capture helper](../../scripts/adhoc/capture_strain_authorities_130_20261115.py) +records response and text hashes, access time, URL, extent and its own code hash. + +## Maintained owner and observed failure + +The owner is `Knowledge-Graph-Hub/kg-microbe`, specifically +`download.yaml` and `kg_microbe/transform_utils/bactotraits/bactotraits.py`. +Current remote master inspected was `ef27b97a0b450767da54235c6105b5250c178adc`. +Both files have the same Git blobs as the inspected local checkout at +`e3d1213a8bf7a4408204ebd48c19e42ec2e14b5e`; the remote branch check therefore did +not establish a later correction in either owner file. + +The June 2022 source CSV is SHA256 +`18316d7a0b6c2bef6fcb96a7659c2e3f3734c14786f383c2a93fefe2ae226a4b`; +its MD5 matches the maintained download pin `e6bca5b947c1aa692d45ac24aa9025f3`. +Its data row 8521 contains BacDive 17851 and the *Rubritalea squalenifaciens* +name, but culture codes DSM 19353 / JCM 14586. The complete retained row text +has SHA256 `345fd2d00ee93334d975085716692dd4d4c530d5529f04c5b07af0766d5a512a`. + +The current transform reads the BacDive ID and joins it through the consumed +BacDive lookup. It copies the collection-code field without checking its +agreement with that identity. The lookup itself distinguishes BacDive 17847 / +NCBITaxon 571898 from BacDive 17851 / NCBITaxon 1123071. The mixed row is already +present in the original CSV; EdgeMech's extraction did not create it. + +The [CSV-aware bounded query](../../scripts/adhoc/inspect_bactotraits_owner_130_20261115.sql) +inspected rows 8517–8525. Row 8517 contains another accession mismatch, recorded +separately in [#132](https://github.com/CultureBotAI/EdgeMech/issues/132). This +supports investigating a wider alignment problem; it does not establish its +extent or authorize an automatic repair of neighboring rows. Ordinals count data +records after the two preamble records and header, not raw physical line numbers. + +GitHub all-state searches for the exact terms `19353` and `17851` returned no +issues during the owner trace. The related BactoTraits lookup-freshness changes +do not resolve the source identity conflict. These are bounded search results, +not proof that no correction exists anywhere outside the examined surfaces. + +## Correction boundary + +The proposed owner change is a finite, reviewed-row quarantine with an input +policy and mandatory audit. It matches the complete original row before source +cell normalization, fails on changed/missing/duplicated reviewed identities, and +records actual consumed input hashes. It does not infer corrected accessions, +taxon IDs or phenotype cells, and does not introduce a general mismatch filter +over unreviewed rows. + +Candidate validation and independent before/after inspection are still being +prepared. Neither the maintained source nor a released graph is declared fixed +by this evidence report. The frozen occurrence remains immutable; independent +calibration and expansion beyond the existing 100 reviewed occurrences remain +separate gates. + +## Saved review and validation + +The new [canonical identity review](../../reviews/structured/20261116T074049Z-fresh05-source-identity/review.md) +replays seven evidence records and six bounded quotations. The retained paper +quotations total 16 words; each catalog contributes at most 25 quoted words. +It records claim and source fidelity as `NOT_ASSESSABLE`, literature support as +`PARTIAL`, and relation/subject/object modeling as `UNRESOLVED`. It is a partial +technical self-review, excluded from independent reviewer calibration, with no +admission recommendation. It links the original finding without rewriting the +prior review. This review records the identity investigation, before verification +of a candidate transform correction. + +The first save attempt exposed [#133](https://github.com/CultureBotAI/EdgeMech/issues/133): +the capture receipt's timezone-aware `+00:00` timestamp was incompatible with +the canonical contract's UTC `Z` form. The adapter now normalizes that field, +preserving the original receipt bytes and timestamp precision. The failed stage +and original helper snapshot remain private; a fresh v2 stage saved and checked +the canonical pair successfully without new provider calls. + +Validation completed on this evidence implementation: 698 tests passed, Ruff +passed for the CI scope (`src/edgemech tests scripts/adhoc`), all 16 pinned CLAW +contract files verified, and both source distribution +and wheel were built and inspected as nonempty artifacts. These checks establish +the evidence adapter's behavior, not a corrected graph release. +The broader `ruff check .` reports two pre-existing E741 warnings in the vendored +ID-label validator, filed separately as [#134](https://github.com/CultureBotAI/EdgeMech/issues/134) +and deferred to its maintained owner. + +## Services used + +CBORG Tavily supplied three successful keyed calls: one search and two extraction +calls covering four catalog pages. Their request identifiers are recorded in the +private service-provenance receipt, and one complete extraction response is +retained. Four separate anonymous catalog fetches supplied the raw bytes used for +replay. An initial sandbox DNS failure preceded the successful single-fetch +canary. No Valency, Context7, publisher TDM or licensed full-text retrieval was +used for this identity check. Catalog retrieval is distinct from library access +to a full scientific paper. diff --git a/reviews/structured/20261116T074049Z-fresh05-source-identity/review.md b/reviews/structured/20261116T074049Z-fresh05-source-identity/review.md new file mode 100644 index 0000000..a48daac --- /dev/null +++ b/reviews/structured/20261116T074049Z-fresh05-source-identity/review.md @@ -0,0 +1,950 @@ +# Fresh-05 source identity investigation confirms incompatible culture accessions + +- Review: 20261116T074049Z-fresh05-source-identity +- Repository: CultureBotAI/EdgeMech +- Started UTC: 2026-11-16T07:40:49Z +- Finished UTC: 2026-11-16T07:40:49Z +- Reviewer: Codex agent (self_review) +- Completion: partial +- Verdict: needs_curation +- Scientific review: true + +## Summary + +Primary catalog snapshots confirm that DSM 19353/JCM 14586 and DSM 18772 belong to distinct taxa. No safe source-field replacement, independently verified correction or resolved graph claim follows. Six newly authored categorical assessments remain conservative; the review is partial and excluded from independent calibration. + +## Scope And Provenance + +One occurrence's source identity investigation after abstract replay. + +Selection: Fresh-05 retained original occurrence and source conflict #130. +Coverage: partial; 1 reviewed / 1 in the declared population. +Source: working_tree at Git base a4c8ce937ffd791b7c7b4d05b85121dea1aa09d6. +Working-tree hashes do not imply those bytes were committed. + +| Target | Path / selector | Kind | Label | +| --- | --- | --- | --- | +| urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 | .temp/identity130-review-v2-20261115/packet.json # occurrence_id=urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 | snapshot_row | Fresh-05 source strain identity investigation | + +## Validation + +| Check | Status | Required | Targets | Result | +| --- | --- | --- | --- | --- | +| Ignored private staging preflight | passed | True | urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 | Git ignore check passed; no tracked destination files; fresh private directory and exclusive 0600 files enforce no overwrite. | +| Exact retained source and endpoint replay | passed | True | urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 | Fixed input hashes and cohort identity checked; build_packet and validate_packet replayed the newly persisted occurrence/source bytes. | +| Primary abstract identity and quotes | passed | True | urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 | The abstract adapter selected the exact MED/PMID primary result, verified DOI/title identity, extracted the complete abstract, and verify_quote matched both literal excerpts with hashes/offsets within one 25-word budget. No full text was inspected or claimed. | +| Pinned CLAW contract byte verification | passed | True | urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 | check_contracts returned successfully before review construction. | +| Verified source-row correction | unavailable | True | urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 | Catalog identities are disambiguated, but no safe field replacement or implemented source-row quarantine has been independently verified on regenerated candidate bytes. The original graph claim remains unresolved. | +| Predicate and both endpoint authorities | unavailable | True | urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 | Scoped versioned NCBI/METPO/Biolink/RO proofs were not authored in this canary; all modeling axes remain unresolved and review completion partial. | +| Captured catalog identity provenance | passed | True | urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 | All four raw HTML/text/receipt hashes and the capture helper hash matched; the deterministic text derivative and bounded quotes replayed. Culture identities were independently disambiguated before authoring this review. | +| Maintained download and transform snapshots | passed | True | urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 | Nonempty download.yaml and BactoTraits transform bytes were read from the Git object at ef27b97a0b450767da54235c6105b5250c178adc and retained as pinned inputs. This is owner tracing, not a source patch or regeneration check. | + +## Scientific And Domain Assessments + +### Source-identity investigation: claim + +grounding: unknown. Targets: urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136. + +The retained abstract reports nonmotility for the nominal DSM 18772 strain. The original identifier-bound graph assertion remains not assessable: the source row mixes identities and formal predicate/node checks remain incomplete. + +### Source-identity investigation: literature + +evidence: unknown. Targets: urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136. + +The same two DOI/PMID-bound abstract quotations partly address nonmotility for HOact23/DSM 18772. Catalog identity checks add no full-paper assay evidence and do not establish ownership of every trait in the mixed source row. + +### Source-identity investigation: relation + +representation: unknown. Targets: urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136. + +Culture accession disambiguation does not validate has_phenotype/RO:0002200. A scoped versioned predicate authority assessment remains outstanding. + +### Source-identity investigation: subject node + +identity: unknown. Targets: urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136. + +Current DSMZ/BacDive catalogs verify the nominal DSM 18772/HOact23 culture link. DSM 19353/JCM 14586 instead identify Thioprofundum strain 106. Formal NCBI/Biolink identity, rank and category assessment remains unresolved. + +### Source-identity investigation: object node + +representation: unknown. Targets: urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136. + +Nonmotility is reported for the nominal isolate, but this identity review does not adjudicate METPO:1000703 definition or graph category fitness. + +### Source-identity investigation: source fidelity + +provenance: unknown. Targets: urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136. + +The incompatible culture links are now independently confirmed. The row's BacDive ID/name and collection codes refer to different taxa; the maintained transform selects NCBI by BacDive ID. A safe field replacement and verified row correction have not been established. + +## Findings + +### source-accession-conflict: Source row carries conflicting strain accessions + +major / open / confirmed; issue key: bactotraits-row8521-conflicting-strain-accessions. + +BactoTraits row 8521 names Rubritalea squalenifaciens/BacDive 17851 but lists DSM 19353/JCM 14586. Captured DSMZ/JCM authorities place that collection pair in Thioprofundum lithotrophicum strain 106/BacDive 17847/NCBI 571898. DSMZ and current BacDive 17851 instead bind the nominal Rubritalea to DSM 18772/HOact23/MBIC08254/NBRC103619. The incompatible identity fields are confirmed; the intended ownership of all source traits and a safe replacement remain unresolved. + +## Recommended Actions And Acceptance Checks + +### quarantine-and-verify-source-identity + +Propose a complete-reviewed-row-hash-bound quarantine at the maintained BactoTraits transform; do not silently substitute accession or taxon fields. Establish the intended source identity with the table owner, preserve the before/after proposal and independently verify regenerated candidate occurrences before claiming correction. + +- Retain original row hash, occurrence and all conflicting fields. +- Quarantine acceptance is keyed by the complete reviewed row hash and exact row identity; retain whole-source-file hash as receipt provenance, not as a requirement to reject an otherwise unchanged reviewed row. +- Do not replace graph subject 1123071 with 571898 from accessions alone. +- Add a regression against mixed-strain joins without altering unrelated rows. +- Independently verify candidate regeneration and affected occurrences. + +## Category Boundaries + + +## Evidence + +| Evidence | Reference / locator | Support | Observation | +| --- | --- | --- | --- | +| packet-source | .temp/identity130-review-v2-20261115/packet.json; original_assertion; endpoints; source_records: BactoTraits CSV row 8521, BacDive 17851, LPSN 785725 | context_only | Exact retained source/endpoint context includes incompatible collection-code fields; this is not independent biological proof. | +| abstract-nonmotility | https://doi.org/10.1099/ijs.0.65010-0; abstract; PMID 17625207; chars 162:265; text_sha256=28ae92fb2c8f9d7319bd5ea1effc5587e84e9fb4ea78d6aa6e7a0499eb896f89 | partial | Literal primary abstract excerpt inspected in full abstract context; nominal DSM 18772 strain match does not settle disputed source accessions or the entire identifier-bound graph assertion. | +| abstract-strain | https://doi.org/10.1099/ijs.0.65010-0; abstract; PMID 17625207; chars 1157:1208; text_sha256=28ae92fb2c8f9d7319bd5ea1effc5587e84e9fb4ea78d6aa6e7a0499eb896f89 | partial | Literal primary abstract excerpt inspected in full abstract context; nominal DSM 18772 strain match does not settle disputed source accessions or the entire identifier-bound graph assertion. | +| catalog-dsm19353 | https://www.dsmz.de/collection/catalogue/details/culture/DSM-19353; catalog identity; chars 3153:3297; text_sha256=8fa3d180a19442d947a7bbdd86cf1efd78f6ca891fe2acbc42f2c6a9d15c6d82 | context_only | DSM 19353 and JCM 14586 identify Thioprofundum lithotrophicum strain 106, not the nominal Rubritalea strain. | +| catalog-jcm14586 | https://www.jcm.riken.jp/cgi-bin/jcm/jcm_number?JCM=14586; catalog identity; chars 776:820; text_sha256=93d5aec6c739d6bd48c4c4aa66416c7dfe4220ff9ca5c572a1010ad02be0440f | context_only | JCM 14586's complete catalog page corroborates strain 106/DSM 19353 and binds it to BacDive 17847 and NCBI 571898. It documents the original-paper JCM 14596 typographical error; that typo is not a new equivalent accession. | +| catalog-dsm18772 | https://www.dsmz.de/collection/catalogue/details/culture/DSM-18772; catalog identity; chars 3083:3242; text_sha256=99c07d7d2dfeb73ed1fbb69e8213c8034146e51140b2a80f160bd59faead79c8 | context_only | The nominal Rubritalea squalenifaciens type strain has DSM 18772, HOact 23, MBIC08254 and NBRC 103619 aliases. | +| catalog-bacdive17851 | https://bacdive.dsmz.de/strain/17851; catalog identity; chars 674:819; text_sha256=29f41098eb41eb4a6ca0d46abe5ecd746e8cc5dbb4edac5cb6b8233bd6cdd7bc | context_only | Current BacDive 17851 retains the Rubritalea culture aliases. Its inspected sequence sections distinguish strain/genome 1123071 from species/16S 407226; this catalog is not independent NCBI ontology adjudication. | + +## Limits And Additional Notes + +- Partial self-review; not an independent calibration rating, agreement result or gold label. +- Complete catalog pages and the retained abstract were inspected; no full scientific paper. +- Four catalog snapshots resolve competing aliases, not all original statement/model semantics. +- The confirmed source conflict does not establish biological refutation or a safe field repair. +- Neighbor investigation #132 is context only and contributes no new reviewed occurrence here. +- Investigation used 3 successful CBORG Tavily calls and 4 anonymous catalog GETs; no Valency, publisher TDM or licensed-library full text. This replay launcher makes zero requests. +- Original source bytes/reviews remain intact; no source patch, native capability or graph admission. +- Private catalog/source bodies remain ignored; canonical review contains bounded snippets and hashes. + +## Complete Structured Record + +The sibling review.yaml is authoritative. + +```yaml +schema_version: 1.0.0 +review_id: 20261116T074049Z-fresh05-source-identity +kind: record +repository: CultureBotAI/EdgeMech +title: Fresh-05 source identity investigation confirms incompatible culture accessions +started_at: '2026-11-16T07:40:49Z' +finished_at: '2026-11-16T07:40:49Z' +reviewer: + identity: Codex agent + kind: agent + independence: self_review + independence_basis: New authored source-identity judgments using retained source/abstract + and current catalogs. Historical reviews and labels were visible; excluded from + independent calibration matrices. +skill: edgemech-occurrence-review/v1 +completion: partial +verdict: needs_curation +scientific_review: true +summary: Primary catalog snapshots confirm that DSM 19353/JCM 14586 and DSM 18772 + belong to distinct taxa. No safe source-field replacement, independently verified + correction or resolved graph claim follows. Six newly authored categorical assessments + remain conservative; the review is partial and excluded from independent calibration. +source: + git_revision: a4c8ce937ffd791b7c7b4d05b85121dea1aa09d6 + state: working_tree + inputs: + - path: .temp/identity130-review-v2-20261115/abstract.json + sha256: 82d96c9481a6d11eefc5976e65b2863e10bed3cedf8b02f9b09cdb92802cf807 + role: context + - path: .temp/identity130-review-v2-20261115/bacdive17851.html + sha256: 1a6b1f17cea659277484d7461db6ad3f50e6e32a85c6bf5abdc472e8a489b592 + role: context + - path: .temp/identity130-review-v2-20261115/bacdive17851.json + sha256: 6a0e0f46648056fa529748d5010db3df04600a40fb86ab1da2edeba85ac26ea9 + role: context + - path: .temp/identity130-review-v2-20261115/bacdive17851.txt + sha256: 29f41098eb41eb4a6ca0d46abe5ecd746e8cc5dbb4edac5cb6b8233bd6cdd7bc + role: context + - path: .temp/identity130-review-v2-20261115/cborg-service-provenance.json + sha256: f9e7ce85c9c9a2738d14384f46251797ad5d213f1efb1d7b8a2ce95d76b289d0 + role: context + - path: .temp/identity130-review-v2-20261115/cborg-tavily-dsm18772.json + sha256: 49096c6b7b7607d1071415bac9e70ab298326c9628d45f7b2aa36351e1611481 + role: context + - path: .temp/identity130-review-v2-20261115/dsm18772.html + sha256: e6ce0ea2affb04b490b537478a4b804371e187e3eb44f29cff2a99e0875b7079 + role: context + - path: .temp/identity130-review-v2-20261115/dsm18772.json + sha256: c4dff78887cf1fc393286867e2954d2d39198ff521dec8417984cdecb3359328 + role: context + - path: .temp/identity130-review-v2-20261115/dsm18772.txt + sha256: 99c07d7d2dfeb73ed1fbb69e8213c8034146e51140b2a80f160bd59faead79c8 + role: context + - path: .temp/identity130-review-v2-20261115/dsm19353.html + sha256: d416237bc389c88a12185f6981a97faf10cfb091c579b6fb10f721a24c9e1921 + role: context + - path: .temp/identity130-review-v2-20261115/dsm19353.json + sha256: 99b8f7dde10107d7e6510f2cfb2ded46ca4dfba3e8b6e6230ef7990dc49e8bbf + role: context + - path: .temp/identity130-review-v2-20261115/dsm19353.txt + sha256: 8fa3d180a19442d947a7bbdd86cf1efd78f6ca891fe2acbc42f2c6a9d15c6d82 + role: context + - path: .temp/identity130-review-v2-20261115/jcm14586.html + sha256: 6ee861e0a76f89b937aa79249450267985202f26a326ce629d0119d1b36effaf + role: context + - path: .temp/identity130-review-v2-20261115/jcm14586.json + sha256: 8906c5337592813bbcf2767bc45cfe08f5520a45922e00df0545f84e01071b9c + role: context + - path: .temp/identity130-review-v2-20261115/jcm14586.txt + sha256: 93d5aec6c739d6bd48c4c4aa66416c7dfe4220ff9ca5c572a1010ad02be0440f + role: context + - path: .temp/identity130-review-v2-20261115/kg-microbe-bactotraits.py + sha256: 0d75c432f89f70f90ace3135e7142909721140ba416a638b95e52ac8fcfd7523 + role: context + - path: .temp/identity130-review-v2-20261115/kg-microbe-download.yaml + sha256: 209669d1de7e2dfea17712a755217fd201241d2e32f763366ff0570270610153 + role: context + - path: .temp/identity130-review-v2-20261115/occurrence.json + sha256: 7b537e0809c90529f7663866359bace6b7d9bd5c7547c74cf4faf88268430426 + role: context + - path: .temp/identity130-review-v2-20261115/packet.json + sha256: 8198616d22c932487940fe40a55926a9f8c2c35c9e473a3210a223a435c86703 + role: target + - path: .temp/identity130-review-v2-20261115/prepared-packet.json + sha256: 9a456958680990e4d6742b2bc012579d6e48d5d2adefdfcd24c6f0b6ab56b34b + role: context + - path: .temp/identity130-review-v2-20261115/proofs.json + sha256: 21cebf11f52cf65a37fccb25f62fc457050467ea0f19a83834ea41b4fb08914e + role: context + - path: .temp/identity130-review-v2-20261115/source.json + sha256: 9ff02c936f66ec58ad26b25f6176cf96d1f2f92bb556b6c4e7c971995a42f8e7 + role: context + - path: artifacts/edge-calibration-20261115/cohort.json + sha256: 1dc756b0ba628756baf544cacf36f0a1ab2e4c68eed6724ee281205f22d606ee + role: context + - path: artifacts/edge-calibration-20261115/protocol.json + sha256: d24b9e1e9833d70407bf06a04ae6c0ff92f5564149a3b51e6402e5416e866517 + role: context + - path: docs/record-review-profile.md + sha256: 45e4a564d4926ad491e6a8c2ec4426f8249dfc18318d8c7e2e4d4422dd8143f6 + role: context + - path: reviews/structured/20261116T052355Z-fresh05-abstract-adapter/review.yaml + sha256: b1ca23d2c1d2854f73c85564d2cad27572736465c06ef47345319266664b3427 + role: context + - path: schema/record_review.yaml + sha256: 229baf9b69118a1fe318e4c31085c0820e4e3d1365e7b04d6ace451b7c35f9bb + role: context + - path: scripts/adhoc/capture_strain_authorities_130_20261115.py + sha256: 56b1ef847187e15a80a00e7b197f28435fcb465bdb0c3954cc097ffbe07388f1 + role: context + - path: scripts/adhoc/review_bactotraits_identity_130_20261115.py + sha256: 798dd020dea338e37eccb952c6715b3b2d33e23ce5fbf51b6905d5eef99ac5b9 + role: context + - path: scripts/adhoc/run_abstract_canary_20261115.py + sha256: 467f3dbdc899bbcc23f3097a87f51cd4b1f712abbafefd13ed02591c28d03e68 + role: context + - path: src/edgemech/contract-pins.json + sha256: 788ecc876a432feebeb89627fbe5a40dba1c1001598683c19834e4626667842c + role: context + - path: src/edgemech/literature_cache.py + sha256: 12e3d920e2a9978c25b5d7626aae087ccd089609c367339a240eb8f37b7a3fef + role: context + - path: src/edgemech/occurrence_packet.py + sha256: 7526fcb6f4467a342abc644c8f607b9b8c6fb395eac159c61f4654594cc490d7 + role: context + - path: src/edgemech/occurrence_review.py + sha256: 8821065a01a03752f1952accd0ae7fb53c5d31e85a8f5be621c2d8a7f43d43e3 + role: context +targets: +- target_id: urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + path: .temp/identity130-review-v2-20261115/packet.json + selector: occurrence_id=urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + kind: snapshot_row + record_class: ReleaseOccurrence + label: Fresh-05 source strain identity investigation + ownership_note: Source publisher controls the BactoTraits table; maintained KG-Microbe + download/join paths are identified at ef27b97a0b450767da54235c6105b5250c178adc. + owner_paths: + - repository: Knowledge-Graph-Hub/kg-microbe + path: download.yaml + role: Maintained BactoTraits source download and checksum pin + - repository: Knowledge-Graph-Hub/kg-microbe + path: kg_microbe/transform_utils/bactotraits/bactotraits.py + role: Maintained BacDive-ID to NCBI identity join and BactoTraits transform +scope: + description: One occurrence's source identity investigation after abstract replay. + selection: 'Fresh-05 retained original occurrence and source conflict #130.' + coverage: partial + population_size: 1 + reviewed_target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + exclusions: + - target: Independent ten-case calibration scoring + reason: Self-review with historical labels visible; no new rating. + - target: 'Neighbor-row finding #132' + reason: Contextual follow-up only; not an additional reviewed target. + - target: Other retained occurrences and remaining 9900 + reason: No review expansion or population inference. +checks: +- check_id: private-staging + name: Ignored private staging preflight + status: passed + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + command: git check-ignore --no-index --quiet .temp/identity130-review-v2-20261115/abstract.json + exit_code: 0 + expected_exit_code: 0 + summary: Git ignore check passed; no tracked destination files; fresh private directory + and exclusive 0600 files enforce no overwrite. +- check_id: source-packet + name: Exact retained source and endpoint replay + status: passed + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - packet-source + summary: Fixed input hashes and cohort identity checked; build_packet and validate_packet + replayed the newly persisted occurrence/source bytes. +- check_id: abstract-identity-quotes + name: Primary abstract identity and quotes + status: passed + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - abstract-nonmotility + - abstract-strain + summary: The abstract adapter selected the exact MED/PMID primary result, verified + DOI/title identity, extracted the complete abstract, and verify_quote matched + both literal excerpts with hashes/offsets within one 25-word budget. No full text + was inspected or claimed. +- check_id: pinned-contracts + name: Pinned CLAW contract byte verification + status: passed + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + summary: check_contracts returned successfully before review construction. +- check_id: source-identity-resolution + name: Verified source-row correction + status: unavailable + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + summary: Catalog identities are disambiguated, but no safe field replacement or + implemented source-row quarantine has been independently verified on regenerated + candidate bytes. The original graph claim remains unresolved. +- check_id: versioned-modeling + name: Predicate and both endpoint authorities + status: unavailable + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + summary: Scoped versioned NCBI/METPO/Biolink/RO proofs were not authored in this + canary; all modeling axes remain unresolved and review completion partial. +- check_id: catalog-identity-replay + name: Captured catalog identity provenance + status: passed + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + summary: All four raw HTML/text/receipt hashes and the capture helper hash matched; + the deterministic text derivative and bounded quotes replayed. Culture identities + were independently disambiguated before authoring this review. +- check_id: maintained-owner-snapshots + name: Maintained download and transform snapshots + status: passed + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + summary: Nonempty download.yaml and BactoTraits transform bytes were read from the + Git object at ef27b97a0b450767da54235c6105b5250c178adc and retained as pinned + inputs. This is owner tracing, not a source patch or regeneration check. +evidence: +- evidence_id: packet-source + kind: record_content + reference: .temp/identity130-review-v2-20261115/packet.json + locator: 'original_assertion; endpoints; source_records: BactoTraits CSV row 8521, + BacDive 17851, LPSN 785725' + accessed_at: '2026-11-16T07:40:49Z' + support: context_only + snapshot_sha256: 8198616d22c932487940fe40a55926a9f8c2c35c9e473a3210a223a435c86703 + summary: Exact retained source/endpoint context includes incompatible collection-code + fields; this is not independent biological proof. +- evidence_id: abstract-nonmotility + kind: primary_source + reference: https://doi.org/10.1099/ijs.0.65010-0 + locator: abstract; PMID 17625207; chars 162:265; text_sha256=28ae92fb2c8f9d7319bd5ea1effc5587e84e9fb4ea78d6aa6e7a0499eb896f89 + accessed_at: '2026-11-16T07:40:49Z' + support: partial + quote: The strain, designated HOact23(T), was a non-motile, rod-shaped (0.44-0.53x0.65-0.79 + microm) bacterium. + snapshot_sha256: 82d96c9481a6d11eefc5976e65b2863e10bed3cedf8b02f9b09cdb92802cf807 + summary: Literal primary abstract excerpt inspected in full abstract context; nominal + DSM 18772 strain match does not settle disputed source accessions or the entire + identifier-bound graph assertion. +- evidence_id: abstract-strain + kind: primary_source + reference: https://doi.org/10.1099/ijs.0.65010-0 + locator: abstract; PMID 17625207; chars 1157:1208; text_sha256=28ae92fb2c8f9d7319bd5ea1effc5587e84e9fb4ea78d6aa6e7a0499eb896f89 + accessed_at: '2026-11-16T07:40:49Z' + support: partial + quote: type strain HOact23(T) (=MBIC08254(T)=DSM 18772(T)) + snapshot_sha256: 82d96c9481a6d11eefc5976e65b2863e10bed3cedf8b02f9b09cdb92802cf807 + summary: Literal primary abstract excerpt inspected in full abstract context; nominal + DSM 18772 strain match does not settle disputed source accessions or the entire + identifier-bound graph assertion. +- evidence_id: catalog-dsm19353 + kind: authority + support: context_only + reference: https://www.dsmz.de/collection/catalogue/details/culture/DSM-19353 + accessed_at: '2026-11-16T07:31:54.779207Z' + quote: '19353, Type strain dsm-19353 dsm19353 dsm 19353 Thioprofundum lithotrophicum + + Strain designation: + + 106 + + Other collection no. + + or WDCM no.: + + JCM 14586' + snapshot_sha256: 8fa3d180a19442d947a7bbdd86cf1efd78f6ca891fe2acbc42f2c6a9d15c6d82 + locator: catalog identity; chars 3153:3297; text_sha256=8fa3d180a19442d947a7bbdd86cf1efd78f6ca891fe2acbc42f2c6a9d15c6d82 + summary: DSM 19353 and JCM 14586 identify Thioprofundum lithotrophicum strain 106, + not the nominal Rubritalea strain. +- evidence_id: catalog-jcm14586 + kind: authority + support: context_only + reference: https://www.jcm.riken.jp/cgi-bin/jcm/jcm_number?JCM=14586 + accessed_at: '2026-11-16T07:32:41.164578Z' + quote: 'BacDive ID: 17847. + + NCBI Taxonomy ID: 571898.' + snapshot_sha256: 93d5aec6c739d6bd48c4c4aa66416c7dfe4220ff9ca5c572a1010ad02be0440f + locator: catalog identity; chars 776:820; text_sha256=93d5aec6c739d6bd48c4c4aa66416c7dfe4220ff9ca5c572a1010ad02be0440f + summary: JCM 14586's complete catalog page corroborates strain 106/DSM 19353 and + binds it to BacDive 17847 and NCBI 571898. It documents the original-paper JCM + 14596 typographical error; that typo is not a new equivalent accession. +- evidence_id: catalog-dsm18772 + kind: authority + support: context_only + reference: https://www.dsmz.de/collection/catalogue/details/culture/DSM-18772 + accessed_at: '2026-11-16T07:32:36.482044Z' + quote: '18772, Type strain dsm-18772 dsm18772 dsm 18772 Rubritalea squalenifaciens + + Strain designation: + + HOact 23 + + Other collection no. + + or WDCM no.: + + MBIC08254,NBRC 103619' + snapshot_sha256: 99c07d7d2dfeb73ed1fbb69e8213c8034146e51140b2a80f160bd59faead79c8 + locator: catalog identity; chars 3083:3242; text_sha256=99c07d7d2dfeb73ed1fbb69e8213c8034146e51140b2a80f160bd59faead79c8 + summary: The nominal Rubritalea squalenifaciens type strain has DSM 18772, HOact + 23, MBIC08254 and NBRC 103619 aliases. +- evidence_id: catalog-bacdive17851 + kind: authority + support: context_only + reference: https://bacdive.dsmz.de/strain/17851 + accessed_at: '2026-11-16T07:33:14.199643Z' + quote: 'BacDive ID + + 17851 + + Type strain + + Strain Designation + + HOact 23 + + Culture col. no. + + DSM 18772 + + MBIC 08254 + + NBRC 103619 + + HOact 23 + + NCBI tax ID(s) + + 1123071 + + 407226' + snapshot_sha256: 29f41098eb41eb4a6ca0d46abe5ecd746e8cc5dbb4edac5cb6b8233bd6cdd7bc + locator: catalog identity; chars 674:819; text_sha256=29f41098eb41eb4a6ca0d46abe5ecd746e8cc5dbb4edac5cb6b8233bd6cdd7bc + summary: Current BacDive 17851 retains the Rubritalea culture aliases. Its inspected + sequence sections distinguish strain/genome 1123071 from species/16S 407226; this + catalog is not independent NCBI ontology adjudication. +assessments: +- assessment_id: claim + area: grounding + topic: 'Source-identity investigation: claim' + outcome: unknown + summary: 'The retained abstract reports nonmotility for the nominal DSM 18772 strain. + The original identifier-bound graph assertion remains not assessable: the source + row mixes identities and formal predicate/node checks remain incomplete.' + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - abstract-nonmotility + - abstract-strain + dimensions: + - name: axis + value: claim + definition: 'Authored bounded source-identity judgment: axis' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: category + value: NOT_ASSESSABLE + definition: 'Authored bounded source-identity judgment: category' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: scope + value: Original fresh-05 occurrence; bounded source-identity investigation + definition: 'Authored bounded source-identity judgment: scope' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: assertion_scope + value: NCBITaxon:1123071 biolink:has_phenotype METPO:1000703, with original DSM + 18772/non motile labels. The accession conflict is not a biological refutation + and is not repaired by replacing the subject. + definition: 'Authored bounded source-identity judgment: assertion_scope' + evidence_ids: + - abstract-nonmotility + - abstract-strain +- assessment_id: literature + area: evidence + topic: 'Source-identity investigation: literature' + outcome: unknown + summary: The same two DOI/PMID-bound abstract quotations partly address nonmotility + for HOact23/DSM 18772. Catalog identity checks add no full-paper assay evidence + and do not establish ownership of every trait in the mixed source row. + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - abstract-nonmotility + - abstract-strain + dimensions: + - name: axis + value: literature + definition: 'Authored bounded source-identity judgment: axis' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: category + value: PARTIAL + definition: 'Authored bounded source-identity judgment: category' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: scope + value: Original fresh-05 occurrence; bounded source-identity investigation + definition: 'Authored bounded source-identity judgment: scope' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: search_scope + value: Retained complete abstract only, DOI 10.1099/ijs.0.65010-0, PMID 17625207; + no new paper search or full-paper inspection. + definition: 'Authored bounded source-identity judgment: search_scope' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: literature_channel + value: europepmc_abstract_retained; separate catalog discovery used 3 CBORG Tavily + calls and 4 anonymous primary-catalog GETs; no TDM. + definition: 'Authored bounded source-identity judgment: literature_channel' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: inspected_extent + value: Complete retained abstract and its two unchanged short snippets. + definition: 'Authored bounded source-identity judgment: inspected_extent' + evidence_ids: + - abstract-nonmotility + - abstract-strain +- assessment_id: relation + area: representation + topic: 'Source-identity investigation: relation' + outcome: unknown + summary: Culture accession disambiguation does not validate has_phenotype/RO:0002200. + A scoped versioned predicate authority assessment remains outstanding. + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - packet-source + dimensions: + - name: axis + value: relation + definition: 'Authored bounded source-identity judgment: axis' + evidence_ids: + - packet-source + - name: category + value: UNRESOLVED + definition: 'Authored bounded source-identity judgment: category' + evidence_ids: + - packet-source + - name: scope + value: Original fresh-05 occurrence; bounded source-identity investigation + definition: 'Authored bounded source-identity judgment: scope' + evidence_ids: + - packet-source + - name: direction + value: Original organism-to-phenotype direction preserved. + definition: 'Authored bounded source-identity judgment: direction' + evidence_ids: + - packet-source + - name: domain_range + value: No new versioned domain/range proof authored. + definition: 'Authored bounded source-identity judgment: domain_range' + evidence_ids: + - packet-source + - name: specificity + value: Relation fitness for the original nonmotility statement unresolved. + definition: 'Authored bounded source-identity judgment: specificity' + evidence_ids: + - packet-source + - name: qualifiers + value: Abstract and catalogs do not supply complete assay conditions or warrant + a universal-condition reading. + definition: 'Authored bounded source-identity judgment: qualifiers' + evidence_ids: + - packet-source +- assessment_id: subject-node + area: identity + topic: 'Source-identity investigation: subject node' + outcome: unknown + summary: Current DSMZ/BacDive catalogs verify the nominal DSM 18772/HOact23 culture + link. DSM 19353/JCM 14586 instead identify Thioprofundum strain 106. Formal NCBI/Biolink + identity, rank and category assessment remains unresolved. + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + dimensions: + - name: axis + value: subject_node + definition: 'Authored bounded source-identity judgment: axis' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: category + value: UNRESOLVED + definition: 'Authored bounded source-identity judgment: category' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: scope + value: Original fresh-05 occurrence; bounded source-identity investigation + definition: 'Authored bounded source-identity judgment: scope' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: identity + value: NCBITaxon:1123071 retained. BacDive 17851 distinguishes genome 1123071 + from species/16S 407226. The competing culture pair maps through JCM to BacDive + 17847/NCBI 571898, not an equivalent Rubritalea accession. + definition: 'Authored bounded source-identity judgment: identity' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: label + value: Original Rubritalea squalenifaciens DSM 18772 label preserved. + definition: 'Authored bounded source-identity judgment: label' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: category_fit + value: biolink:OrganismTaxon retained; catalog agreement is not formal Biolink + category validation. + definition: 'Authored bounded source-identity judgment: category_fit' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: rank_or_type + value: Catalogs distinguish type-strain aliases and species/genome identifiers; + independent NCBI rank/status verification remains incomplete. + definition: 'Authored bounded source-identity judgment: rank_or_type' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: definition + value: No complete versioned node-definition proof authored. + definition: 'Authored bounded source-identity judgment: definition' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: authority_version + value: Four independently captured catalog snapshots are bound by capture timestamps, + raw/text hashes and receipts; the unresolved source join prevents treating them + as complete original-assertion validation. + definition: 'Authored bounded source-identity judgment: authority_version' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 +- assessment_id: object-node + area: representation + topic: 'Source-identity investigation: object node' + outcome: unknown + summary: Nonmotility is reported for the nominal isolate, but this identity review + does not adjudicate METPO:1000703 definition or graph category fitness. + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - packet-source + dimensions: + - name: axis + value: object_node + definition: 'Authored bounded source-identity judgment: axis' + evidence_ids: + - packet-source + - name: category + value: UNRESOLVED + definition: 'Authored bounded source-identity judgment: category' + evidence_ids: + - packet-source + - name: scope + value: Original fresh-05 occurrence; bounded source-identity investigation + definition: 'Authored bounded source-identity judgment: scope' + evidence_ids: + - packet-source + - name: identity + value: Original METPO:1000703 retained; no replacement proposed. + definition: 'Authored bounded source-identity judgment: identity' + evidence_ids: + - packet-source + - name: label + value: Original non motile label retained. + definition: 'Authored bounded source-identity judgment: label' + evidence_ids: + - packet-source + - name: category_fit + value: biolink:PhenotypicQuality requires a scoped authority check. + definition: 'Authored bounded source-identity judgment: category_fit' + evidence_ids: + - packet-source + - name: rank_or_type + value: Nominal phenotype class; formal typing remains unresolved. + definition: 'Authored bounded source-identity judgment: rank_or_type' + evidence_ids: + - packet-source + - name: definition + value: No new versioned METPO definition proof authored. + definition: 'Authored bounded source-identity judgment: definition' + evidence_ids: + - packet-source + - name: authority_version + value: Preparation authorities are not substituted for new inspected and scoped + modeling evidence. + definition: 'Authored bounded source-identity judgment: authority_version' + evidence_ids: + - packet-source +- assessment_id: source-fidelity + area: provenance + topic: 'Source-identity investigation: source fidelity' + outcome: unknown + summary: The incompatible culture links are now independently confirmed. The row's + BacDive ID/name and collection codes refer to different taxa; the maintained transform + selects NCBI by BacDive ID. A safe field replacement and verified row correction + have not been established. + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + dimensions: + - name: axis + value: source_fidelity + definition: 'Authored bounded source-identity judgment: axis' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: category + value: NOT_ASSESSABLE + definition: 'Authored bounded source-identity judgment: category' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: scope + value: Original fresh-05 occurrence; bounded source-identity investigation + definition: 'Authored bounded source-identity judgment: scope' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: source_binding + value: Original BactoTraits row 8521 and all retained source records remain unchanged. + Maintained owner snapshots at ef27b97a0b450767da54235c6105b5250c178adc identify + the download pin and BacDive-to-NCBI join. Quarantine is a proposed action, + not an implemented or independently verified graph fix. + definition: 'Authored bounded source-identity judgment: source_binding' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 +findings: +- finding_id: source-accession-conflict + issue_key: bactotraits-row8521-conflicting-strain-accessions + category: identity + severity: major + status: open + certainty: confirmed + title: Source row carries conflicting strain accessions + description: BactoTraits row 8521 names Rubritalea squalenifaciens/BacDive 17851 + but lists DSM 19353/JCM 14586. Captured DSMZ/JCM authorities place that collection + pair in Thioprofundum lithotrophicum strain 106/BacDive 17847/NCBI 571898. DSMZ + and current BacDive 17851 instead bind the nominal Rubritalea to DSM 18772/HOact23/MBIC08254/NBRC103619. + The incompatible identity fields are confirmed; the intended ownership of all + source traits and a safe replacement remain unresolved. + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + field_paths: + - 'source_records[0].text: culture collection codes' + - 'source_records[0].text: Bacdive_ID' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - abstract-nonmotility + - abstract-strain + ownership_note: Source publisher owns table correction; KG-Microbe owns download/join + and any reviewed row-quarantine policy at the listed maintained paths. + external_issues: + - https://github.com/CultureBotAI/EdgeMech/issues/130 + owner_paths: + - repository: Knowledge-Graph-Hub/kg-microbe + path: download.yaml + role: Maintained BactoTraits source download and checksum pin + - repository: Knowledge-Graph-Hub/kg-microbe + path: kg_microbe/transform_utils/bactotraits/bactotraits.py + role: Maintained BacDive-ID to NCBI identity join and BactoTraits transform + previous_occurrences: + - repository: CultureBotAI/EdgeMech + review_id: 20261116T052355Z-fresh05-abstract-adapter + finding_id: source-accession-conflict +actions: +- action_id: quarantine-and-verify-source-identity + finding_ids: + - source-accession-conflict + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + description: Propose a complete-reviewed-row-hash-bound quarantine at the maintained + BactoTraits transform; do not silently substitute accession or taxon fields. Establish + the intended source identity with the table owner, preserve the before/after proposal + and independently verify regenerated candidate occurrences before claiming correction. + ownership_note: The maintained owner paths are known; no correction or quarantine + is claimed merged by this investigation. + acceptance_checks: + - Retain original row hash, occurrence and all conflicting fields. + - Quarantine acceptance is keyed by the complete reviewed row hash and exact row + identity; retain whole-source-file hash as receipt provenance, not as a requirement + to reject an otherwise unchanged reviewed row. + - Do not replace graph subject 1123071 with 571898 from accessions alone. + - Add a regression against mixed-strain joins without altering unrelated rows. + - Independently verify candidate regeneration and affected occurrences. + owner_paths: + - repository: Knowledge-Graph-Hub/kg-microbe + path: download.yaml + role: Maintained BactoTraits source download and checksum pin + - repository: Knowledge-Graph-Hub/kg-microbe + path: kg_microbe/transform_utils/bactotraits/bactotraits.py + role: Maintained BacDive-ID to NCBI identity join and BactoTraits transform +limitations: +- Partial self-review; not an independent calibration rating, agreement result or + gold label. +- Complete catalog pages and the retained abstract were inspected; no full scientific + paper. +- Four catalog snapshots resolve competing aliases, not all original statement/model + semantics. +- The confirmed source conflict does not establish biological refutation or a safe + field repair. +- 'Neighbor investigation #132 is context only and contributes no new reviewed occurrence + here.' +- Investigation used 3 successful CBORG Tavily calls and 4 anonymous catalog GETs; + no Valency, publisher TDM or licensed-library full text. This replay launcher makes + zero requests. +- Original source bytes/reviews remain intact; no source patch, native capability + or graph admission. +- Private catalog/source bodies remain ignored; canonical review contains bounded + snippets and hashes. +links: +- https://github.com/CultureBotAI/EdgeMech/issues/130 +- https://github.com/CultureBotAI/EdgeMech/issues/132 +- https://doi.org/10.1099/ijs.0.65010-0 +- https://github.com/Knowledge-Graph-Hub/kg-microbe/blob/ef27b97a0b450767da54235c6105b5250c178adc/download.yaml +- https://github.com/Knowledge-Graph-Hub/kg-microbe/blob/ef27b97a0b450767da54235c6105b5250c178adc/kg_microbe/transform_utils/bactotraits/bactotraits.py +tags: +- source-identity-investigation +- partial-review +- excluded-from-calibration-scoring +``` diff --git a/reviews/structured/20261116T074049Z-fresh05-source-identity/review.yaml b/reviews/structured/20261116T074049Z-fresh05-source-identity/review.yaml new file mode 100644 index 0000000..9643a6f --- /dev/null +++ b/reviews/structured/20261116T074049Z-fresh05-source-identity/review.yaml @@ -0,0 +1,819 @@ +schema_version: 1.0.0 +review_id: 20261116T074049Z-fresh05-source-identity +kind: record +repository: CultureBotAI/EdgeMech +title: Fresh-05 source identity investigation confirms incompatible culture accessions +started_at: '2026-11-16T07:40:49Z' +finished_at: '2026-11-16T07:40:49Z' +reviewer: + identity: Codex agent + kind: agent + independence: self_review + independence_basis: New authored source-identity judgments using retained source/abstract + and current catalogs. Historical reviews and labels were visible; excluded from + independent calibration matrices. +skill: edgemech-occurrence-review/v1 +completion: partial +verdict: needs_curation +scientific_review: true +summary: Primary catalog snapshots confirm that DSM 19353/JCM 14586 and DSM 18772 + belong to distinct taxa. No safe source-field replacement, independently verified + correction or resolved graph claim follows. Six newly authored categorical assessments + remain conservative; the review is partial and excluded from independent calibration. +source: + git_revision: a4c8ce937ffd791b7c7b4d05b85121dea1aa09d6 + state: working_tree + inputs: + - path: .temp/identity130-review-v2-20261115/abstract.json + sha256: 82d96c9481a6d11eefc5976e65b2863e10bed3cedf8b02f9b09cdb92802cf807 + role: context + - path: .temp/identity130-review-v2-20261115/bacdive17851.html + sha256: 1a6b1f17cea659277484d7461db6ad3f50e6e32a85c6bf5abdc472e8a489b592 + role: context + - path: .temp/identity130-review-v2-20261115/bacdive17851.json + sha256: 6a0e0f46648056fa529748d5010db3df04600a40fb86ab1da2edeba85ac26ea9 + role: context + - path: .temp/identity130-review-v2-20261115/bacdive17851.txt + sha256: 29f41098eb41eb4a6ca0d46abe5ecd746e8cc5dbb4edac5cb6b8233bd6cdd7bc + role: context + - path: .temp/identity130-review-v2-20261115/cborg-service-provenance.json + sha256: f9e7ce85c9c9a2738d14384f46251797ad5d213f1efb1d7b8a2ce95d76b289d0 + role: context + - path: .temp/identity130-review-v2-20261115/cborg-tavily-dsm18772.json + sha256: 49096c6b7b7607d1071415bac9e70ab298326c9628d45f7b2aa36351e1611481 + role: context + - path: .temp/identity130-review-v2-20261115/dsm18772.html + sha256: e6ce0ea2affb04b490b537478a4b804371e187e3eb44f29cff2a99e0875b7079 + role: context + - path: .temp/identity130-review-v2-20261115/dsm18772.json + sha256: c4dff78887cf1fc393286867e2954d2d39198ff521dec8417984cdecb3359328 + role: context + - path: .temp/identity130-review-v2-20261115/dsm18772.txt + sha256: 99c07d7d2dfeb73ed1fbb69e8213c8034146e51140b2a80f160bd59faead79c8 + role: context + - path: .temp/identity130-review-v2-20261115/dsm19353.html + sha256: d416237bc389c88a12185f6981a97faf10cfb091c579b6fb10f721a24c9e1921 + role: context + - path: .temp/identity130-review-v2-20261115/dsm19353.json + sha256: 99b8f7dde10107d7e6510f2cfb2ded46ca4dfba3e8b6e6230ef7990dc49e8bbf + role: context + - path: .temp/identity130-review-v2-20261115/dsm19353.txt + sha256: 8fa3d180a19442d947a7bbdd86cf1efd78f6ca891fe2acbc42f2c6a9d15c6d82 + role: context + - path: .temp/identity130-review-v2-20261115/jcm14586.html + sha256: 6ee861e0a76f89b937aa79249450267985202f26a326ce629d0119d1b36effaf + role: context + - path: .temp/identity130-review-v2-20261115/jcm14586.json + sha256: 8906c5337592813bbcf2767bc45cfe08f5520a45922e00df0545f84e01071b9c + role: context + - path: .temp/identity130-review-v2-20261115/jcm14586.txt + sha256: 93d5aec6c739d6bd48c4c4aa66416c7dfe4220ff9ca5c572a1010ad02be0440f + role: context + - path: .temp/identity130-review-v2-20261115/kg-microbe-bactotraits.py + sha256: 0d75c432f89f70f90ace3135e7142909721140ba416a638b95e52ac8fcfd7523 + role: context + - path: .temp/identity130-review-v2-20261115/kg-microbe-download.yaml + sha256: 209669d1de7e2dfea17712a755217fd201241d2e32f763366ff0570270610153 + role: context + - path: .temp/identity130-review-v2-20261115/occurrence.json + sha256: 7b537e0809c90529f7663866359bace6b7d9bd5c7547c74cf4faf88268430426 + role: context + - path: .temp/identity130-review-v2-20261115/packet.json + sha256: 8198616d22c932487940fe40a55926a9f8c2c35c9e473a3210a223a435c86703 + role: target + - path: .temp/identity130-review-v2-20261115/prepared-packet.json + sha256: 9a456958680990e4d6742b2bc012579d6e48d5d2adefdfcd24c6f0b6ab56b34b + role: context + - path: .temp/identity130-review-v2-20261115/proofs.json + sha256: 21cebf11f52cf65a37fccb25f62fc457050467ea0f19a83834ea41b4fb08914e + role: context + - path: .temp/identity130-review-v2-20261115/source.json + sha256: 9ff02c936f66ec58ad26b25f6176cf96d1f2f92bb556b6c4e7c971995a42f8e7 + role: context + - path: artifacts/edge-calibration-20261115/cohort.json + sha256: 1dc756b0ba628756baf544cacf36f0a1ab2e4c68eed6724ee281205f22d606ee + role: context + - path: artifacts/edge-calibration-20261115/protocol.json + sha256: d24b9e1e9833d70407bf06a04ae6c0ff92f5564149a3b51e6402e5416e866517 + role: context + - path: docs/record-review-profile.md + sha256: 45e4a564d4926ad491e6a8c2ec4426f8249dfc18318d8c7e2e4d4422dd8143f6 + role: context + - path: reviews/structured/20261116T052355Z-fresh05-abstract-adapter/review.yaml + sha256: b1ca23d2c1d2854f73c85564d2cad27572736465c06ef47345319266664b3427 + role: context + - path: schema/record_review.yaml + sha256: 229baf9b69118a1fe318e4c31085c0820e4e3d1365e7b04d6ace451b7c35f9bb + role: context + - path: scripts/adhoc/capture_strain_authorities_130_20261115.py + sha256: 56b1ef847187e15a80a00e7b197f28435fcb465bdb0c3954cc097ffbe07388f1 + role: context + - path: scripts/adhoc/review_bactotraits_identity_130_20261115.py + sha256: 798dd020dea338e37eccb952c6715b3b2d33e23ce5fbf51b6905d5eef99ac5b9 + role: context + - path: scripts/adhoc/run_abstract_canary_20261115.py + sha256: 467f3dbdc899bbcc23f3097a87f51cd4b1f712abbafefd13ed02591c28d03e68 + role: context + - path: src/edgemech/contract-pins.json + sha256: 788ecc876a432feebeb89627fbe5a40dba1c1001598683c19834e4626667842c + role: context + - path: src/edgemech/literature_cache.py + sha256: 12e3d920e2a9978c25b5d7626aae087ccd089609c367339a240eb8f37b7a3fef + role: context + - path: src/edgemech/occurrence_packet.py + sha256: 7526fcb6f4467a342abc644c8f607b9b8c6fb395eac159c61f4654594cc490d7 + role: context + - path: src/edgemech/occurrence_review.py + sha256: 8821065a01a03752f1952accd0ae7fb53c5d31e85a8f5be621c2d8a7f43d43e3 + role: context +targets: +- target_id: urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + path: .temp/identity130-review-v2-20261115/packet.json + selector: occurrence_id=urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + kind: snapshot_row + record_class: ReleaseOccurrence + label: Fresh-05 source strain identity investigation + ownership_note: Source publisher controls the BactoTraits table; maintained KG-Microbe + download/join paths are identified at ef27b97a0b450767da54235c6105b5250c178adc. + owner_paths: + - repository: Knowledge-Graph-Hub/kg-microbe + path: download.yaml + role: Maintained BactoTraits source download and checksum pin + - repository: Knowledge-Graph-Hub/kg-microbe + path: kg_microbe/transform_utils/bactotraits/bactotraits.py + role: Maintained BacDive-ID to NCBI identity join and BactoTraits transform +scope: + description: One occurrence's source identity investigation after abstract replay. + selection: 'Fresh-05 retained original occurrence and source conflict #130.' + coverage: partial + population_size: 1 + reviewed_target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + exclusions: + - target: Independent ten-case calibration scoring + reason: Self-review with historical labels visible; no new rating. + - target: 'Neighbor-row finding #132' + reason: Contextual follow-up only; not an additional reviewed target. + - target: Other retained occurrences and remaining 9900 + reason: No review expansion or population inference. +checks: +- check_id: private-staging + name: Ignored private staging preflight + status: passed + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + command: git check-ignore --no-index --quiet .temp/identity130-review-v2-20261115/abstract.json + exit_code: 0 + expected_exit_code: 0 + summary: Git ignore check passed; no tracked destination files; fresh private directory + and exclusive 0600 files enforce no overwrite. +- check_id: source-packet + name: Exact retained source and endpoint replay + status: passed + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - packet-source + summary: Fixed input hashes and cohort identity checked; build_packet and validate_packet + replayed the newly persisted occurrence/source bytes. +- check_id: abstract-identity-quotes + name: Primary abstract identity and quotes + status: passed + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - abstract-nonmotility + - abstract-strain + summary: The abstract adapter selected the exact MED/PMID primary result, verified + DOI/title identity, extracted the complete abstract, and verify_quote matched + both literal excerpts with hashes/offsets within one 25-word budget. No full text + was inspected or claimed. +- check_id: pinned-contracts + name: Pinned CLAW contract byte verification + status: passed + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + summary: check_contracts returned successfully before review construction. +- check_id: source-identity-resolution + name: Verified source-row correction + status: unavailable + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + summary: Catalog identities are disambiguated, but no safe field replacement or + implemented source-row quarantine has been independently verified on regenerated + candidate bytes. The original graph claim remains unresolved. +- check_id: versioned-modeling + name: Predicate and both endpoint authorities + status: unavailable + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + summary: Scoped versioned NCBI/METPO/Biolink/RO proofs were not authored in this + canary; all modeling axes remain unresolved and review completion partial. +- check_id: catalog-identity-replay + name: Captured catalog identity provenance + status: passed + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + summary: All four raw HTML/text/receipt hashes and the capture helper hash matched; + the deterministic text derivative and bounded quotes replayed. Culture identities + were independently disambiguated before authoring this review. +- check_id: maintained-owner-snapshots + name: Maintained download and transform snapshots + status: passed + required: true + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + summary: Nonempty download.yaml and BactoTraits transform bytes were read from the + Git object at ef27b97a0b450767da54235c6105b5250c178adc and retained as pinned + inputs. This is owner tracing, not a source patch or regeneration check. +evidence: +- evidence_id: packet-source + kind: record_content + reference: .temp/identity130-review-v2-20261115/packet.json + locator: 'original_assertion; endpoints; source_records: BactoTraits CSV row 8521, + BacDive 17851, LPSN 785725' + accessed_at: '2026-11-16T07:40:49Z' + support: context_only + snapshot_sha256: 8198616d22c932487940fe40a55926a9f8c2c35c9e473a3210a223a435c86703 + summary: Exact retained source/endpoint context includes incompatible collection-code + fields; this is not independent biological proof. +- evidence_id: abstract-nonmotility + kind: primary_source + reference: https://doi.org/10.1099/ijs.0.65010-0 + locator: abstract; PMID 17625207; chars 162:265; text_sha256=28ae92fb2c8f9d7319bd5ea1effc5587e84e9fb4ea78d6aa6e7a0499eb896f89 + accessed_at: '2026-11-16T07:40:49Z' + support: partial + quote: The strain, designated HOact23(T), was a non-motile, rod-shaped (0.44-0.53x0.65-0.79 + microm) bacterium. + snapshot_sha256: 82d96c9481a6d11eefc5976e65b2863e10bed3cedf8b02f9b09cdb92802cf807 + summary: Literal primary abstract excerpt inspected in full abstract context; nominal + DSM 18772 strain match does not settle disputed source accessions or the entire + identifier-bound graph assertion. +- evidence_id: abstract-strain + kind: primary_source + reference: https://doi.org/10.1099/ijs.0.65010-0 + locator: abstract; PMID 17625207; chars 1157:1208; text_sha256=28ae92fb2c8f9d7319bd5ea1effc5587e84e9fb4ea78d6aa6e7a0499eb896f89 + accessed_at: '2026-11-16T07:40:49Z' + support: partial + quote: type strain HOact23(T) (=MBIC08254(T)=DSM 18772(T)) + snapshot_sha256: 82d96c9481a6d11eefc5976e65b2863e10bed3cedf8b02f9b09cdb92802cf807 + summary: Literal primary abstract excerpt inspected in full abstract context; nominal + DSM 18772 strain match does not settle disputed source accessions or the entire + identifier-bound graph assertion. +- evidence_id: catalog-dsm19353 + kind: authority + support: context_only + reference: https://www.dsmz.de/collection/catalogue/details/culture/DSM-19353 + accessed_at: '2026-11-16T07:31:54.779207Z' + quote: '19353, Type strain dsm-19353 dsm19353 dsm 19353 Thioprofundum lithotrophicum + + Strain designation: + + 106 + + Other collection no. + + or WDCM no.: + + JCM 14586' + snapshot_sha256: 8fa3d180a19442d947a7bbdd86cf1efd78f6ca891fe2acbc42f2c6a9d15c6d82 + locator: catalog identity; chars 3153:3297; text_sha256=8fa3d180a19442d947a7bbdd86cf1efd78f6ca891fe2acbc42f2c6a9d15c6d82 + summary: DSM 19353 and JCM 14586 identify Thioprofundum lithotrophicum strain 106, + not the nominal Rubritalea strain. +- evidence_id: catalog-jcm14586 + kind: authority + support: context_only + reference: https://www.jcm.riken.jp/cgi-bin/jcm/jcm_number?JCM=14586 + accessed_at: '2026-11-16T07:32:41.164578Z' + quote: 'BacDive ID: 17847. + + NCBI Taxonomy ID: 571898.' + snapshot_sha256: 93d5aec6c739d6bd48c4c4aa66416c7dfe4220ff9ca5c572a1010ad02be0440f + locator: catalog identity; chars 776:820; text_sha256=93d5aec6c739d6bd48c4c4aa66416c7dfe4220ff9ca5c572a1010ad02be0440f + summary: JCM 14586's complete catalog page corroborates strain 106/DSM 19353 and + binds it to BacDive 17847 and NCBI 571898. It documents the original-paper JCM + 14596 typographical error; that typo is not a new equivalent accession. +- evidence_id: catalog-dsm18772 + kind: authority + support: context_only + reference: https://www.dsmz.de/collection/catalogue/details/culture/DSM-18772 + accessed_at: '2026-11-16T07:32:36.482044Z' + quote: '18772, Type strain dsm-18772 dsm18772 dsm 18772 Rubritalea squalenifaciens + + Strain designation: + + HOact 23 + + Other collection no. + + or WDCM no.: + + MBIC08254,NBRC 103619' + snapshot_sha256: 99c07d7d2dfeb73ed1fbb69e8213c8034146e51140b2a80f160bd59faead79c8 + locator: catalog identity; chars 3083:3242; text_sha256=99c07d7d2dfeb73ed1fbb69e8213c8034146e51140b2a80f160bd59faead79c8 + summary: The nominal Rubritalea squalenifaciens type strain has DSM 18772, HOact + 23, MBIC08254 and NBRC 103619 aliases. +- evidence_id: catalog-bacdive17851 + kind: authority + support: context_only + reference: https://bacdive.dsmz.de/strain/17851 + accessed_at: '2026-11-16T07:33:14.199643Z' + quote: 'BacDive ID + + 17851 + + Type strain + + Strain Designation + + HOact 23 + + Culture col. no. + + DSM 18772 + + MBIC 08254 + + NBRC 103619 + + HOact 23 + + NCBI tax ID(s) + + 1123071 + + 407226' + snapshot_sha256: 29f41098eb41eb4a6ca0d46abe5ecd746e8cc5dbb4edac5cb6b8233bd6cdd7bc + locator: catalog identity; chars 674:819; text_sha256=29f41098eb41eb4a6ca0d46abe5ecd746e8cc5dbb4edac5cb6b8233bd6cdd7bc + summary: Current BacDive 17851 retains the Rubritalea culture aliases. Its inspected + sequence sections distinguish strain/genome 1123071 from species/16S 407226; this + catalog is not independent NCBI ontology adjudication. +assessments: +- assessment_id: claim + area: grounding + topic: 'Source-identity investigation: claim' + outcome: unknown + summary: 'The retained abstract reports nonmotility for the nominal DSM 18772 strain. + The original identifier-bound graph assertion remains not assessable: the source + row mixes identities and formal predicate/node checks remain incomplete.' + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - abstract-nonmotility + - abstract-strain + dimensions: + - name: axis + value: claim + definition: 'Authored bounded source-identity judgment: axis' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: category + value: NOT_ASSESSABLE + definition: 'Authored bounded source-identity judgment: category' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: scope + value: Original fresh-05 occurrence; bounded source-identity investigation + definition: 'Authored bounded source-identity judgment: scope' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: assertion_scope + value: NCBITaxon:1123071 biolink:has_phenotype METPO:1000703, with original DSM + 18772/non motile labels. The accession conflict is not a biological refutation + and is not repaired by replacing the subject. + definition: 'Authored bounded source-identity judgment: assertion_scope' + evidence_ids: + - abstract-nonmotility + - abstract-strain +- assessment_id: literature + area: evidence + topic: 'Source-identity investigation: literature' + outcome: unknown + summary: The same two DOI/PMID-bound abstract quotations partly address nonmotility + for HOact23/DSM 18772. Catalog identity checks add no full-paper assay evidence + and do not establish ownership of every trait in the mixed source row. + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - abstract-nonmotility + - abstract-strain + dimensions: + - name: axis + value: literature + definition: 'Authored bounded source-identity judgment: axis' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: category + value: PARTIAL + definition: 'Authored bounded source-identity judgment: category' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: scope + value: Original fresh-05 occurrence; bounded source-identity investigation + definition: 'Authored bounded source-identity judgment: scope' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: search_scope + value: Retained complete abstract only, DOI 10.1099/ijs.0.65010-0, PMID 17625207; + no new paper search or full-paper inspection. + definition: 'Authored bounded source-identity judgment: search_scope' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: literature_channel + value: europepmc_abstract_retained; separate catalog discovery used 3 CBORG Tavily + calls and 4 anonymous primary-catalog GETs; no TDM. + definition: 'Authored bounded source-identity judgment: literature_channel' + evidence_ids: + - abstract-nonmotility + - abstract-strain + - name: inspected_extent + value: Complete retained abstract and its two unchanged short snippets. + definition: 'Authored bounded source-identity judgment: inspected_extent' + evidence_ids: + - abstract-nonmotility + - abstract-strain +- assessment_id: relation + area: representation + topic: 'Source-identity investigation: relation' + outcome: unknown + summary: Culture accession disambiguation does not validate has_phenotype/RO:0002200. + A scoped versioned predicate authority assessment remains outstanding. + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - packet-source + dimensions: + - name: axis + value: relation + definition: 'Authored bounded source-identity judgment: axis' + evidence_ids: + - packet-source + - name: category + value: UNRESOLVED + definition: 'Authored bounded source-identity judgment: category' + evidence_ids: + - packet-source + - name: scope + value: Original fresh-05 occurrence; bounded source-identity investigation + definition: 'Authored bounded source-identity judgment: scope' + evidence_ids: + - packet-source + - name: direction + value: Original organism-to-phenotype direction preserved. + definition: 'Authored bounded source-identity judgment: direction' + evidence_ids: + - packet-source + - name: domain_range + value: No new versioned domain/range proof authored. + definition: 'Authored bounded source-identity judgment: domain_range' + evidence_ids: + - packet-source + - name: specificity + value: Relation fitness for the original nonmotility statement unresolved. + definition: 'Authored bounded source-identity judgment: specificity' + evidence_ids: + - packet-source + - name: qualifiers + value: Abstract and catalogs do not supply complete assay conditions or warrant + a universal-condition reading. + definition: 'Authored bounded source-identity judgment: qualifiers' + evidence_ids: + - packet-source +- assessment_id: subject-node + area: identity + topic: 'Source-identity investigation: subject node' + outcome: unknown + summary: Current DSMZ/BacDive catalogs verify the nominal DSM 18772/HOact23 culture + link. DSM 19353/JCM 14586 instead identify Thioprofundum strain 106. Formal NCBI/Biolink + identity, rank and category assessment remains unresolved. + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + dimensions: + - name: axis + value: subject_node + definition: 'Authored bounded source-identity judgment: axis' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: category + value: UNRESOLVED + definition: 'Authored bounded source-identity judgment: category' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: scope + value: Original fresh-05 occurrence; bounded source-identity investigation + definition: 'Authored bounded source-identity judgment: scope' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: identity + value: NCBITaxon:1123071 retained. BacDive 17851 distinguishes genome 1123071 + from species/16S 407226. The competing culture pair maps through JCM to BacDive + 17847/NCBI 571898, not an equivalent Rubritalea accession. + definition: 'Authored bounded source-identity judgment: identity' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: label + value: Original Rubritalea squalenifaciens DSM 18772 label preserved. + definition: 'Authored bounded source-identity judgment: label' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: category_fit + value: biolink:OrganismTaxon retained; catalog agreement is not formal Biolink + category validation. + definition: 'Authored bounded source-identity judgment: category_fit' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: rank_or_type + value: Catalogs distinguish type-strain aliases and species/genome identifiers; + independent NCBI rank/status verification remains incomplete. + definition: 'Authored bounded source-identity judgment: rank_or_type' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: definition + value: No complete versioned node-definition proof authored. + definition: 'Authored bounded source-identity judgment: definition' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: authority_version + value: Four independently captured catalog snapshots are bound by capture timestamps, + raw/text hashes and receipts; the unresolved source join prevents treating them + as complete original-assertion validation. + definition: 'Authored bounded source-identity judgment: authority_version' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 +- assessment_id: object-node + area: representation + topic: 'Source-identity investigation: object node' + outcome: unknown + summary: Nonmotility is reported for the nominal isolate, but this identity review + does not adjudicate METPO:1000703 definition or graph category fitness. + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - packet-source + dimensions: + - name: axis + value: object_node + definition: 'Authored bounded source-identity judgment: axis' + evidence_ids: + - packet-source + - name: category + value: UNRESOLVED + definition: 'Authored bounded source-identity judgment: category' + evidence_ids: + - packet-source + - name: scope + value: Original fresh-05 occurrence; bounded source-identity investigation + definition: 'Authored bounded source-identity judgment: scope' + evidence_ids: + - packet-source + - name: identity + value: Original METPO:1000703 retained; no replacement proposed. + definition: 'Authored bounded source-identity judgment: identity' + evidence_ids: + - packet-source + - name: label + value: Original non motile label retained. + definition: 'Authored bounded source-identity judgment: label' + evidence_ids: + - packet-source + - name: category_fit + value: biolink:PhenotypicQuality requires a scoped authority check. + definition: 'Authored bounded source-identity judgment: category_fit' + evidence_ids: + - packet-source + - name: rank_or_type + value: Nominal phenotype class; formal typing remains unresolved. + definition: 'Authored bounded source-identity judgment: rank_or_type' + evidence_ids: + - packet-source + - name: definition + value: No new versioned METPO definition proof authored. + definition: 'Authored bounded source-identity judgment: definition' + evidence_ids: + - packet-source + - name: authority_version + value: Preparation authorities are not substituted for new inspected and scoped + modeling evidence. + definition: 'Authored bounded source-identity judgment: authority_version' + evidence_ids: + - packet-source +- assessment_id: source-fidelity + area: provenance + topic: 'Source-identity investigation: source fidelity' + outcome: unknown + summary: The incompatible culture links are now independently confirmed. The row's + BacDive ID/name and collection codes refer to different taxa; the maintained transform + selects NCBI by BacDive ID. A safe field replacement and verified row correction + have not been established. + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + dimensions: + - name: axis + value: source_fidelity + definition: 'Authored bounded source-identity judgment: axis' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: category + value: NOT_ASSESSABLE + definition: 'Authored bounded source-identity judgment: category' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: scope + value: Original fresh-05 occurrence; bounded source-identity investigation + definition: 'Authored bounded source-identity judgment: scope' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - name: source_binding + value: Original BactoTraits row 8521 and all retained source records remain unchanged. + Maintained owner snapshots at ef27b97a0b450767da54235c6105b5250c178adc identify + the download pin and BacDive-to-NCBI join. Quarantine is a proposed action, + not an implemented or independently verified graph fix. + definition: 'Authored bounded source-identity judgment: source_binding' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 +findings: +- finding_id: source-accession-conflict + issue_key: bactotraits-row8521-conflicting-strain-accessions + category: identity + severity: major + status: open + certainty: confirmed + title: Source row carries conflicting strain accessions + description: BactoTraits row 8521 names Rubritalea squalenifaciens/BacDive 17851 + but lists DSM 19353/JCM 14586. Captured DSMZ/JCM authorities place that collection + pair in Thioprofundum lithotrophicum strain 106/BacDive 17847/NCBI 571898. DSMZ + and current BacDive 17851 instead bind the nominal Rubritalea to DSM 18772/HOact23/MBIC08254/NBRC103619. + The incompatible identity fields are confirmed; the intended ownership of all + source traits and a safe replacement remain unresolved. + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + field_paths: + - 'source_records[0].text: culture collection codes' + - 'source_records[0].text: Bacdive_ID' + evidence_ids: + - packet-source + - catalog-dsm19353 + - catalog-jcm14586 + - catalog-dsm18772 + - catalog-bacdive17851 + - abstract-nonmotility + - abstract-strain + ownership_note: Source publisher owns table correction; KG-Microbe owns download/join + and any reviewed row-quarantine policy at the listed maintained paths. + external_issues: + - https://github.com/CultureBotAI/EdgeMech/issues/130 + owner_paths: + - repository: Knowledge-Graph-Hub/kg-microbe + path: download.yaml + role: Maintained BactoTraits source download and checksum pin + - repository: Knowledge-Graph-Hub/kg-microbe + path: kg_microbe/transform_utils/bactotraits/bactotraits.py + role: Maintained BacDive-ID to NCBI identity join and BactoTraits transform + previous_occurrences: + - repository: CultureBotAI/EdgeMech + review_id: 20261116T052355Z-fresh05-abstract-adapter + finding_id: source-accession-conflict +actions: +- action_id: quarantine-and-verify-source-identity + finding_ids: + - source-accession-conflict + target_ids: + - urn:kg-microbe:occurrence:v1:1e9dec218a07f7e480add8ff273e3a9285f79d57746ca74041702839207a8136 + description: Propose a complete-reviewed-row-hash-bound quarantine at the maintained + BactoTraits transform; do not silently substitute accession or taxon fields. Establish + the intended source identity with the table owner, preserve the before/after proposal + and independently verify regenerated candidate occurrences before claiming correction. + ownership_note: The maintained owner paths are known; no correction or quarantine + is claimed merged by this investigation. + acceptance_checks: + - Retain original row hash, occurrence and all conflicting fields. + - Quarantine acceptance is keyed by the complete reviewed row hash and exact row + identity; retain whole-source-file hash as receipt provenance, not as a requirement + to reject an otherwise unchanged reviewed row. + - Do not replace graph subject 1123071 with 571898 from accessions alone. + - Add a regression against mixed-strain joins without altering unrelated rows. + - Independently verify candidate regeneration and affected occurrences. + owner_paths: + - repository: Knowledge-Graph-Hub/kg-microbe + path: download.yaml + role: Maintained BactoTraits source download and checksum pin + - repository: Knowledge-Graph-Hub/kg-microbe + path: kg_microbe/transform_utils/bactotraits/bactotraits.py + role: Maintained BacDive-ID to NCBI identity join and BactoTraits transform +limitations: +- Partial self-review; not an independent calibration rating, agreement result or + gold label. +- Complete catalog pages and the retained abstract were inspected; no full scientific + paper. +- Four catalog snapshots resolve competing aliases, not all original statement/model + semantics. +- The confirmed source conflict does not establish biological refutation or a safe + field repair. +- 'Neighbor investigation #132 is context only and contributes no new reviewed occurrence + here.' +- Investigation used 3 successful CBORG Tavily calls and 4 anonymous catalog GETs; + no Valency, publisher TDM or licensed-library full text. This replay launcher makes + zero requests. +- Original source bytes/reviews remain intact; no source patch, native capability + or graph admission. +- Private catalog/source bodies remain ignored; canonical review contains bounded + snippets and hashes. +links: +- https://github.com/CultureBotAI/EdgeMech/issues/130 +- https://github.com/CultureBotAI/EdgeMech/issues/132 +- https://doi.org/10.1099/ijs.0.65010-0 +- https://github.com/Knowledge-Graph-Hub/kg-microbe/blob/ef27b97a0b450767da54235c6105b5250c178adc/download.yaml +- https://github.com/Knowledge-Graph-Hub/kg-microbe/blob/ef27b97a0b450767da54235c6105b5250c178adc/kg_microbe/transform_utils/bactotraits/bactotraits.py +tags: +- source-identity-investigation +- partial-review +- excluded-from-calibration-scoring diff --git a/scripts/adhoc/capture_strain_authorities_130_20261115.py b/scripts/adhoc/capture_strain_authorities_130_20261115.py new file mode 100644 index 0000000..4241101 --- /dev/null +++ b/scripts/adhoc/capture_strain_authorities_130_20261115.py @@ -0,0 +1,130 @@ +#!/usr/bin/env python3 +"""2026-11-15: capture one public strain authority for EdgeMech issue #130. + +Inputs: one allowlisted public catalog URL selected by name; no credentials. +Outputs: exclusive private raw HTML, derivative text and hash/provenance receipt. +Run one authority end to end and inspect its artifacts before further captures. +Raw catalog bodies must remain gitignored. This does not adjudicate graph claims. +""" + +from __future__ import annotations + +import argparse +import hashlib +import json +import os +import stat +import subprocess +import urllib.request +from datetime import datetime, timezone +from html.parser import HTMLParser +from pathlib import Path + +ROOT = Path(__file__).resolve().parents[2] +URLS = { + "dsm19353": "https://www.dsmz.de/collection/catalogue/details/culture/DSM-19353", + "jcm14586": "https://www.jcm.riken.jp/cgi-bin/jcm/jcm_number?JCM=14586", + "dsm18772": "https://www.dsmz.de/collection/catalogue/details/culture/DSM-18772", + "bacdive17851": "https://bacdive.dsmz.de/strain/17851", +} +LIMIT = 4 * 1024 * 1024 + + +class Text(HTMLParser): + """Deterministic catalog text derivative, retaining content order.""" + + def __init__(self): + super().__init__(convert_charrefs=True) + self.parts = [] + self.skip = 0 + + def handle_starttag(self, tag, attrs): + if tag in {"script", "style"}: + self.skip += 1 + if tag in {"p", "div", "br", "tr", "td", "li", "h1", "h2", "h3"}: + self.parts.append("\n") + + def handle_endtag(self, tag): + if tag in {"script", "style"}: + self.skip = max(0, self.skip - 1) + if tag in {"p", "div", "tr", "td", "li", "h1", "h2", "h3"}: + self.parts.append("\n") + + def handle_data(self, data): + if not self.skip: + self.parts.append(data) + + +def sha(raw): + return hashlib.sha256(raw).hexdigest() + + +def write_new(path, raw): + descriptor = os.open(path, os.O_WRONLY | os.O_CREAT | os.O_EXCL | os.O_NOFOLLOW, 0o600) + with os.fdopen(descriptor, "wb") as stream: + stream.write(raw) + stream.flush() + os.fsync(stream.fileno()) + if path.read_bytes() != raw: + raise ValueError("Persisted artifact differs") + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("name", choices=URLS) + parser.add_argument("--plan", action="store_true") + args = parser.parse_args() + destination = ROOT / ".temp" / "identity130" / "authorities" + for parent in (ROOT / ".temp", destination.parent, destination): + if parent.is_symlink() or not parent.is_dir(): + raise ValueError("Prepare real private staging directories first") + if stat.S_IMODE(parent.stat().st_mode) != 0o700: + raise ValueError("Staging directories must be mode 0700") + relative = destination.relative_to(ROOT) / (args.name + ".html") + subprocess.run(["git", "check-ignore", "--no-index", "--quiet", str(relative)], + cwd=ROOT, check=True) + paths = {kind: destination / (args.name + suffix) for kind, suffix in + (("raw", ".html"), ("text", ".txt"), ("receipt", ".json"))} + if any(path.exists() or path.is_symlink() for path in paths.values()): + raise ValueError("Authority artifacts already exist; preserve prior capture") + if args.plan: + print(json.dumps({"url": URLS[args.name], "writes": 0, "provider_calls": 0, + "destination": str(destination.relative_to(ROOT))})) + return 0 + fetched_at = datetime.now(timezone.utc).isoformat() + request = urllib.request.Request(URLS[args.name], headers={"User-Agent": "EdgeMech/0.1"}) + with urllib.request.urlopen(request, timeout=60) as response: + raw = response.read(LIMIT + 1) + content_type = response.headers.get("Content-Type", "") + charset = response.headers.get_content_charset() or "utf-8" + status, final_url = response.status, response.url + if status != 200 or not raw or len(raw) > LIMIT or "html" not in content_type.lower(): + raise ValueError("Expected one nonempty bounded HTML authority response") + extractor = Text() + extractor.feed(raw.decode(charset, errors="strict")) + text = "\n".join(" ".join(line.split()) for line in "".join(extractor.parts).splitlines() + if line.strip()) + "\n" + text_raw = text.encode("utf-8") + if not text.strip(): + raise ValueError("Authority response has no readable text") + receipt = {"name": args.name, "requested_url": URLS[args.name], "final_url": final_url, + "fetched_at": fetched_at, "status": status, "content_type": content_type, + "charset": charset, "raw_bytes": len(raw), "raw_sha256": sha(raw), + "text_bytes": len(text_raw), "text_sha256": sha(text_raw), + "extractor": "catalog-html-text/v1", "authenticated": False, + "channel": "anonymous_primary_catalog", "http_calls": 1, + "scope": "One public catalog page; identity still requires authored assessment", + "raw_path": str(paths["raw"].relative_to(ROOT)), + "text_path": str(paths["text"].relative_to(ROOT)), + "script_sha256": sha(Path(__file__).read_bytes())} + write_new(paths["raw"], raw) + write_new(paths["text"], text_raw) + write_new(paths["receipt"], (json.dumps(receipt, indent=2) + "\n").encode()) + if json.loads(paths["receipt"].read_text()) != receipt: + raise ValueError("Persisted receipt differs") + print(json.dumps(receipt, sort_keys=True)) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/adhoc/inspect_bactotraits_owner_130_20261115.sql b/scripts/adhoc/inspect_bactotraits_owner_130_20261115.sql new file mode 100644 index 0000000..1f4d98a --- /dev/null +++ b/scripts/adhoc/inspect_bactotraits_owner_130_20261115.sql @@ -0,0 +1,24 @@ +-- 2026-11-15: read-only BactoTraits identity-owner trace for EdgeMech issue #130. +-- Input: unchanged KG-Microbe Jun-2022 raw CSV, converted losslessly from +-- ISO-8859-1 to UTF-8 because the installed DuckDB CLI has no encoding option. +-- Conversion command from EdgeMech worktree: +-- iconv -f ISO-8859-1 -t UTF-8 /Users/marcin/Documents/VIMSS/ontology/KG-Hub/KG-Microbe/kg-microbe/data/raw/BactoTraits_databaseV2_Jun2022.csv > .temp/identity130/owner-trace/BactoTraits_databaseV2_Jun2022.utf8.csv +-- Expected raw SHA256: 18316d7a0b6c2bef6fcb96a7659c2e3f3734c14786f383c2a93fefe2ae226a4b. +-- Output: bounded identity fields for source data row 8521, its four neighbors +-- on either side, and either implicated BacDive identifier. No graph mutation. +-- Run from the EdgeMech worktree with duckdb -json -init /dev/null < this file; +-- retain stdout only under ignored .temp/identity130/owner-trace/. + +WITH source_rows AS ( + SELECT row_number() OVER () AS source_data_row, * + FROM read_csv( + '.temp/identity130/owner-trace/BactoTraits_databaseV2_Jun2022.utf8.csv', + delim = ';', skip = 2, header = true, all_varchar = true + ) +) +SELECT source_data_row, "Bacdive_ID", "culture collection codes", + "Genus", "Species", "Full_name", "non-motile", "motile" +FROM source_rows +WHERE source_data_row BETWEEN 8517 AND 8525 + OR "Bacdive_ID" IN ('17847', '17851') +ORDER BY source_data_row; diff --git a/scripts/adhoc/review_bactotraits_identity_130_20261115.py b/scripts/adhoc/review_bactotraits_identity_130_20261115.py new file mode 100644 index 0000000..a74e0a4 --- /dev/null +++ b/scripts/adhoc/review_bactotraits_identity_130_20261115.py @@ -0,0 +1,436 @@ +#!/usr/bin/env python3 +"""2026-11-15: author one source-identity investigation review for EdgeMech #130. + +Inputs: unchanged fresh-05 source/occurrence/abstract, four captured catalogs, +their receipts and extractor, and two maintained KG-Microbe owner-file snapshots. +Outputs: fresh private proof stage and a new canonical partial structured review. +This is a self-review, excluded from independent calibration. No network calls, +source corrections, graph admissions, or changes to historical reviews occur. +""" + +from __future__ import annotations + +import argparse +import json +import re +import subprocess +from datetime import datetime, timezone +from pathlib import Path + +import capture_strain_authorities_130_20261115 as capture +import run_abstract_canary_20261115 as base + +ROOT = base.ROOT +AUTHORITY_DIRECTORY = ROOT / ".temp/identity130/authorities" +CAPTURE_SCRIPT = "scripts/adhoc/capture_strain_authorities_130_20261115.py" +CAPTURE_SHA = "56b1ef847187e15a80a00e7b197f28435fcb465bdb0c3954cc097ffbe07388f1" +THIS_SCRIPT = "scripts/adhoc/review_bactotraits_identity_130_20261115.py" +PREVIOUS_ID = "20261116T052355Z-fresh05-abstract-adapter" +PREVIOUS_PATH = "reviews/structured/" + PREVIOUS_ID + "/review.yaml" +PREVIOUS_SHA = "b1ca23d2c1d2854f73c85564d2cad27572736465c06ef47345319266664b3427" +KGM = Path("/Users/marcin/Documents/VIMSS/ontology/KG-Hub/KG-Microbe/kg-microbe") +KGM_COMMIT = "ef27b97a0b450767da54235c6105b5250c178adc" +OWNER_PATHS = [ + {"repository": "Knowledge-Graph-Hub/kg-microbe", "path": "download.yaml", + "role": "Maintained BactoTraits source download and checksum pin"}, + {"repository": "Knowledge-Graph-Hub/kg-microbe", + "path": "kg_microbe/transform_utils/bactotraits/bactotraits.py", + "role": "Maintained BacDive-ID to NCBI identity join and BactoTraits transform"}, +] +AUTHORITY_PINS = { + "dsm19353": { + "raw": "d416237bc389c88a12185f6981a97faf10cfb091c579b6fb10f721a24c9e1921", + "text": "8fa3d180a19442d947a7bbdd86cf1efd78f6ca891fe2acbc42f2c6a9d15c6d82", + "receipt": "99b8f7dde10107d7e6510f2cfb2ded46ca4dfba3e8b6e6230ef7990dc49e8bbf", + "quote": "19353, Type strain dsm-19353 dsm19353 dsm 19353 Thioprofundum lithotrophicum\n" + "Strain designation:\n106\nOther collection no.\nor WDCM no.:\nJCM 14586", + "summary": "DSM 19353 and JCM 14586 identify Thioprofundum lithotrophicum strain 106, " + "not the nominal Rubritalea strain."}, + "jcm14586": { + "raw": "6ee861e0a76f89b937aa79249450267985202f26a326ce629d0119d1b36effaf", + "text": "93d5aec6c739d6bd48c4c4aa66416c7dfe4220ff9ca5c572a1010ad02be0440f", + "receipt": "8906c5337592813bbcf2767bc45cfe08f5520a45922e00df0545f84e01071b9c", + "quote": "BacDive ID: 17847.\nNCBI Taxonomy ID: 571898.", + "summary": "JCM 14586's complete catalog page corroborates strain 106/DSM 19353 and " + "binds it to BacDive 17847 and NCBI 571898. It documents the original-paper " + "JCM 14596 typographical error; that typo is not a new equivalent accession."}, + "dsm18772": { + "raw": "e6ce0ea2affb04b490b537478a4b804371e187e3eb44f29cff2a99e0875b7079", + "text": "99c07d7d2dfeb73ed1fbb69e8213c8034146e51140b2a80f160bd59faead79c8", + "receipt": "c4dff78887cf1fc393286867e2954d2d39198ff521dec8417984cdecb3359328", + "quote": "18772, Type strain dsm-18772 dsm18772 dsm 18772 Rubritalea squalenifaciens\n" + "Strain designation:\nHOact 23\nOther collection no.\nor WDCM no.:\n" + "MBIC08254,NBRC 103619", + "summary": "The nominal Rubritalea squalenifaciens type strain has DSM 18772, " + "HOact 23, MBIC08254 and NBRC 103619 aliases."}, + "bacdive17851": { + "raw": "1a6b1f17cea659277484d7461db6ad3f50e6e32a85c6bf5abdc472e8a489b592", + "text": "29f41098eb41eb4a6ca0d46abe5ecd746e8cc5dbb4edac5cb6b8233bd6cdd7bc", + "receipt": "6a0e0f46648056fa529748d5010db3df04600a40fb86ab1da2edeba85ac26ea9", + "quote": "BacDive ID\n17851\nType strain\nStrain Designation\nHOact 23\nCulture col. no.\n" + "DSM 18772\nMBIC 08254\nNBRC 103619\nHOact 23\nNCBI tax ID(s)\n1123071\n407226", + "summary": "Current BacDive 17851 retains the Rubritalea culture aliases. Its inspected " + "sequence sections distinguish strain/genome 1123071 from species/16S 407226; " + "this catalog is not independent NCBI ontology adjudication."}, +} +SERVICE_PINS = { + "cborg-service-provenance.json": + "f9e7ce85c9c9a2738d14384f46251797ad5d213f1efb1d7b8a2ce95d76b289d0", + "cborg-tavily-dsm18772.json": + "49096c6b7b7607d1071415bac9e70ab298326c9628d45f7b2aa36351e1611481", +} +AUTHORITY_IDS = ["catalog-" + name for name in AUTHORITY_PINS] +SOURCE_IDS = ["packet-source", *AUTHORITY_IDS] + + +def canonical_utc_timestamp(value): + """Convert an aware capture instant to CLAW's UTC-Z form without changing it (#133).""" + if not isinstance(value, str) or re.search(r"[.,]\d{7,}", value): + raise ValueError("Capture timestamp must be an ISO instant with at most microsecond precision") + instant = datetime.fromisoformat(value) + if instant.tzinfo is None or instant.utcoffset() is None: + raise ValueError("Capture timestamp requires an explicit timezone offset") + utc = instant.astimezone(timezone.utc) + precision = "microseconds" if utc.microsecond else "seconds" + return utc.isoformat(timespec=precision).removesuffix("+00:00") + "Z" + + +def load_authorities(): + base.checked_input(ROOT / CAPTURE_SCRIPT, CAPTURE_SHA) + base.checked_input(ROOT / PREVIOUS_PATH, PREVIOUS_SHA) + records = {} + for name, expected in AUTHORITY_PINS.items(): + raws = {kind: base.checked_input(AUTHORITY_DIRECTORY / (name + suffix), expected[kind]) + for kind, suffix in (("raw", ".html"), ("text", ".txt"), ("receipt", ".json"))} + receipt = json.loads(raws["receipt"]) + base.require(receipt["name"] == name and receipt["requested_url"] == capture.URLS[name] + == receipt["final_url"] and receipt["status"] == 200, + "Authority receipt identity or response status differs") + base.require(receipt["script_sha256"] == CAPTURE_SHA + and receipt["extractor"] == "catalog-html-text/v1" + and receipt["authenticated"] is False + and receipt["channel"] == "anonymous_primary_catalog" + and receipt["http_calls"] == 1, "Authority capture provenance differs") + for kind in ("raw", "text"): + suffix = ".html" if kind == "raw" else ".txt" + base.require(receipt[kind + "_sha256"] == expected[kind] + and receipt[kind + "_bytes"] == len(raws[kind]) + and receipt[kind + "_path"] == str( + (AUTHORITY_DIRECTORY / (name + suffix)).relative_to(ROOT)), + "Authority receipt content binding differs") + extractor = capture.Text() + extractor.feed(raws["raw"].decode(receipt["charset"], errors="strict")) + text = "\n".join(" ".join(line.split()) for line in "".join(extractor.parts).splitlines() + if line.strip()) + "\n" + base.require(text.encode() == raws["text"], "Authority text derivative does not replay") + document = base.LiteratureCache._document({"response_sha256": expected["text"]}, + "authority_text", text) + span = base.verify_quote(document, expected["quote"]) + base.require(len(expected["quote"].split()) <= 25, "Authority quote exceeds source budget") + records[name] = {"raws": raws, "receipt": receipt, "span": span} + service_raws = {name: base.checked_input(AUTHORITY_DIRECTORY / name, sha) + for name, sha in SERVICE_PINS.items()} + service = json.loads(service_raws["cborg-service-provenance.json"]) + base.require(len(service["tool_calls"]) == 3 + and all(call["auth_mode"] == "keyed" for call in service["tool_calls"]) + and service["publisher_tdm_calls"] == service["valency_calls"] == 0, + "Recorded service usage differs") + owners = {} + for owner in OWNER_PATHS: + owners[owner["path"]] = subprocess.check_output( + ["git", "-C", str(KGM), "show", KGM_COMMIT + ":" + owner["path"]]) + base.require(all(owners.values()), "Maintained owner snapshot is empty") + return records, service_raws, owners + + +def assessment(axis, area, summary, details): + ids = (base.PAPER_IDS if axis in {"claim", "literature"} + else SOURCE_IDS if axis in {"subject_node", "source_fidelity"} + else ["packet-source"]) + dimensions = {"axis": axis, "category": base.AXES[axis], + "scope": "Original fresh-05 occurrence; bounded source-identity investigation", + **details} + return {"assessment_id": axis.replace("_", "-"), "area": area, + "topic": "Source-identity investigation: " + axis.replace("_", " "), + "outcome": base.CATEGORIES[axis][base.AXES[axis]], "summary": summary, + "target_ids": [base.OCCURRENCE], "evidence_ids": ids, + "dimensions": [{"name": name, "value": value, + "definition": "Authored bounded source-identity judgment: " + name, + "evidence_ids": ids} for name, value in dimensions.items()]} + + +def authored_assessments(): + return [ + assessment("claim", "grounding", + "The retained abstract reports nonmotility for the nominal DSM 18772 strain. " + "The original identifier-bound graph assertion remains not assessable: " + "the source row mixes identities and formal predicate/node checks remain incomplete.", + {"assertion_scope": "NCBITaxon:1123071 biolink:has_phenotype METPO:1000703, " + "with original DSM 18772/non motile labels. The accession conflict is not " + "a biological refutation and is not repaired by replacing the subject."}), + assessment("literature", "evidence", + "The same two DOI/PMID-bound abstract quotations partly address nonmotility " + "for HOact23/DSM 18772. Catalog identity checks add no full-paper assay evidence " + "and do not establish ownership of every trait in the mixed source row.", + {"search_scope": "Retained complete abstract only, DOI " + base.DOI + + ", PMID " + base.PMID + "; no new paper search or full-paper inspection.", + "literature_channel": "europepmc_abstract_retained; separate catalog discovery " + "used 3 CBORG Tavily calls and 4 anonymous primary-catalog GETs; no TDM.", + "inspected_extent": "Complete retained abstract and its two unchanged short snippets."}), + assessment("relation", "representation", + "Culture accession disambiguation does not validate has_phenotype/RO:0002200. " + "A scoped versioned predicate authority assessment remains outstanding.", + {"direction": "Original organism-to-phenotype direction preserved.", + "domain_range": "No new versioned domain/range proof authored.", + "specificity": "Relation fitness for the original nonmotility statement unresolved.", + "qualifiers": "Abstract and catalogs do not supply complete assay conditions " + "or warrant a universal-condition reading."}), + assessment("subject_node", "identity", + "Current DSMZ/BacDive catalogs verify the nominal DSM 18772/HOact23 culture " + "link. DSM 19353/JCM 14586 instead identify Thioprofundum strain 106. Formal " + "NCBI/Biolink identity, rank and category assessment remains unresolved.", + {"identity": "NCBITaxon:1123071 retained. BacDive 17851 distinguishes genome " + "1123071 from species/16S 407226. The competing culture pair maps through " + "JCM to BacDive 17847/NCBI 571898, not an equivalent Rubritalea accession.", + "label": "Original Rubritalea squalenifaciens DSM 18772 label preserved.", + "category_fit": "biolink:OrganismTaxon retained; catalog agreement is not " + "formal Biolink category validation.", + "rank_or_type": "Catalogs distinguish type-strain aliases and species/genome " + "identifiers; independent NCBI rank/status verification remains incomplete.", + "definition": "No complete versioned node-definition proof authored.", + "authority_version": "Four independently captured catalog snapshots are bound " + "by capture timestamps, raw/text hashes and receipts; the unresolved source " + "join prevents treating them as complete original-assertion validation."}), + assessment("object_node", "representation", + "Nonmotility is reported for the nominal isolate, but this identity review " + "does not adjudicate METPO:1000703 definition or graph category fitness.", + {"identity": "Original METPO:1000703 retained; no replacement proposed.", + "label": "Original non motile label retained.", + "category_fit": "biolink:PhenotypicQuality requires a scoped authority check.", + "rank_or_type": "Nominal phenotype class; formal typing remains unresolved.", + "definition": "No new versioned METPO definition proof authored.", + "authority_version": "Preparation authorities are not substituted for new " + "inspected and scoped modeling evidence."}), + assessment("source_fidelity", "provenance", + "The incompatible culture links are now independently confirmed. The row's " + "BacDive ID/name and collection codes refer to different taxa; the maintained " + "transform selects NCBI by BacDive ID. A safe field replacement and verified " + "row correction have not been established.", + {"source_binding": "Original BactoTraits row 8521 and all retained source " + "records remain unchanged. Maintained owner snapshots at " + KGM_COMMIT + + " identify the download pin and BacDive-to-NCBI join. Quarantine is a " + "proposed action, not an implemented or independently verified graph fix."}), + ] + + +def make_review(packet_pin, proofs_pin, copied_pins, paper_spans, records, + started, finished, ignored_check): + review = base.review_document(packet_pin, proofs_pin, copied_pins, paper_spans, + started, finished, ignored_check) + review.update( + review_id=finished.replace("-", "").replace(":", "") + "-fresh05-source-identity", + title="Fresh-05 source identity investigation confirms incompatible culture accessions", + summary="Primary catalog snapshots confirm that DSM 19353/JCM 14586 and DSM 18772 " + "belong to distinct taxa. No safe source-field replacement, independently verified " + "correction or resolved graph claim follows. Six newly authored categorical assessments " + "remain conservative; the review is partial and excluded from independent calibration.", + assessments=authored_assessments(), + scope={"description": "One occurrence's source identity investigation after abstract replay.", + "selection": "Fresh-05 retained original occurrence and source conflict #130.", + "coverage": "partial", "population_size": 1, + "reviewed_target_ids": [base.OCCURRENCE], + "exclusions": [{"target": "Independent ten-case calibration scoring", + "reason": "Self-review with historical labels visible; no new rating."}, + {"target": "Neighbor-row finding #132", + "reason": "Contextual follow-up only; not an additional reviewed target."}, + {"target": "Other retained occurrences and remaining 9900", + "reason": "No review expansion or population inference."}]}, + tags=["source-identity-investigation", "partial-review", "excluded-from-calibration-scoring"]) + review["reviewer"]["independence_basis"] = ( + "New authored source-identity judgments using retained source/abstract and current catalogs. " + "Historical reviews and labels were visible; excluded from independent calibration matrices.") + target = review["targets"][0] + target.update(label="Fresh-05 source strain identity investigation", owner_paths=OWNER_PATHS, + ownership_note="Source publisher controls the BactoTraits table; maintained " + "KG-Microbe download/join paths are identified at " + KGM_COMMIT + ".") + inputs = [item["path"] for item in review["source"]["inputs"]] + review["source"] = base.inspect_source( + ROOT, [target], [*inputs, CAPTURE_SCRIPT, THIS_SCRIPT, PREVIOUS_PATH])["source"] + for name, record in records.items(): + expected, span = AUTHORITY_PINS[name], record["span"] + text_pin = next(pin for pin in copied_pins if pin["path"].endswith("/" + name + ".txt")) + review["evidence"].append({ + "evidence_id": "catalog-" + name, "kind": "authority", "support": "context_only", + "reference": capture.URLS[name], + "accessed_at": canonical_utc_timestamp(record["receipt"]["fetched_at"]), + "quote": expected["quote"], "snapshot_sha256": text_pin["sha256"], + "locator": f"catalog identity; chars {span['start']}:{span['end']}; " + f"text_sha256={span['text_sha256']}", "summary": expected["summary"]}) + review["checks"].append({ + "check_id": "catalog-identity-replay", "name": "Captured catalog identity provenance", + "status": "passed", "required": True, "target_ids": [base.OCCURRENCE], + "evidence_ids": AUTHORITY_IDS, + "summary": "All four raw HTML/text/receipt hashes and the capture helper hash matched; " + "the deterministic text derivative and bounded quotes replayed. Culture identities " + "were independently disambiguated before authoring this review."}) + review["checks"].append({ + "check_id": "maintained-owner-snapshots", "name": "Maintained download and transform snapshots", + "status": "passed", "required": True, "target_ids": [base.OCCURRENCE], + "summary": "Nonempty download.yaml and BactoTraits transform bytes were read from the " + "Git object at " + KGM_COMMIT + " and retained as pinned inputs. This is owner tracing, " + "not a source patch or regeneration check."}) + check = next(check for check in review["checks"] if check["check_id"] == "source-identity-resolution") + check.update(name="Verified source-row correction", evidence_ids=SOURCE_IDS, + summary="Catalog identities are disambiguated, but no safe field replacement " + "or implemented source-row quarantine has been independently verified on " + "regenerated candidate bytes. The original graph claim remains unresolved.") + finding = review["findings"][0] + finding.update( + description="BactoTraits row 8521 names Rubritalea squalenifaciens/BacDive 17851 but " + "lists DSM 19353/JCM 14586. Captured DSMZ/JCM authorities place that collection pair " + "in Thioprofundum lithotrophicum strain 106/BacDive 17847/NCBI 571898. DSMZ and current " + "BacDive 17851 instead bind the nominal Rubritalea to DSM 18772/HOact23/MBIC08254/" + "NBRC103619. The incompatible identity fields are confirmed; the intended ownership " + "of all source traits and a safe replacement remain unresolved.", + evidence_ids=[*SOURCE_IDS, *base.PAPER_IDS], owner_paths=OWNER_PATHS, + ownership_note="Source publisher owns table correction; KG-Microbe owns download/join " + "and any reviewed row-quarantine policy at the listed maintained paths.", + previous_occurrences=[{"repository": "CultureBotAI/EdgeMech", "review_id": PREVIOUS_ID, + "finding_id": "source-accession-conflict"}]) + action = review["actions"][0] + action.update( + action_id="quarantine-and-verify-source-identity", + description="Propose a complete-reviewed-row-hash-bound quarantine at the maintained " + "BactoTraits transform; do not silently substitute accession or taxon fields. Establish " + "the intended source identity with the table owner, preserve the before/after proposal " + "and independently verify regenerated candidate occurrences before claiming correction.", + owner_paths=OWNER_PATHS, + ownership_note="The maintained owner paths are known; no correction or quarantine is " + "claimed merged by this investigation.", + acceptance_checks=["Retain original row hash, occurrence and all conflicting fields.", + "Quarantine acceptance is keyed by the complete reviewed row hash and " + "exact row identity; retain whole-source-file hash as receipt provenance, " + "not as a requirement to reject an otherwise unchanged reviewed row.", + "Do not replace graph subject 1123071 with 571898 from accessions alone.", + "Add a regression against mixed-strain joins without altering unrelated rows.", + "Independently verify candidate regeneration and affected occurrences."]) + review["limitations"] = [ + "Partial self-review; not an independent calibration rating, agreement result or gold label.", + "Complete catalog pages and the retained abstract were inspected; no full scientific paper.", + "Four catalog snapshots resolve competing aliases, not all original statement/model semantics.", + "The confirmed source conflict does not establish biological refutation or a safe field repair.", + "Neighbor investigation #132 is context only and contributes no new reviewed occurrence here.", + "Investigation used 3 successful CBORG Tavily calls and 4 anonymous catalog GETs; no " + "Valency, publisher TDM or licensed-library full text. This replay launcher makes zero requests.", + "Original source bytes/reviews remain intact; no source patch, native capability or graph admission.", + "Private catalog/source bodies remain ignored; canonical review contains bounded snippets and hashes."] + review["links"] = [base.SOURCE_CONFLICT_ISSUE, + "https://github.com/CultureBotAI/EdgeMech/issues/132", + "https://doi.org/" + base.DOI, + *["https://github.com/Knowledge-Graph-Hub/kg-microbe/blob/" + KGM_COMMIT + + "/" + owner["path"] for owner in OWNER_PATHS]] + return review + + +def run(staging): + started = base.utc_now() + raws, occurrence, source, paper_raw, paper_spans = base.load_inputs(base.RETAINED, base.PAPER) + records, service_raws, owners = load_authorities() + base.check_contracts() + relative, stage, command, exit_code = base.destination(staging) + stage.mkdir(mode=0o700) + for name in ("occurrence.json", "source.json"): + base.write_new(stage / name, raws[name]) + base.write_new(stage / "prepared-packet.json", raws["packet.json"]) + base.write_new(stage / "abstract.json", paper_raw) + copied_pins = [base.pin(stage / name) for name in + ("occurrence.json", "source.json", "prepared-packet.json", "abstract.json")] + for name, record in records.items(): + for kind, suffix in (("raw", ".html"), ("text", ".txt"), ("receipt", ".json")): + base.write_new(stage / (name + suffix), record["raws"][kind]) + copied_pins.append(base.pin(stage / (name + suffix))) + for name, raw in service_raws.items(): + base.write_new(stage / name, raw) + copied_pins.append(base.pin(stage / name)) + for owner_path, raw in owners.items(): + name = "kg-microbe-" + Path(owner_path).name + base.write_new(stage / name, raw) + copied_pins.append(base.pin(stage / name)) + packet = base.build_packet(occurrence, source, occurrence_input=copied_pins[0], + source_input=copied_pins[1], root=ROOT) + base.write_json(stage / "packet.json", packet) + base.validate_packet(json.loads(base.read_bytes(stage, "packet.json")), root=ROOT) + packet_pin, paper_pin = base.pin(stage / "packet.json"), base.pin(stage / "abstract.json") + proofs = [{"evidence_id": "packet-source", "kind": "packet", "input": packet_pin, + "reference": packet_pin["path"], "support": "context_only", "scope": "exact", + "scope_rationale": "Original occurrence and complete source context unchanged; " + "the source identity conflict is not an independent biological proof.", + "inspected_extent": "Original occurrence/endpoints and all four retained source records.", + "axes": ["source_fidelity", "relation", "subject_node", "object_node"]}] + for eid, span in paper_spans.items(): + proofs.append({**base.paper_identity(), "evidence_id": eid, "input": paper_pin, + "support": "partial", "scope": "partial", + "scope_rationale": "Nominal DSM 18772 nonmotility evidence does not settle " + "the mixed source identity or complete graph model.", + "axes": ["claim", "literature"], + **{key: span[key] for key in ("text_sha256", "start", "end", "extractor")}}) + for name, record in records.items(): + receipt, span = record["receipt"], record["span"] + proofs.append({"evidence_id": "catalog-" + name, "kind": "authority", + "input": base.pin(stage / (name + ".txt")), "reference": capture.URLS[name], + "version": receipt["fetched_at"] + "; raw_sha256=" + receipt["raw_sha256"], + "support": "context_only", "scope": "context", + "scope_rationale": "Verified independent culture-accession identity context; " + "not a full resolution of the original source join or node model.", + "inspected_extent": "Complete captured catalog identity and sequence sections; " + "raw HTML, receipt and deterministic text derivative verified.", + "axes": ["subject_node", "source_fidelity"], + **{key: span[key] for key in ("text_sha256", "start", "end", "extractor")}}) + base.write_json(stage / "proofs.json", {"profile": base.PROFILE, + "occurrence_id": base.OCCURRENCE, "proofs": proofs}) + proofs_pin = base.pin(stage / "proofs.json") + finished = base.utc_now() + review = make_review(packet_pin, proofs_pin, copied_pins, paper_spans, records, + started, finished, (command, exit_code)) + base.write_json(stage / "authored-review.json", review) + base.validate_occurrence_review(ROOT, review, packet_pin["path"], proofs_pin["path"]) + result = base.save_occurrence_review(ROOT, review, packet_pin["path"], proofs_pin["path"]) + receipt = {**result, "staging": str(relative), "provider_calls": 0, + "historical_investigation_channels": {"cborg_tavily": 3, "anonymous_catalog_gets": 4, + "publisher_tdm": 0}, + "calibration_rating": False, "calibration_pass": False, "review_completion": "partial", + "previous_review": PREVIOUS_ID, "maintained_owner_commit": KGM_COMMIT, + "packet": packet_pin, "proofs": proofs_pin, + "paper_quotation_words": sum(len(q.split()) for q in base.QUOTES.values()), + "authority_quotation_words": {name: len(item["quote"].split()) + for name, item in AUTHORITY_PINS.items()}} + base.write_json(stage / "receipt.json", receipt) + base.require(json.loads(base.read_bytes(stage, "receipt.json")) == receipt, + "Persisted review receipt differs") + return receipt + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + modes = parser.add_mutually_exclusive_group(required=True) + modes.add_argument("--plan", action="store_true") + modes.add_argument("--run", action="store_true") + parser.add_argument("--staging", default=".temp/identity130-review-20261115") + args = parser.parse_args() + if args.plan: + base.load_inputs(base.RETAINED, base.PAPER) + load_authorities() + base.check_contracts() + base.destination(args.staging) + result = {"action": "plan", "writes": 0, "provider_calls": 0, + "staging": args.staging, "occurrence_id": base.OCCURRENCE, + "assessments": base.AXES, "completion": "partial", "calibration_rating": False, + "authority_count": len(AUTHORITY_PINS), "maintained_owner_commit": KGM_COMMIT} + else: + result = run(args.staging) + print(json.dumps(result, sort_keys=True)) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/tests/test_bactotraits_identity_review.py b/tests/test_bactotraits_identity_review.py new file mode 100644 index 0000000..9152e75 --- /dev/null +++ b/tests/test_bactotraits_identity_review.py @@ -0,0 +1,59 @@ +"""Capture instants must cross the pinned review timestamp boundary unchanged (#133).""" + +from __future__ import annotations + +import importlib.util +from datetime import datetime +from pathlib import Path + +import pytest +import yaml +from kg_microbe_reviews import ReviewError, validate_review + +ROOT = Path(__file__).resolve().parents[1] +HELPER = ROOT / "scripts/adhoc/review_bactotraits_identity_130_20261115.py" + + +@pytest.fixture +def helper(monkeypatch): + monkeypatch.syspath_prepend(str(HELPER.parent)) + spec = importlib.util.spec_from_file_location("identity_review_130", HELPER) + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + return module + + +@pytest.mark.parametrize(("captured", "expected"), [ + ("2026-11-16T07:31:54.779207+00:00", "2026-11-16T07:31:54.779207Z"), + ("2026-11-15T23:31:54.779207-08:00", "2026-11-16T07:31:54.779207Z"), + ("2026-11-16T13:01:54.1+05:30", "2026-11-16T07:31:54.100000Z"), + ("2026-11-16T07:31:54+00:00", "2026-11-16T07:31:54Z"), + ("2026-11-16T07:31:54.779207Z", "2026-11-16T07:31:54.779207Z"), +]) +def test_133_normalization_preserves_instant_and_microseconds(helper, captured, expected): + normalized = helper.canonical_utc_timestamp(captured) + assert normalized == expected + assert datetime.fromisoformat(normalized) == datetime.fromisoformat(captured) + + +@pytest.mark.parametrize("captured", [ + "2026-11-16T07:31:54.779207", "2026-11-16", "not-a-timestamp", None, + "2026-11-16T07:31:54.7792071+00:00", +]) +def test_133_naive_invalid_or_unrepresentable_instants_are_rejected(helper, captured): + with pytest.raises(ValueError): + helper.canonical_utc_timestamp(captured) + + +def test_133_actual_capture_timestamp_is_accepted_by_pinned_review_contract_after_normalization(helper): + path = ROOT / "reviews/structured/20261116T052355Z-fresh05-abstract-adapter/review.yaml" + review = yaml.safe_load(path.read_text()) + review.update(started_at="2026-11-16T07:00:00Z", finished_at="2026-11-16T08:00:00Z", + review_id="20261116T080000Z-timestamp-contract-regression") + captured = "2026-11-16T07:31:54.779207+00:00" + review["evidence"][0]["accessed_at"] = captured + with pytest.raises(ReviewError, match=r"evidence\.0\.accessed_at"): + validate_review(review) + review["evidence"][0]["accessed_at"] = helper.canonical_utc_timestamp(captured) + validate_review(review) + assert review["evidence"][0]["accessed_at"] == "2026-11-16T07:31:54.779207Z" From c5607d31649c1e9af20566ab162e8c2c5217deef Mon Sep 17 00:00:00 2001 From: "marcin p. joachimiak" <4625870+realmarcin@users.noreply.github.com> Date: Sun, 15 Nov 2026 23:52:44 -0800 Subject: [PATCH 2/3] Record independently verified BactoTraits candidate correction --- NEXT_TASKS.md | 8 +-- .../bactotraits-identity-20261115.md | 52 ++++++++++++++++--- 2 files changed, 49 insertions(+), 11 deletions(-) diff --git a/NEXT_TASKS.md b/NEXT_TASKS.md index c78f04b..011a881 100644 --- a/NEXT_TASKS.md +++ b/NEXT_TASKS.md @@ -1,6 +1,6 @@ # Edge-review next tasks -Last reconciled: **2026-11-15** (America/Los_Angeles), against `main` at `a4c8ce937ffd791b7c7b4d05b85121dea1aa09d6`, merged PRs #131/#128/#120 and open PRs #102/#37. PR #131 is merged and #127 is closed. The current work traces and independently checks #130's BactoTraits strain conflict. Independent calibration ratings and correction verification remain pending. +Last reconciled: **2026-11-15** (America/Los_Angeles), against `main` at `a4c8ce937ffd791b7c7b4d05b85121dea1aa09d6`, merged PRs #131/#128/#120 and open PRs #135/#102/#37. PR #131 is merged and #127 is closed. #130's bounded source quarantine has been independently verified against regenerated producer bytes in [KG-Microbe PR #1867](https://github.com/Knowledge-Graph-Hub/kg-microbe/pull/1867); merge and graph-release verification remain pending. Independent scientific calibration has not passed. Scope: the stratified edge review and related edge-quality follow-ups. Update this file when work starts or ships, checking GitHub and current code before changing status. Record completion dates and PRs. Preserve historical manifests, packets, reports and scientific decisions; a merged engineering PR does not promote an edge's scientific status. Unrelated release/deployment work is outside this backlog. @@ -24,14 +24,14 @@ Evidence: [fresh-canary report](artifacts/edge-recanary-20261113/RECANARY-REPORT | --- | --- | --- | | 1 — **DONE preparation, PR #128** | Pin calibration cases and decision thresholds | Merged 2026-11-15. The [ten-case protocol](docs/plans/edge-calibration-20261115.md) fixes first-cohort 1/28/30/32/43 and fresh-cohort 4/5/14/32/47, exact occurrence bindings and operational error/coverage thresholds before new scoring. [Preparation receipts](artifacts/edge-calibration-20261115/PREPARATION.md) record 10/10 replayed source packets, 20/20 endpoint roles and two staged authorities after separate canaries. #129's cross-case packet binding fix passed a new canary before all ten were replayed again. These receipts pin the PR #128 runtime; replay under changed profile code requires a new round, not updated historical hashes. Calibration and independent agreement have not passed. | | 1b — **DONE, 2026-11-15, PR #131** | Replay primary abstract evidence | Metadata-bound Europe PMC abstract replay and the single retained fresh-05 canonical save/readback canary passed. [Validation](docs/validation/abstract-evidence-20261115.md): two quotations, 16 words, partial completion and six conservative assessments. All 687 tests, two adversarial reviews and post-merge CI passed. This technical self-review is excluded from the independent calibration matrices; it does not resolve #130's conflicting strain join. | -| 1c — **IN PROGRESS, #130** | Reconcile the mixed BactoTraits strain row | Trace the maintained source/transform and independently verify the competing collection accessions. Preserve the original row and graph occurrence; prepare and validate any correction at the maintained owner before claiming a corrected graph. | +| 1c — **CANDIDATE VERIFIED; merge pending, #130** | Reconcile the mixed BactoTraits strain row | Four primary catalogs confirm the conflict. [Evidence and independent inspection](docs/validation/bactotraits-identity-20261115.md): actual baseline has 21 assertions including the reviewed nonmotility edge; candidate has zero and one mandatory original-row audit. [KG-Microbe PR #1867](https://github.com/Knowledge-Graph-Hub/kg-microbe/pull/1867) is unmerged. Preserve the original occurrence; producer correction before finalization is distinct from graph-release verification. | | 2 — **PENDING, actionable bounded audit** | Semantic identity, relation and node-category correctness | Prepare pinned authorities and audit the selected calibration cases, then the existing 100 after gates pass. Prioritize [#68](https://github.com/CultureBotAI/EdgeMech/issues/68)/[#106](https://github.com/CultureBotAI/EdgeMech/issues/106) identity joins and [#75](https://github.com/CultureBotAI/EdgeMech/issues/75)/[#86](https://github.com/CultureBotAI/EdgeMech/issues/86)/[#87](https://github.com/CultureBotAI/EdgeMech/issues/87) relation/type-strain/bin semantics. Review nonempty categories, not only missing fields. All 22 fresh-canary biological-literature exclusions still receive identity/modeling review. | | 3 — **PENDING, actionable retained-evidence work** | DOI identity, exact snippets and categorical claim judgments | Resolve publication identity [#69](https://github.com/CultureBotAI/EdgeMech/issues/69); replay retained evidence for the selected calibration cases first, then retrieve missing relevant text through appropriate channels. Verify literal quotes and independently judge entailment, conditions and organism/strain scope. Record support, refutation, conflicts, insufficient evidence and assessment blockers distinctly. | | Parallel — **IN PROGRESS** | General full-text credential protection: [#100](https://github.com/CultureBotAI/EdgeMech/issues/100), [PR #102](https://github.com/CultureBotAI/EdgeMech/pull/102) | The draft has a clean independent review and green CI at `2364161819951b7899ba62cebcd461bf0394c4a7`. Reconcile with current main and validate before a separately authorized merge. Complete this before further authenticated general-helper retrieval; it need not block local modeling or retained-evidence review. | | 4 — **PENDING, gated execution** | Calibrate, then review the retained 100 | After cases, thresholds and evidence preparation are fixed, independently assess the ten cases with all six axes and report disagreements. Canary any newly introduced worker/launcher or evidence-adapter path end to end before using it in a batch. Cover the existing 100 only after calibration passes. Preserve historical bytes; re-review adds coverage depth, not new reviewed occurrences. | | 5 — **PENDING; upstream fixes/releases where needed** | Correct and verify affected assertions and nodes | File each finding, identify its maintained owner, retain before/after proposals, add regressions, regenerate a new candidate and independently re-assess affected occurrences. Include [#56](https://github.com/CultureBotAI/EdgeMech/issues/56), [#70](https://github.com/CultureBotAI/EdgeMech/issues/70), [#72](https://github.com/CultureBotAI/EdgeMech/issues/72) and proof of existing fixes [#71](https://github.com/CultureBotAI/EdgeMech/issues/71)/[#73](https://github.com/CultureBotAI/EdgeMech/issues/73). A merged source PR is distinct from a verified corrected graph release. | -**Recommended continuation:** reconcile the BactoTraits strain conflict [#130](https://github.com/CultureBotAI/EdgeMech/issues/130), and assemble versioned predicate/node authority and DOI/snippet proofs before freezing a new evidence package for two separate reviewers. Reconcile ontology versions before assessing #75/#87; an old local snapshot cannot stand in for the frozen or maintained version. Prepare #102 in parallel for authenticated retrieval. Reuse the 100 retained occurrences as the first correction-focused cohort; do not expand to the remaining 9,900 until evidence, modeling, correction-verification and reviewer-calibration gates in the plan are met. At least one real finding's correction must be independently verified against regenerated candidate bytes; a dependency explanation cannot substitute for that proof ([#119](https://github.com/CultureBotAI/EdgeMech/issues/119)). Work within the retained 100 can continue while this expansion gate is unmet. +**Recommended continuation:** finish the reviewed #130 correction PRs through separately approved merges, then assemble versioned predicate/node authority and DOI/snippet proofs before freezing a new evidence package for two separate reviewers. Reconcile ontology versions before assessing #75/#87; an old local snapshot cannot stand in for the frozen or maintained version. Prepare #102 in parallel for authenticated retrieval. Reuse the 100 retained occurrences as the first correction-focused cohort; do not expand to the remaining 9,900 until evidence, modeling and reviewer-calibration gates in the plan are met. #130 now supplies the bounded independent candidate-byte correction demonstration required by [#119](https://github.com/CultureBotAI/EdgeMech/issues/119); this does not establish a graph release or satisfy the remaining gates. Work within the retained 100 can continue while expansion remains gated. ## Source, ontology and regression follow-ups @@ -40,7 +40,7 @@ All entries below remain open as of the reconciliation date. Local evidence audi | Issues | What remains | Closure evidence | | --- | --- | --- | | [#68](https://github.com/CultureBotAI/EdgeMech/issues/68), [#106](https://github.com/CultureBotAI/EdgeMech/issues/106) | Discordant MicrobeDecoder organism crosswalks, including frozen records 10743 and 20904 | Trace the exact joins, independently resolve identity or prove an existing quarantine, and prevent unrelated NCBI fields from entering the measurement/reference binding. Edge47 currently excludes the discordant fields. | -| [#130](https://github.com/CultureBotAI/EdgeMech/issues/130) | Primary catalogs confirm that row 8521 mixes Thioprofundum collection codes with Rubritalea name/BacDive identity; a bounded owner quarantine is being prepared | [Identity investigation](docs/validation/bactotraits-identity-20261115.md). Verify the exact reviewed-row disposition and regenerated candidate bytes independently; distinguish a tested candidate from an upstream merge or corrected graph release. No replacement subject or trait cells are inferred. | +| [#130](https://github.com/CultureBotAI/EdgeMech/issues/130) | Exact-row quarantine and regenerated producer bytes independently verified; owner merge and graph-release verification remain pending | [Identity investigation](docs/validation/bactotraits-identity-20261115.md), [owner PR #1867](https://github.com/Knowledge-Graph-Hub/kg-microbe/pull/1867). No replacement subject or trait cells are inferred. The partial canonical identity review predates correction validation and remains unchanged. | | [#132](https://github.com/CultureBotAI/EdgeMech/issues/132) | Neighboring BactoTraits row 8517 also has conflicting collection codes; wider source alignment remains unassessed | Independently resolve the additional accessions and trace complete row/column provenance before bounding or repairing other rows. Do not broaden the single-row quarantine automatically. | | [#69](https://github.com/CultureBotAI/EdgeMech/issues/69) | Inherited dataset DOIs identify unrelated publications | Verify exact titles/identifiers in the maintained assignment table; prove corrections with a bounded regression before any bulk repair. Database provenance is not biological claim evidence. | | [#70](https://github.com/CultureBotAI/EdgeMech/issues/70), [#72](https://github.com/CultureBotAI/EdgeMech/issues/72) | Maximum salinity tolerance mapped to halophily; generic sporulation mapped to endospore formation | Establish the correct trait semantics and a source-grounded mapping or explicit exclusion. Preserve range/optimum/tolerance and spore-type distinctions. | diff --git a/docs/validation/bactotraits-identity-20261115.md b/docs/validation/bactotraits-identity-20261115.md index d9f4189..22ae4d5 100644 --- a/docs/validation/bactotraits-identity-20261115.md +++ b/docs/validation/bactotraits-identity-20261115.md @@ -7,7 +7,7 @@ for the exact fresh-05 occurrence The source row contains identifiers for two different organisms. A replacement subject or culture-code edit would assume which parts of the row are trustworthy. -The bounded correction being prepared therefore withholds that row's BactoTraits +The bounded candidate correction therefore withholds that row's BactoTraits contribution and preserves the reason and original identity in an audit. It does not declare the biological nonmotility claim false or remove another source's independent evidence for that claim. @@ -76,18 +76,56 @@ not proof that no correction exists anywhere outside the examined surfaces. ## Correction boundary -The proposed owner change is a finite, reviewed-row quarantine with an input +The owner change in [KG-Microbe PR #1867](https://github.com/Knowledge-Graph-Hub/kg-microbe/pull/1867) +is a finite, reviewed-row quarantine with an input policy and mandatory audit. It matches the complete original row before source cell normalization, fails on changed/missing/duplicated reviewed identities, and records actual consumed input hashes. It does not infer corrected accessions, taxon IDs or phenotype cells, and does not introduce a general mismatch filter over unreviewed rows. -Candidate validation and independent before/after inspection are still being -prepared. Neither the maintained source nor a released graph is declared fixed -by this evidence report. The frozen occurrence remains immutable; independent -calibration and expansion beyond the existing 100 reviewed occurrences remain -separate gates. +The real single-row transform replay reproduced 21 assertions and 22 nodes on +baseline `ef27b97a`, including the exact reviewed nonmotility assertion. Candidate +`e24d58bf2` emitted zero assertions and nodes, and one mandatory quarantine audit +containing the complete original row, original mapped identity, actual slice +ordinal 1, reviewed ordinal 8521 and policy/source hashes. This demonstrates a +bounded producer correction before source finalization. There were no unaffected +real rows in the slice; a separate synthetic-control regression tests their +retention. No replacement taxon or phenotype values were inferred. + +The same launcher and input bytes were used for both runs, including the actual +BacDive lookup and METPO templates. NCBITaxon labels came from existing read-only +database statements; the DB and OWL release agreed at `2026-07-12`. The launcher +pins the queried statements and database metadata, not a whole-database hash. +Neither run made provider calls. The first baseline attempt was stopped by the +stage-only guard on an import-time cache write; [KG-Microbe #1866](https://github.com/Knowledge-Graph-Hub/kg-microbe/issues/1866) +records the fix and fresh-process regression before the successful v2 replays. +The original failed stage remains preserved. + +Private stages in the owner worktree are +`data/validation-bactotraits-130/baseline-v2-20261116/` and +`candidate-v2-20261116/`. Their receipt SHA256 values are +`588f3e50352232036ce517616add423e0a7c08b760894f8edb05ac854f697633` and +`d96f5b004961df31b91a82971122b15a6d969b8c2570edb1faabde4fde885dac`. +The launcher SHA256 is +`d058e94408498c047a4d086c8f363b8c5bdbc7b98ce083a7bd5712f333c69c86`. +See the [owner replay report](https://github.com/Knowledge-Graph-Hub/kg-microbe/blob/df6bc8d581ac88b2924cc6e81b4fc77b39d7dbe1/docs/BACTOTRAITS_IDENTITY_QUARANTINE.md) +for the implementation boundary and retained evidence. + +A separate reviewer who authored neither the transform nor launcher inspected +the saved TSVs and audit directly, recomputed receipt/output/policy/original +source/lookup hashes, compared input slices byte-for-byte with each other and the +original records, and independently confirmed data-row ordinal 8521. The review +passed at owner head `df6bc8d581ac88b2924cc6e81b4fc77b39d7dbe1` with no findings; +its code is unchanged from replay candidate `e24d58bf2` (the intervening change +adds the replay report). The reviewer also checked private-stage permissions and +left all evidence unchanged. This supplies the bounded candidate-byte correction +demonstration required by [#119](https://github.com/CultureBotAI/EdgeMech/issues/119). + +The source-owner PR is not merged and no graph release has been regenerated. +The frozen occurrence remains immutable. Biological claim/model judgments and +independent reviewer calibration remain separate from this source quarantine; +expansion beyond the existing 100 reviewed occurrences is still gated. ## Saved review and validation From 211205dea359e38f47092502c0b708cfcb6d96d9 Mon Sep 17 00:00:00 2001 From: "marcin p. joachimiak" <4625870+realmarcin@users.noreply.github.com> Date: Sun, 15 Nov 2026 23:56:59 -0800 Subject: [PATCH 3/3] Pin independently verified v3 correction evidence after replay review --- .../bactotraits-identity-20261115.md | 39 ++++++++++++------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/docs/validation/bactotraits-identity-20261115.md b/docs/validation/bactotraits-identity-20261115.md index 22ae4d5..c433ded 100644 --- a/docs/validation/bactotraits-identity-20261115.md +++ b/docs/validation/bactotraits-identity-20261115.md @@ -86,7 +86,7 @@ over unreviewed rows. The real single-row transform replay reproduced 21 assertions and 22 nodes on baseline `ef27b97a`, including the exact reviewed nonmotility assertion. Candidate -`e24d58bf2` emitted zero assertions and nodes, and one mandatory quarantine audit +`9c1fb3633` emitted zero assertions and nodes, and one mandatory quarantine audit containing the complete original row, original mapped identity, actual slice ordinal 1, reviewed ordinal 8521 and policy/source hashes. This demonstrates a bounded producer correction before source finalization. There were no unaffected @@ -94,30 +94,43 @@ real rows in the slice; a separate synthetic-control regression tests their retention. No replacement taxon or phenotype values were inferred. The same launcher and input bytes were used for both runs, including the actual -BacDive lookup and METPO templates. NCBITaxon labels came from existing read-only +BacDive lookup, METPO templates and URI prefix registry. NCBITaxon labels came from existing read-only database statements; the DB and OWL release agreed at `2026-07-12`. The launcher pins the queried statements and database metadata, not a whole-database hash. Neither run made provider calls. The first baseline attempt was stopped by the stage-only guard on an import-time cache write; [KG-Microbe #1866](https://github.com/Knowledge-Graph-Hub/kg-microbe/issues/1866) -records the fix and fresh-process regression before the successful v2 replays. +records the fix and fresh-process regression before the successful replays. The original failed stage remains preserved. +Separate launcher review found that the v2 receipts omitted the consumed prefix +registry, filed as [KG-Microbe #1868](https://github.com/Knowledge-Graph-Hub/kg-microbe/issues/1868). +The corrected launcher stages and pins that registry, binds input equality, +routes actual URI conversion through it before producer construction, and checks +original and staged inputs before and after execution. Five focused launcher +regressions passed, followed by fresh v3 baseline and candidate runs. Both +registry copies have SHA256 +`a11f11fc43db2d3d0ffd74aca08fbc1da08033074b355ef2e0a1d6d547c29762`. +The v2 receipts remain unchanged as superseded evidence; they are not relabeled +as complete input-equivalence proof. The obsolete owner's final gate was +interrupted after the finding and retained with exit 2, not counted as passing. + Private stages in the owner worktree are -`data/validation-bactotraits-130/baseline-v2-20261116/` and -`candidate-v2-20261116/`. Their receipt SHA256 values are -`588f3e50352232036ce517616add423e0a7c08b760894f8edb05ac854f697633` and -`d96f5b004961df31b91a82971122b15a6d969b8c2570edb1faabde4fde885dac`. +`data/validation-bactotraits-130/baseline-v3-20261116/` and +`candidate-v3-20261116/`. Their receipt SHA256 values are +`0000d1fd631d4bbfddf1d4d378824485911435c7a0fa162c939cbfb55ce2556d` and +`f33f8387be6518514ebcde34b56687947d64897484db8abc3c72f889745c6599`. The launcher SHA256 is -`d058e94408498c047a4d086c8f363b8c5bdbc7b98ce083a7bd5712f333c69c86`. -See the [owner replay report](https://github.com/Knowledge-Graph-Hub/kg-microbe/blob/df6bc8d581ac88b2924cc6e81b4fc77b39d7dbe1/docs/BACTOTRAITS_IDENTITY_QUARANTINE.md) +`060d7e4dbb6189051f989a4a9efbf55336408e4224ecba5a4975e710538ea90e`. +See the [owner replay report](https://github.com/Knowledge-Graph-Hub/kg-microbe/blob/a86c63e778ebf8a646abb9d4d9e0718dfd49f5a0/docs/BACTOTRAITS_IDENTITY_QUARANTINE.md) for the implementation boundary and retained evidence. A separate reviewer who authored neither the transform nor launcher inspected the saved TSVs and audit directly, recomputed receipt/output/policy/original -source/lookup hashes, compared input slices byte-for-byte with each other and the -original records, and independently confirmed data-row ordinal 8521. The review -passed at owner head `df6bc8d581ac88b2924cc6e81b4fc77b39d7dbe1` with no findings; -its code is unchanged from replay candidate `e24d58bf2` (the intervening change +source/lookup/registry hashes, compared input slices byte-for-byte with each other and the +original records, and independently confirmed data-row ordinal 8521. The v3 byte +inspection passed with no findings. Owner head +`a86c63e778ebf8a646abb9d4d9e0718dfd49f5a0` +has unchanged code from replay candidate `9c1fb3633` (the intervening change adds the replay report). The reviewer also checked private-stage permissions and left all evidence unchanged. This supplies the bounded candidate-byte correction demonstration required by [#119](https://github.com/CultureBotAI/EdgeMech/issues/119).