feat(domain): vendor the AI vendor classification registry artifact - #430
Closed
JeremyFunk wants to merge 1 commit into
Closed
feat(domain): vendor the AI vendor classification registry artifact#430JeremyFunk wants to merge 1 commit into
JeremyFunk wants to merge 1 commit into
Conversation
This was referenced Aug 11, 2026
JeremyFunk
force-pushed
the
ai/01-registry-artifact
branch
from
August 12, 2026 20:01
f3ea797 to
d6c7d9b
Compare
Adds `packages/domain/src/ai-registry/registry.json`, the compiled per-span AI/agent telemetry classification registry generated by trace-capture (pinned at cb29d84), plus `UPSTREAM.json` recording the pin and sha256 so drift is detectable without a diff, and a README explaining the artifact, its provenance, which of the two implementations reads it and why, and why the capture corpus is deliberately not vendored. The artifact is added on its own, with no consumers, so the ~280 KB of vendored JSON lands in a reviewable commit of its own. `.oxfmtrc.jsonc` ignores it: it is copied verbatim from upstream and formatting it would turn every future resync into a false diff. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
JeremyFunk
force-pushed
the
ai/01-registry-artifact
branch
from
August 12, 2026 20:04
d6c7d9b to
1860da6
Compare
Collaborator
Author
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.
What this layer contains
The vendored classification artifact and nothing that reads it:
packages/domain/src/ai-registry/registry.json— the compiled per-span AI/agent telemetry classification registry (21 vendors, 88 matchers, 29 session candidates, a 5-rule unknown tier).UPSTREAM.json— the trace-capture pin (cb29d84) and the artifact sha256, so drift is detectable without a diff.README.md— provenance, the four compile-time merge decisions, and why the capture corpus is deliberately not vendored..oxfmtrc.jsonc— ignoresregistry.json.Why it is shaped this way
The artifact is ~280 KB of generated JSON with no logic in it, so it lands alone: a reviewer can diff the data once here and never have to re-read it while reviewing the six behavioural layers stacked on top. It is a build output that happens to be checked in — trace-capture is the source of truth, and patching the artifact in maple to fix a classification bug is the thing the README exists to prevent. The oxfmt ignore is part of that: it is copied verbatim from upstream, and formatting it would turn every future resync into a whole-file false diff.
The README's "TypeScript consumers" section is deliberately absent here — those files do not exist yet. It arrives with them in the fourth PR of this stack.
Gates run at this level
bun run --cwd packages/domain typecheck— clean.oxlintandoxfmt --list-differentover the touched paths — no findings, no formatting differences.Dependencies
Based on
main. Nothing in the stack below it.🤖 Generated with Claude Code
Stack created with GitHub Stacks CLI • Give Feedback 💬
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.