Skip to content

feat(morph): audit pinned native JSON before Python POS conversion - #622

Merged
andy-zen-dev merged 5 commits into
masterfrom
scrip-morph-282-raw-json-20261124
Nov 24, 2026
Merged

andy-zen-dev merged 5 commits into
masterfrom
scrip-morph-282-raw-json-20261124

Conversation

@andy-zen-dev

Copy link
Copy Markdown
Collaborator

Refs #282.

The reviewed #621 Python instance probe saw 10 native N analyses without explicit source-POS fields in its allowlist. The pinned upstream binding calls the raw JSON renderer and the Python wrapper selects only a subset of JSON fields. This distinct probe measures that earlier boundary, compares complete POS sequences with wrapped candidates and checks per-token counts against the existing same-run probe.

The source-free receipt exposes only allowlisted key names, counts of unknown keys, fixture hashes and an observation digest. Unknown keys require source review; source-like keys require independent enum validation. No raw values or lexical content are exported; no production mapping or package pin changes. M2 stays 0/5.

Verification at authorship: 5/5 focused local synthetic tests PASS (fixture constants copied exactly from pinned existing module); module --help PASS. Remote readback confirms tested Git blobs dc45cee8 and 1336d998. Full repository and native CI NOT_RUN at authorship. Accept only after exact-head CI and independent source-free artifact verification; no same-run merge.

@andy-zen-dev
andy-zen-dev merged commit 047f5d8 into master Nov 24, 2026
30 checks passed

Copy link
Copy Markdown
Collaborator Author

Later-run acceptance, 2026-11-24, exact head 11fd7981629951bc7ffa1369b9d8dbff76ef3b2e (base d4e55090e1fce0d20471f84edfa18ed1a1fd5894). Reviewed all five changed files; no unresolved review threads. 23/23 PR workflows SUCCESS; pinned native Python 3.9 job and complete 1,598-test Python suite PASS. Independently downloaded and verified raw artifact 14888466736 (ZIP SHA-256 b88b0cec1e81647d403e9303bce32f2cf42d15eeaf8d179f2a806b4e464bf0d9) and same-run Python surface artifact 14887782312 (7e0162a85ee2a9c6dab8a8ff82dfc75eeae05f0ae0e3c757a94e3d3f8692bc5d): all nine fixture hashes, raw observation digest, per-token counts, allowlisted fields and scientific/privacy flags independently verified locally.

10 N candidates (5 noun-role, 3 cardinal-role, 2 unrelated-control); 2/3 clean negative controls. All ten raw rows expose the same six key names: commonGrammems, found, homonymWeight, morphInfo, wordForm, wordWeight. Zero occurrences of the 16 explicit source-key names; zero unrecognized top-level keys. Raw and wrapped POS sequences match in native CI. This excludes a discarded explicit top-level source-POS key in these examined rows only; nested values and the C++ source enum are not verified. Next: inspect exact hash-pinned sdist renderer and original AOT gramtab discriminator feasibility, not another wrapper-surface audit. No mapping change; M2 0/5; #282 remains open.

Squash merged as 047f5d8838369e1f0429a11b9ebd8a3b44892f10; master/PR and probe blob readback confirmed. No new Pages deployment or live verification claimed. Reconcile queue candidate status with this native acceptance in the next semantic PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant