feat(comments): Gittensor viral loop — earn footer + minimal invite + AI assessment - #620
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
gittensory-ui | cdd081d | Commit Preview URL Branch Preview URL |
Jun 12 2026, 02:24 PM |
|
gittensory · advisory review Reviewed 8 changed file(s) — two independent AI reviewers. Suggested action: ✅ Safe to merge — both reviewers found no blocking issues. Reviewer A · Suggestions
Worth double-checking
Reviewer B · Suggestions
Worth double-checking
|
|
Note Gittensory Gate skippedPR closed before full evaluation. No late first comment was created.
Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers. |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
56ce890 to
c570547
Compare
Adds a shared `gittensoryFooter()` (src/github/footer.ts) used by the PR panel, command responses, and the closed-PR notice. It ALWAYS renders an 'earn for your contributions → register to start earning' CTA — a permanent, free marketing surface on every reviewed PR (the link persists forever): non-registered authors see the invite, and viewers of a registered contributor's PR see it too. The CTA points at the repo's public Gittensor miner page (social proof for that repo). Uses only 'earn' wording — never reward/payout/score (those throw in sanitizePublicComment); a unit test guards the invariant. The registered/non- registered distinction belongs in the review body (full panel vs. minimal), not here.
When a PR author has no Gittensor footprint (not detected via official API or cache), gittensory's readiness/contribution analysis doesn't apply — so post a brief welcome + earn invite instead of the full readiness panel. A known contributor (official or cached) still gets the full review. The always-on earn footer appears either way. Keyed on detection.detected so cached contributors keep the full panel. Adds a minimal-invite unit test.
90ba298 to
cdd081d
Compare
Three cohesive upgrades to the gittensory PR comment that serve the Gittensor growth mandate (more outside contributors + more registrations via our repos). All shipped together; signed commits.
1. Always-on earn footer
Every reviewed PR carries a permanent "Earn for open-source contributions like this → register to start earning" CTA (the link persists forever — free marketing on every PR). Points at the repo's public Gittensor miner page (social proof). Used by the PR panel, command responses, and the closed-PR notice.
2. Minimal invite for non-registered contributors
A contributor with no Gittensor footprint (
detection.detected === false) gets a brief welcome + earn invite instead of the full mining-readiness panel (which doesn't apply to them). Known contributors (official or cached) still get the full review. The earn footer appears either way.3. Combined AI assessment (enabled)
For known contributors, the panel now includes a 🤖 AI assessment — one short, public-safe note useful to both the contributor (how to get this PR reviewed/accepted faster) and the maintainer (what it does + any risk). Reuses the existing
ai-summarieslayer: daily neuron budget, public-forbidden-word sanitizer, and a guaranteed fail-safe (the deterministic panel stands alone if AI is disabled/over budget/unsafe). EnablesAI_SUMMARIES_ENABLED+AI_PUBLIC_COMMENTS_ENABLED.Safety / quality
sanitizePublicComment); unit tests guard both the footer and the AI output.AI_DAILY_NEURON_BUDGET=10000/day).