Repository navigation
docs(accounts): add buyer agent setup walkthrough for the principal layer - #7974
Merged
Merged
Conversation
…ayer Adds docs/accounts/principal-registration-walkthrough.mdx, the buyer-side walkthrough for the experimental principal layer: seller-issued credentials (workload identity for agents, own login for interactive users), capability discovery, sync_principal declarations / webhook / reusable destination with the action_required -> ready proof flow, account feed binding through sync_accounts, get_principal readback, the kill switch, and the principal.changed webhook. Includes a section for running the subset the public training agent supports. Cross-linked from sync_principal, get_principal, the accounts overview, and the 3.2 guide. Every schema-tagged example validates against the 3.2.1 principal schemas. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — docs-only PR, no blocking findings.
This PR adds a 442-line buyer-side walkthrough for the experimental principal layer plus four cross-links, with a correct patch changeset present. No schema, dist, or oneOf changes; based on main.
Checks performed:
- Schema↔docs coherence: every wire-shape claim verified against source schemas — get_principal
kindarms, sync_principalactionenums, destination states/setup actions (match agent-reporting-destination-state.json),adcp.principalcapabilities fields, principal.changed webhook fields/reason enum (match principal-changed-webhook.json), declarations readback fields,destination_suspendedtyped issue, anddestination.mode: "existing"+destination_refbinding. All coherent. - Changeset: patch changeset present and in scope for a docs addition.
- Naming/characters/companies: Sam, Priya, Pinnacle Agency, StreamHaus, Nova Motors all canonical per specs/character-bible.md.
high_risk is true only because docs/reference/whats-new-in-3-2.mdx is a cross-link edit matching docs/reference/**; it is a modification with no medium-or-higher finding, so it is presumed safe and does not escalate. gated_paths is false. No Critical/High/Medium findings. Falls through to row 9 — approve.
This was referenced Oct 9, 2026
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
Adds the buyer-side walkthrough for the experimental principal layer:
docs/accounts/principal-registration-walkthrough.mdx("Set up your buyer agent with a seller"), a sibling of the provisioning walkthrough.Closes #7057 (supersedes #7943, which GitHub auto-closed when its stacked base branch was deleted)
Rebased onto main after #7938 (the reference seller) merged.
The page follows Sam at Pinnacle Agency and Priya at StreamHaus through:
get_adcp_capabilities→adcp.principal, supported sections, reporting offeringsget_principal→recognizedsync_principalwith declarations, a webhook, and a reusable destination, including theaction_required→readyproof flowsync_accountsauthorization and feed binding (reporting_delivery_configswithdestination.mode: existing)get_principalreadback, the kill switch, and theprincipal.changedwebhookIt carries the experimental banner (in the
list_account_changesstyle), and says throughout that principal configuration grants no account authority. Cross-linked fromsync_principal,get_principal, the accounts overview, and the 3.2 guide.Judgment calls
docs.jsonedit. Since the 3.2 GA snapshot flip, every nav page is adist/docs/<version>/…path and source docs are only added to nav at the next release snapshot;test:docs-navpasses. Nothing to add for a main-only page.reporting_destinationsanddeclarationsonly, simulates proof, and fires noprincipal.changed, so the main story shows a full-featured seller (StreamHaus) and a separate section shows the runnable subset.docs/accountsand cross-links).Testing
node tests/json-schema-validation.test.cjs --file docs/accounts/principal-registration-walkthrough.mdx: 8/8\$schema-tagged blocks valid againststatic/schemas/source, and all the principal blocks also validate against the releaseddist/schemas/3.2.1principal schemas (thesync-accounts-requestblock cannot be compiled from the 3.2.1 dist bundle because of an unresolved ref, so it is checked against source only).npm run test:docs-nav,test:doc-compliance-drift,test:compliance-snippets,test:release-instrumentation,test:owned-links,check:seo(page not flagged): pass.node scripts/check-changeset-protocol-scope.cjs origin/mainandchangesets status: pass.fixed-trace-rollout-typecheck-wiring30s timeout noted on feat(training-agent): implement sync_principal and get_principal #7938); the relevant docs suites were run by hand.🤖 Generated with Claude Code
Open workspace in Conductor