Repository navigation
docs(skills): close three #1496 follow-up review items + seller adapter format slot sweep - #1515
Merged
Merged
Conversation
…er format slot sweep Three single-reviewer items deferred from #1496 expert review, plus a related sweep on the seller-non-guaranteed format catalog. - skills/cross-cutting.md — Added "Quick reference" TOC at the top mapping each rule to its slug-anchor. Skills + PR reviews can now deep-link to specific rules instead of pulling the whole file (docs-expert deferred). - skills/build-seller-agent/SKILL.md — Specialism subpage bullets reframed as `specialism → when to read → what's in it`. Adopters cold-reading the skill triage to the right subpage in one pass instead of skimming what's-about-it bullets that don't say when to use them (docs-expert deferred). - skills/build-signals-agent/SKILL.md — Added "What to delete if you're single-specialism `signal-owned`" block naming concrete symbols (the UpstreamCohort multi-provider seed, the `(data_provider_domain, data_provider_id)` filter paths, signal_type values, marketplace governance sub-scenario) plus a "Keep" list so adopters don't accidentally delete tenant isolation. Mirrors the convergent governance + brand-rights fix from #1496 (dx-expert deferred). - examples/hello_seller_adapter_non_guaranteed.ts — Spotted while sweeping for related drift: listCreativeFormats returned formats with no `assets[]` declarations, so buyers had no spec-aligned slot list for sync_creatives manifests per creative-manifest.json:14. Added input slots (image + click_url for display, video + click_url for video) using FormatAsset builders from @adcp/sdk. Pure additive. Validated: fork-matrix 23/23, typecheck + format clean. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Two single-reviewer polish items:
- skills/build-signals-agent/SKILL.md fork-target table cell — replaced
"Fork the marketplace adapter; collapse the multi-provider seed"
("collapse" residual jargon) with explicit pointer to the deletion list:
"Fork the marketplace adapter; see deletion list below". Anchor link
matches the H3 slug.
- Aligned the H3 ("delete") with the callout body ("delete or replace
these seams") so a single-specialism reader scanning for "delete" lands
on actionable language.
Also kept docs-expert's flagged minor redundancy (`signal_type: 'custom'`
clarification appears in both the deletion list and the deltas-at-a-glance
block) — DX explicitly said "file a follow-up; don't block on it." This
PR ships clean.
fork-matrix 23/23, typecheck + format clean.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Contributor
Author
Expert review summary (one round, three reviewers)Verdict: ship. No convergent blockers.
Minor redundancy DE+DX both noted ( Final state: fork-matrix 23/23, typecheck + format clean. |
Contributor
Author
|
Acknowledged — three-reviewer verdict is ship, no blockers. The Generated by Claude Code |
bokelley
added a commit
that referenced
this pull request
May 3, 2026
Pulls in 4 commits: - docs(skills): close three #1496 follow-up review items + seller adapter format slot sweep (#1515) - docs(migration): add recipe #10b for derived-mode account_id refusal (#1492) (#1512) - fix(codegen): preserve asset_type discriminator on Individual*Asset slot types (closes #1498) (#1514) - fix(examples): wire assertMediaBuyTransition into hello_seller_adapter_non_guaranteed (closes #1499) (#1513) Conflict resolution: - src/lib/types/core.generated.ts: kept the 3.0.6 generation header from HEAD; ran `npm run generate-types:all` against the local mirror to pull in main's #1514 codegen fix (asset_type discriminator preserved on Individual*Asset slots) layered on top of 3.0.6 schemas. - test/examples/hello-seller-adapter-non-guaranteed.test.js: kept main's empty allowlist + new helper-shape conditional. Main's #1513 closes #1416 by actually wiring `assertMediaBuyTransition` into the non-guaranteed adapter — superseding the follow-up note my branch carried. Verified post-merge: - npm run build clean - 6/6 hello-adapter tests for the modified files green - npm run format:check clean Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
3 tasks done
bokelley
added a commit
that referenced
this pull request
May 3, 2026
…cutting anchors (#1519) * docs(skills): SHAPE-GOTCHAS §7 signal_type + build-* deep-link cross-cutting anchors Two follow-ups from PR #1515 expert review. SHAPE-GOTCHAS §7 (skills/SHAPE-GOTCHAS.md): - Added decision table for signal_type: marketplace / owned / custom per schemas/cache/3.0.5/enums/signal-catalog-type.json. Covers the most-common adopter mistake — first-party data agents (Kroger 84.51°, Walmart Connect, publishers) mis-classifying their segments as 'custom' when they have a standing data asset behind them (it's 'owned'). 'custom' is reserved for per-call agent-native segments without standing provenance. - Replaced both duplicate inline clarifications in build-signals-agent/SKILL.md (lines 25 and 61) with pointers to §7 (DX + DE convergent: known footgun better captured as SHAPE-GOTCHAS than skill-prose repetition). Build-* skill deep-links (DE deferred from #1515): - Each build-*-agent/SKILL.md "Cross-cutting rules" section now lists the high-traffic rules with anchor deep-links to the specific cross-cutting.md rule (e.g., seller links [idempotency_key](../cross-cutting.md#idempotency_key-...) directly). Adopters land on a 5-line block instead of pulling the full 73-line file. - 8 skills updated: seller, creative, signals, governance, brand-rights, generative-seller, retail-media, si, holdco. Each surfaces 3-5 rules most relevant to that adopter persona; bare cross-cutting.md link kept as "read it once cold" pointer. Validated: fork-matrix 23/23, typecheck + format clean. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * docs(seller): drop unique tail-line for symmetry across the 9 build-* skills docs-expert noted the seller skill alone carried the trailing "Read the file once cold; deep-link from your code reviews afterward." line; the other 8 skills end the cross-cutting section right after the bullet list. Dropped for symmetry — wording-only nit. Validated: format check clean. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
Merged
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
Closes three single-reviewer items deferred from PR #1496 expert review, plus a related sweep on the seller-non-guaranteed format catalog.
cross-cutting.mdspecialism → when → whatsignal-owneddeletion-fork seam listassets[]tohello_seller_adapter_non_guaranteed.tsWhat changed
skills/cross-cutting.md— Added a "Quick reference" TOC at the top mapping each rule to its slug-anchor. Skills + PR reviews can now deep-link to specific rules instead of pulling the whole 73-line file. Adopters land on a 5-line block.skills/build-seller-agent/SKILL.md— Specialism subpage bullets reframed asspecialism → when to read → what's in it. Each entry leads with the trigger (e.g., "read before coding if you claimsales-guaranteed", "read if your inventory clears at request time"). Adopters triage to the right subpage in one pass.skills/build-signals-agent/SKILL.md—signal-owneddeletion-fork now names concrete symbols:UpstreamCohortseed with single-provider catalog(data_provider_domain, data_provider_id)filter paths ingetSignalssignal_type: 'owned'(not'marketplace'); reserve'custom'for non-user-identity signalsPlus a "Keep" list so adopters don't accidentally delete
createTenantStore,agentRegistry, or the platform/agent activation polling logic. Mirrors the convergent governance + brand-rights deletion-fork pattern from #1496.examples/hello_seller_adapter_non_guaranteed.ts— Spotted while sweeping for related drift:listCreativeFormatsreturned formats with noassets[]declarations, so buyers callingsync_creativeshad no spec-aligned slot list percreative-manifest.json:14. Added input slots —image+click_urlfor display formats,video+click_urlfor video formats — using the sameFormatAsset.{image,video,url}builder pattern as #1511. Pure additive.Test plan
npm run compliance:fork-matrix— 23/23 in ~15snpm run typecheckcleannpm run format:checkclean🤖 Generated with Claude Code