support manager domain fallback
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 57/100
Research direction
Start with the validate_adagents path and the AdAgentsValidationResult definition; the issue does not name specific files or tests. Trace the existing direct and URL-reference discovery paths, then add the one-hop ads.txt MANAGERDOMAIN fallback and cover the listed cases. Done means the discovery fields are exposed and all six specified behaviors are tested.
Written by the indexing model from the issue text.
Description
Background
(RFC 4175) merged the ads.txt MANAGERDOMAIN fallback for adagents.json discovery into the spec and adcp repo. The validator now:
- Attempts
/{publisher}/.well-known/adagents.jsonfirst - On 404, consults
/{publisher}/ads.txtfor aMANAGERDOMAIN=directive - If found, attempts
/{manager}/.well-known/adagents.json - Surfaces
discovery_method: 'direct' | 'authoritative_location' | 'ads_txt_managerdomain'(required) andmanager_domain?: stringonAdAgentsValidationResult
adcp-go needs to implement this fallback logic and expose the new fields.
Implementation
- Implement the one-hop
ads.txt MANAGERDOMAINfallback in thevalidate_adagentspath - Add
discovery_method: DiscoveryMethod(required, defaults to'direct') andmanager_domain?: stringtoAdAgentsValidationResult - Export
DiscoveryMethodtype -
MANAGERDOMAIN=directive form only — comment form (# managerdomain=) must be rejected - Ambiguous/duplicate
MANAGERDOMAINlines: last-wins (IAB-aligned per #4173 resolution) - Manager domain 404 → terminal failure (not silent pass)
Test coverage
- Direct path sets
discovery_method: 'direct' - URL-reference path sets
discovery_method: 'authoritative_location' - Manager domain path sets
discovery_method: 'ads_txt_managerdomain'and populatesmanager_domain - Comment-form
# managerdomain=is NOT followed - Duplicate
MANAGERDOMAINlines → last entry wins - Manager domain 404 → validation failure
Refs: adcontextprotocol/adcp#4173, adcontextprotocol/adcp#4175
- Dominant language
- Go
- Stars
- 4
- Forks
- 2
- Avg merge
- 13h 10m
- Merged PRs (30d)
- 20
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from adcontextprotocol/adcp-go
-
CreativeInput carries no revision_id or localization (follow-up to #545)Possibly taken @sujanchalla0510 claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
adcontextprotocol/adcp-go#567 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
adcontextprotocol/adcp-go#588 ·
Maintainers usually reply within 1 day
-
Replace the hand-written RFC 9421 layer in adcp/v3/signing with httpsign and httpsfvPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
adcontextprotocol/adcp-go#579 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
adcontextprotocol/adcp-go#576 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
adcontextprotocol/adcp-go#577 ·
Maintainers usually reply within 1 day
All issues in adcontextprotocol/adcp-go
Similar issues
-
OCIRepository: pick the Helm chart layer automatically when the first layer is a provenance fileOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
fluxcd/source-controller#2198 ·
Maintainers usually reply within 1 day
-
webhook: mutating admission silently allows objects when createPatch fails (error discarded)Possibly taken @lemonzoey claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
volcano-sh/volcano#6138 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
area/frameworks area/steve kind/bug team/frameworks
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day