Skip to content

Add UIBC Core crosswalk - #280

Open
zhaoxinghua09-cell wants to merge 2 commits into
NOSAI-Federation:mainfrom
zhaoxinghua09-cell:crosswalk/uibc-core
Open

zhaoxinghua09-cell wants to merge 2 commits into
NOSAI-Federation:mainfrom
zhaoxinghua09-cell:crosswalk/uibc-core

Conversation

@zhaoxinghua09-cell

Copy link
Copy Markdown
Contributor

Adds a crosswalk for UIBC Core (crosswalk/uibc-core.yaml), following the format of the existing system crosswalks.

How the mappings were made. Every row is grounded in UIBC's normative seal-semantics document (docs/verdict-and-seal-semantics.md, seal v0.3) at a pinned commit, not in marketing material. The distribution is deliberately conservative: 5 partial, 1 false_analog, 11 no_mapping.

Three rows worth a reviewer's attention:

  • governance_attestation → partial. The seal is the package author's; the requirement-satisfaction verdict is a separate verifier determination. The row states that split rather than letting the seal borrow the verdict's authority.
  • entity_continuity → partial, with the gap named. The lifecycle record chain is state-machine-checked, but key rotation/revocation continuity is not yet attested — it is an open audit finding on our side, and the row says so.
  • bilateral_receipt → false_analog. Our handover pack is single-signer; the receiver verifies but does not co-sign. It is recorded as false_analog so nobody wires it up as a bilateral receipt.

Two offers that come with this PR, both standing:

  1. UIBC Core as an independently verifiable implementation for the federation. The package format is publicly verifiable by anyone (Ed25519 seals, a browser verifier, and pinned conformance fixtures in the repo). External re-runs are welcomed; we log every receipt we get, favourable or not.
  2. Frozen test vectors for the runtime-halt work (@aeoess, re: the halt-test line on our side). We can freeze a vector set from our lifecycle fixtures — including the negative and forgery cases — in whatever shape is most useful; say the word and we will prepare it.

Happy to adjust any row the maintainers read differently — the point of the file is that the divergences are written down where a consumer can see them.

Signed-off-by: Xinghua Zhao <zhaoxinghua09@gmail.com>

@aeoess aeoess left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zhaoxinghua09-cell Thanks for putting this together!

We already merged crosswalk/uibc.yaml in #268, which maps UIBC Core. This PR adds a second file for the same repository, but the two files disagree on five terms:

  • trust_verification, entity_continuity and security_posture are no_mapping in the existing file and partial here.
  • bilateral_receipt changes from no_mapping to false_analog.
  • decision_lineage is new and marked partial.

There's also a difference in what the seal covers. The existing file says identity, manifest and lifecycle, while the new one says identity and manifest.

We need to keep one crosswalk for the same system so readers aren't left with conflicting mappings.

Could you update crosswalk/uibc.yaml instead and explain which mappings changed and why? For the new partial mappings, please link to the relevant fields at the pinned commit and clarify what the spec defines versus what the verifier actually produces. We checked the original mappings against the verifier's output, so it's important to preserve that distinction.

If UIBC and UIBC Core are actually separate systems, please explain the difference and we can review them separately.

Thanks!

