Repository navigation
docs(spec): AID-EMIT-1 1.2.0-draft adds the aid vocabulary - #602
Merged
Merged
Conversation
Section 1.1 pinned the cpex.* / cmf.* unmapped field names to the CPEX host family and said a host with a different message format would motivate AID-EMIT-2. The signing, chain and stream rules do not depend on the host, only the names do, so 1.2.0 resolves that case additively. New section 1.2, Vocabularies: a vocabulary names the unmapped members that carry the format's own facts. cpex keeps the section 1.1 names; aid (aid.stream, aid.decision, aid.span, aid.content, aid.request_id, aid.<host>.*) is for emitters that target the AI Identity platform and OCSF rather than a gateway. Rules: same structure and semantics; one vocabulary per record; verifiers read aid first and surface a record with stream stamps under both; under aid, facts with a native OCSF field must use it; no covered-bytes change; no in-record marker; non-CPEX emitters conform as Emitters and document how they attach. Sections 7, 8, 9, 12 and 13 name the aid counterparts. Version 1.2.0-draft, MINOR: no covered byte, existing record or vector changes.
Levaj2000
marked this pull request as ready for review
October 12, 2026 21:13
Levaj2000
added a commit
that referenced
this pull request
Oct 12, 2026
main gained #601 and #602, which both added CHANGELOG entries at the top of Unreleased, so CHANGELOG.md conflicted. Resolved by taking main's CHANGELOG and re-adding this PR's one entry under Added. Also formats the EmitterConfig example in docs/specs/aid-emit-py.md the way ruff 0.16.9 (pinned in requirements-dev.txt) does: it formats Python code blocks inside Markdown, and ruff format --check failed CI on it. Content unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AID-EMIT-1 1.2.0-draft. Section 1.1 pinned the
cpex.*/cmf.*field names to the CPEX host family and pointed any host with a different message format at AID-EMIT-2. The signing, chain and stream rules do not depend on the host; only the names do. This resolves that case additively instead of forking the spec.unmappedmembers that carry the format's own facts.cpexkeeps the section 1.1 names.aid(aid.stream,aid.decision,aid.span,aid.content,aid.request_id,aid.<host>.*) is for emitters that target the AI Identity platform and OCSF rather than a gateway, starting with the LiteLLM adapter designed in docs(specs): Python AID-EMIT-1 emitter and LiteLLM adapter design drafts #600.aidfirst and SHOULD surface a record with stream stamps under both; underaid, a fact with a native OCSF field MUST use it and MUST NOT be repeated underunmapped; no covered-bytes change and the same wire-name stability as section 1.1; no in-record vocabulary marker; a non-CPEX emitter conforms as an Emitter and documents how it attaches, including whether it sees denied requests.aidcounterparts in place. Section 12 notes that noaidvector exists yet. Section 13 records 1.2.0 as MINOR.1.2.0-draft, date 2026-10-12. CHANGELOG entry under Added.Needs a human pass
Standards-facing wording. The normative choices to check:
W-STREAM-VOCAB; platform ingest records an anomaly). That keeps mixed records verifiable rather than rejected.aidonly, so no existingcpexrecord becomes non-conformant.Testing
Spec text only. The edits apply to the current
maincopy ofdocs/specs/aid-emit-1.mdat ten exact-match anchors, all or nothing. The validator merged in #601 already reads both vocabularies in the order rule 2 states.