Repository navigation
docs(specs): align the Python emitter and LiteLLM drafts with AID-EMIT-1 1.2.0 - #604
Merged
Merged
Conversation
…T-1 1.2.0 The #600 drafts were written against the two-vocabulary proposal (aid.* for AI Identity emitters, cpex.* for the CPEX family) that #603 replaced: 1.2.0 retires cpex.* for every emitter and widens the section 4 value space to the whole of RFC 8785. aid-emit-py.md: implements 1.2.0-draft; section 4.1 is now the section 1.2 member table with no vocabulary option (LiteLLM, a non-CMF host, writes aid.request_id and aid.litellm.*); the value-space check rejects only what JSON cannot carry; the in-tree canonicalizer is a full RFC 8785, ported from the validator, since sorted json.dumps no longer matches and the rfc8785 package rejects the stream epoch; the T1 note says the dispatch vector is unchanged by the rename; finding 2 is settled the other way by 1.2.0. litellm-aid-emit.md: field names per 1.2.0 section 1.2; the decision bullet records that 1.2.0 settled it. Docs only.
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
The drafts merged in #600 were written against the two-vocabulary proposal,
aid.*for emitters that target the AI Identity platform andcpex.*for the CPEX host family. #603 replaced it: AID-EMIT-1 1.2.0-draft retirescpex.*for every emitter (section 1.1), fixes one member table (section 1.2), and widens the section 4 value space to the whole of RFC 8785. This brings both drafts in line.docs/specs/aid-emit-py.md:vocabularyoption. LiteLLM does not speak CMF, so its adapter writesaid.request_idandaid.litellm.*(section 1.2, rule 2).scripts/aid_emit1_validator.py. Sorted, compactjson.dumpsno longer matches (code point key order, Python float form), and therfc8785package rejects integers beyond 2^53, which every stream epoch is.aid.*orcpex.*member, so T1 is unchanged by the rename; the decision and provenance vectors need theiraid-named copies. T7 needs ingest to readaid.streamand the epoch's exact digits.rfc8785Python package refuses every stream-stamped record.docs/specs/litellm-aid-emit.md: header and decision bullet use the 1.2.0 field names.One CHANGELOG line under Changed, since the #600 entry describes the superseded proposal.
Testing
cpexvocabulary", "proposed 1.2.0") is left; run twice, the second run refuses.ruff format --check .with the pinned ruff 0.16.9: clean (no Python code block changed).