← back to AbramsEgo

build-queue/done/51-affiliate-cabinet-select.md

26 lines

# AbramsEgo task 51 — A2A CABINET selects the top affiliate vendors — TK-10132

Depends on task 50's output `data/affiliate-research.jsonl`. If that file is missing or empty,
write `data/affiliate-selection.json` as `{"error":"no research input","selected":[]}` and stop.

This is the "consult with A2A for best methods" node — INTERNAL agent-to-agent consultation
(the real A2A protocol is scoped separately in task 53). Run it on LOCAL models ($0):

1. Use /dtd (Debate Team Decide) to COMMIT a ranking of the researched candidates. Rank by a
   blended score: commission value (weight recurring > one-time) × audience-fit × program trust
   × cookie-window length. Verified-number candidates outrank unverified ones.
2. Have vp-abramsego (the officer) sign off on the shortlist, and run the `contrarian` agent to
   red-team it ("are these actually high-commission, actually reputable, actually relevant — or
   just the ones with the loudest marketing?"). Fold the dissent in.
3. Select the top 6-8. Drop any candidate whose commission rate could NOT be verified (leave it
   in a `deferred` list with the reason, don't silently keep it).

RAILS: read + reason only. No signups, no registry writes, no active flips, no spend beyond the
local models. Do not deploy or push.

OUTPUT: write `data/affiliate-selection.json`:
{ "selected": [ {slug, label, category, commission, cookie_days, approval, join_url,
  score, rationale} ], "deferred": [ {slug, reason} ], "dissent": "<contrarian's strongest
  surviving objection>" }
Then commit `select: cabinet-ranked top affiliate vendors (TK-10132)`. Print the ranked list.