@aeoess aeoess left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correction. I wrote the points below without accounting for my earlier review on this pull request. That review stands. UIBC Core is already mapped in crosswalk/uibc.yaml (#268), so these changes belong in that file, not in a second one. The points below apply when you update it. Point 2 matches what uibc.yaml already records. On point 3, the existing uibc.yaml describes lifecycle as covered by the seal, while §2 of the pinned specification says the seal directly signs identity and manifest. Please clarify whether lifecycle.json is covered indirectly through the manifest and update the crosswalk to reflect the actual coverage.

I checked each row against docs/verdict-and-seal-semantics.md at 03b81b2 and against the vocabulary definitions. Most rows hold as written, including the bilateral_receipt false_analog and the open mode caveats. Four points on the rows themselves.

  1. Pin the spec links. The header says the rows were read at 03b81b2, but spec_url and the header links point to main, which is now 20 commits ahead. The semantics document has not changed since, so this only means replacing blob/main with blob/03b81b2bc272c6d2f1d17ebc249f4e8d456d211f.

  2. entity_continuity looks like no_mapping. The vocabulary defines it as proof that the same agent identity persists across an infrastructure change such as key rotation or host migration. The row says a rotated key starts a new binding, so the property the term exists for is absent. S3 checks that the lifecycle follows the state machine, which is a different property. Unless there is a mechanism I missed, I'd record this row as no_mapping and keep your note about rotation.

  3. decision_lineage: please say how entries link. The vocabulary requires each entry to reference its predecessor by content hash. In anchors/001/package/lifecycle.json each event's previous_event is the previous event_id, a UUID, not a hash. If that is the general format, the divergence should say so. It would also help to state whether lifecycle.json is covered by the manifest and so by the seal, because §2 says the seal covers the identity and the manifest only.

  4. replay_class: full_replay. That dimension asks what can be replayed from recorded evidence alone. A verifier can recompute S1 to S6 and the verdict from the package, which reads to me as decision_replay. full_replay would mean the recorded actions themselves can be replayed. Which do you mean?

zhaoxinghua09-cell added a commit to zhaoxinghua09-cell/agent-governance-vocabulary that referenced this pull request Nov 23, 2026
Addresses review on NOSAI-Federation#280: one crosswalk per system. uibc-core.yaml is
Addresses review on NOSAI-Federation#280: one crosswalk per system. uibc-core.yaml is

Signed-off-by: Xinghua Zhao <zhaoxinghua09@gmail.com>
@zhaoxinghua09-cell

Copy link
Copy Markdown
Contributor Author

Thanks for the careful review, and for checking the rows against the verifier output. I have followed the "one crosswalk per system" line: crosswalk/uibc-core.yaml is deleted in this PR and its content is folded into crosswalk/uibc.yaml. UIBC and UIBC Core are the same system (one repository, one verifier, one seal scheme), so there was no defensible reason for two files. The header of uibc.yaml now carries a dated revision note listing exactly what changed against the #268 version and why.

How each conflict was resolved:

  • bilateral_receipt → false_analog. Agreed with your reading. The handover pack exists (one party seals, the receiving party verifies, including --pubkey), but only the outgoing party signs; verification is a determination, not a co-signature over the same preimage, and no signed purpose is emitted. The previous no_mapping text overstated the absence.
  • trust_verification → stays no_mapping. The canonical term is a graded identity status (Grade 1-3, KYC presence, principal endorsement). S2 binds agent_id to key_id (SHA-256 of the public key) and checks consistency across the package, but that is a consistency check, not a verification status, and it carries no grade. The trust_level field describes the run (whether the seal key was pinned out of band), not the subject.
  • security_posture → stays no_mapping. The signed payload here is {"identity", "manifest"}, not the artifact itself, and lookup is by key_id or a verifier-supplied pin — there is no wallet. Mapping it to partial on the ground that "an artifact is signed" would have been the stretched reading.
  • entity_continuity → stays no_mapping, with the reason you gave written into the row: continuity across key rotation is the property the term exists for, and a rotated key currently starts a new binding.
  • decision_lineage → partial, with the linkage scheme and coverage boundary stated in the row.

On the linkage and seal coverage you asked about (point 3): each lifecycle event carries event_id (a UUID) and previous_event points at the previous event_id — not a content hash (see anchors/001/package/lifecycle.json at the pinned commit). Per-event signature exists in the format but is unratified and not covered by the seal (spec §3). What is committed is the sequence at its head: manifest.checkpoint_head = SHA-256(JCS({lifecycle_head, evidence_root, evidence_index_digest, evidence_count})), and lifecycle_head commits to (count, last_sequence_number, last_event_digest). So lifecycle.json is covered indirectly — at the head, not event by event. Middle events are not individually committed, and the seal itself signs only {"identity", "manifest"}. I have said this plainly in the row and corrected the file header, which previously described the seal as covering "identity + manifest + lifecycle".

On point 4: agreed, full_replay was wrong. replay_class is now decision_replay, with a comment in the file recording why: S1-S6 and the verdict can be recomputed from the package, but the recorded actions themselves cannot be replayed.

All spec and evidence links are now pinned to 03b81b2bc272c6d2f1d17ebc249f4e8d456d211f instead of main.

One thing outside this PR: the validate check currently fails with 9 errors, all in vocabulary.yaml (review_by 2026-11-23 passed for the proposed/reserved entries). That is date-triggered on the base tree, not caused by this file — validating locally, crosswalk/uibc.yaml produces no errors or warnings. Flagging it so the failure is not read as a defect in this change; I have not touched vocabulary.yaml.

This branch has not been deployed

No deployments
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.

2 participants