- From: Abisheak P <abisheakp197@gmail.com>
- Date: Sun, 29 Nov 2026 17:23:31 +0530
- To: Xinghua Zhao <zhaoxinghua07@126.com>
- Cc: public-agentprotocol <public-agentprotocol@w3.org>
- Message-ID: <CALwwdfp-iCEQ=M0XV06GKNf3HLLsKiZdzaRTefjSGB1O7Uah1w@mail.gmail.com>
Stevin, Thank you for the mutation run. I reproduced it, and two of your nine were genuine contradictions between the validator and the spec rather than disagreements about interpretation. Both are fixed. I'd like you to re-run your gist against the new commit and tell me if any of the nine still pass. What was actually wrong Event preimage. validate.py built the hash input by joining fields with ":". §3.4 says the preimage is the canonical JSON of the event and must not be a delimiter join, and conformance/issue-18/preimage_reproducibility.json exists specifically to show why: a delimiter join collides across field boundaries, so two different events hash to the same digest. Your mutation is what made me look at it properly instead of assuming the validator matched the text. No completeness anchor. The validator checked each event and never the log as a whole, so a truncated log was still a valid log. Spec line 91 makes truncation anchoring a MUST (T-4.1). A prefix of a valid log passed. What changed — nti-spec commit 2a016ab Hashing is RFC 8785 (JCS) canonical JSON, matching the spec text rather than a delimiter join. conformance/audit_anchor.json anchors the log: count, head, root. Truncation now fails. Status enum and event ordering are checked rather than assumed. --root, --examples-only and --self-test, so it runs in CI as well as by hand. conformance/mutation_matrix.py: 17 cases — your control plus 16 mutations — each one correctly rejected, wired into CI so a future validator regression fails the build rather than waiting for the next review. Regenerated audit_log.json digests are in the same commit. They changed because the preimage changed; that is the fix, not a regression. Your matrix also caught something in my harness. While re-running this I found the ASL baseline job asserting on test <name> ... FAILED in --nocapture output, which the harness interleaves across lines when tests run in parallel. It was passing by luck and failed on my commit. Fixed in 34b110c: the cases now run on one thread and the name is accepted from either the harness line or the failures list. A check that passes because of output ordering is the same class of problem as a validator that passes because of how it hashes, so I did not want to leave it. One correction on my side, one question for you. I could not reproduce your pin 0c34e57; the tree I fixed is 0b5e126, which is what main was when I started. If you tested a different revision, tell me and I'll re-check against it. And: is the second validator in your runner built on the same delimiter assumption? If it shares the code path, it will accept the same mutations that used to pass here, and your matrix will keep reporting clean against a validator that isn't. Abisheak On Sun, 29 Nov, 2026, 1:33 pm Xinghua Zhao, <zhaoxinghua07@126.com> wrote: > All, > > A correction and an update to my own post. > > Pin: Abisheek's follow-up (0090) pins NTI-1 at `0b5e126`, where `NTI-1.md` > hashes to `2405e380…40fc2`. I re-ran there. That pin's `validate.py` > executes the Markdown code blocks and needs `ube-foundation`; without it > the baseline fails on the import, which is a setup step, not a repository > defect. With it installed the baseline passes. > > Expanded results at `0b5e126` — one control plus fifteen mutations, ten > caught, five not: > > 1. a same-length chain re-hashed after an edit; > 2. the last event removed, remaining chain untouched; > 3. the last event removed and the shorter chain re-hashed; > 4. two events reordered and the chain re-hashed; > 5. `identity.revocation_status` set to `"banana"` — presence is checked, > the value is not. > > A shorter chain that breaks the parent link is still caught, so the > boundary in my runs is length, order and value rather than linkage. No > signature check exists, as the validator's own scope says. > > Positive control: `conformance/transition_sidecar.py --selftest` passes > all three registry modes (reachable / unreachable / stale_root), and the > default run meets 4/4 criteria with replay 4/4 — the witness/receipt path > is green. > > Record v2 (script, fixtures, per-case exit codes, sidecar report): > https://gist.github.com/zhaoxinghua09-cell/17f79e4a0b1d0548540377fab98a836c > > Same ask as before: per case, one line — (a) a gap that should fail, (b) > out of scope by design, (c) already covered by a check I missed. And one > option for length/head pinning, at whichever layer you think owns it; I > have not opened a PR. > > Best, > Xinghua Zhao > Independent researcher > ORCID 0009-0001-0512-1237 > > [Disclosure: drafting assisted by AI; positions reviewed and approved by > me. Run: one Windows host, Python 3.13, 2026-11-29; not tested at HEAD.] > > >
Received on Sunday, 29 November 2026 11:53:49 UTC