Re: Conformance cases for mid-task halts

All,

I ran a mutation matrix against `conformance/validate.py` at `0c34e57`, the pin Abisheek named. Nine mutations plus an unmutated control; the record — script, fixtures and per-case exit codes — is at https://gist.github.com/zhaoxinghua09-cell/2557ad053067ae8a2b8f8790f60cb045.

Scope: this is about that validator and its three example files, not the runtime engine (`nti_regressions.rs`), which I did not run, and it is not a claim that NTI-1 is unsafe. If chain length and latest-head binding are deliberately outside the example's job, then two of the results below are expected, and my only point is that the example does not state its threat model — please say which reading is right.

Caught (exit 1): identity missing `revocation_status`; identity algorithm changed to Ed25519; policy missing `granted_capabilities`; audit `reason` changed with hashes untouched; a duplicate event; reordered events.

Not caught (exit 0):
(a) editing an event and re-hashing the whole chain — "self-consistent" here means every `event_hash` and `parent_hash` recomputed with the validator's own SHA-256 formula; no signature was added or changed, because the validator does not check signatures;
(b) removing the last event, leaving a shorter chain above the schema minimum.

A shorter chain that breaks the parent link (first event removed, last kept) is caught, so the boundary in my runs is length and anchoring, not linkage. I did not test HEAD, Linux or macOS, or an empty chain.

One option, at whichever layer you think owns it: pin an expected length (or a latest head) in the example and have `validate.py` compare against it. Is that the right layer, or should length/head binding live in a conformance profile instead?

Per case, one line would settle it: (a) a gap that should fail, (b) out of scope by design, or (c) already covered by a check I missed. If any of it was fixed after `0c34e57`, point me to the commit and I will re-run. I am happy to open a PR against the example if that helps.

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 07:09:30 UTC