Add AgentAd ad schemas as a LogicSRC primitive#10
Open
ralyodio wants to merge 2 commits into
Open
Conversation
AgentAd is a disclosed, agent-readable advertising contract for CLI tools
and AI agents. LogicSRC owns the canonical schemas; cl1s.tech is the
reference network built on them.
- packages/schemas: agentad-{ad,placement,ad-request,ad-response,
impression,click,campaign} schemas (id under schemas.logicsrc.com) +
ad/placement fixtures, exported from @logicsrc/schemas
- packages/validators: register the 7 agentad kinds, wire fixture
validation, add tests (disclosure.sponsored must be true)
- docs/agentad.md: the AgentAd spec
- README: list AgentAd under v1 priorities
Validators build clean; all fixtures validate; vitest 4/4 green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
vu1nz Security Review0 finding(s) in PR #? No security issues found. |
Add license, repository, homepage, keywords, publishConfig (public), and a package README covering both the logicsrc-* core schemas and the agentad-* family. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Adds AgentAd — a disclosed, agent-readable advertising contract for CLI tools and AI agents — as a LogicSRC primitive family. LogicSRC owns the canonical schemas; cl1s.tech is the reference network built on them.
What's added
packages/schemas/schemas/agentad-*.schema.json— ad, placement, ad-request, ad-response, impression, click, campaign ($idunderhttps://schemas.logicsrc.com/)packages/schemas/fixtures/agentad-{ad,placement}.yaml, exported from@logicsrc/schemaspackages/validators— registers the 7agentad-*kinds, wires fixture validation, adds tests (an ad withdisclosure.sponsored: falseis rejected)docs/agentad.md— the AgentAd specDesign
agentad.adrequiresdisclosure.sponsored: trueand a visible label, so a unit can never be mistaken for organic output.machine_readablepayload;consumer: agentrequests get the structured view with an explicitsponsoredflag.Verification
@logicsrc/validatorsbuilds clean (tsc)validate:fixturespasses for task, agent, agentad-ad, agentad-placementvitest4/4 green🤖 Generated with Claude Code