Skip to content

release: 0.6.0 — auto-refresh (scheduled rescoring)#7

Merged
hsnice16 merged 3 commits into
mainfrom
release/0.6.0
May 20, 2026
Merged

release: 0.6.0 — auto-refresh (scheduled rescoring)#7
hsnice16 merged 3 commits into
mainfrom
release/0.6.0

Conversation

@hsnice16
Copy link
Copy Markdown
Owner

Summary

Cuts 0.6.0 — auto-refresh. Ships the single user-facing capability the
milestone was named for, and defers the v2 alternatives item with a
written-down rationale.

  • Scheduled rescoring.github/workflows/scheduled-rescore.yml runs
    bun run seed every 6 hours, commits data/rank.db to main only when an
    overall_score actually changed (last_scored_at churn filtered out via a
    sqlite3 snapshot diff). No new infra, no new deps.
  • Score-delta on the repo pagerepo.previous_overall_score captured
    for free on every UPSERT. RepoHero inlines ±N.N pts next to "Last
    scored", hidden on a repo's first scoring.
  • 16 new curated seeds across JS/TS, Python, Rust, Go, Java, Ruby,
    .NET.
  • 0.6.0/02 alternatives-v2 (embeddings) deferred — no user-signal
    demand, pre-traction scale hurts cosine-similarity quality, and
    @xenova/transformers (~50 MB) would bloat both sibling dist/s.
    Lighter-weight options noted in the task file.
  • Docs syncAGENTS.md, .claude/settings.json,
    tasks/0.6.0/README.md, methodology FAQ, /roadmap description, and the
    stale tasks/0.3.0/ references.
  • Misc — dedicated home app/opengraph-image.tsx (1200×630),
    /llms.txt added to sitemap, Panel heading h3 → h2, shared row-shape
    types extracted to lib/types/db.ts.

Audit before cutting

  • bun x tsc --noEmit clean, 160/160 tests pass.
  • .env gitignored; only .env.example (placeholders) in git. No tokens /
    keys / passwords in source. Workflow uses secrets.GITHUB_TOKEN.
  • Version bump consistent across package.json, lib/version.ts,
    README.md, AGENTS.md, .claude/settings.json.
  • Per AGENTS.md "moved not duplicated" — 0.6.0 removed from
    lib/roadmap.ts in this PR.
  • Changelog entry is user-facing-only.

hsnice16 and others added 2 commits May 20, 2026 11:03
Adds a 6-hourly GitHub Actions cron that re-runs `bun run seed` and
commits the refreshed `data/rank.db` to `main`. Surfaces the
overall-score delta from the previous rescore on the repo detail
page. Downscoped from the original webhook + queue design — see
tasks/0.6.0/01-scheduled-rescoring.md for the rationale.

Pieces:
- .github/workflows/scheduled-rescore.yml — cron + concurrency
  group + sqlite3-snapshot diff so unchanged-score runs skip the
  commit (last_scored_at churn would otherwise force a binary diff).
- lib/db.ts — new `previous_overall_score REAL` column; the UPSERT
  captures the row's pre-update overall_score on every rescore.
- lib/types/db.ts — extracted shared row-shape types out of
  lib/db.ts (RepoRow, LeaderboardRow, …). Consumers now import from
  @/lib/types/db.
- components/RepoHero.tsx — inline `+N.N pts` / `-N.N pts` next to
  "Last scored" in text-ok / text-bad; aria-label carries the
  previous absolute score for screen readers.
- scripts/seed-list.ts — 16 new seed repos across JS/TS, Python,
  Rust, Go, Java, Ruby, and .NET so the cron has more material.
- data/rank.db — re-seeded against the new schema.

SEO + polish bundled in:
- app/layout.tsx — googleBot robots directives
  (max-image-preview=large, max-snippet=-1, max-video-preview=-1)
  and OG image dimensions corrected to the actual file size
  (2312×924).
- components/Panel.tsx — PanelHeading rendered as h2 (was h3) so
  every page has a clean h1 → h2 heading hierarchy.
- app/sitemap.ts — privacy / terms now use a fixed
  LEGAL_LAST_UPDATED date instead of `now`, so legal pages don't
  churn lastmod on every deploy.

Docs sync:
- AGENTS.md, README.md, CONTRIBUTING.md, methodology FAQ, roadmap
  entry, tasks/0.5.0/02, tasks/1.0.0/01-02, and the SessionStart
  hook updated to reference the scheduled-rescore cron instead of
  the deferred webhook design.

APP_VERSION stays at 0.5.0 — 0.6.0 still has task 02 (alternatives
v2 embeddings) outstanding, so no changelog bucket yet.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Bump APP_VERSION / package.json to 0.6.0 and add the 0.6.0 changelog
  entry (scheduled rescoring + repo-page score delta + 16 new seeds).
- Remove 0.6.0 from lib/roadmap.ts (released) and mark 0.6.0/02
  (alternatives-v2 embeddings) deferred to backlog with the rationale
  and lighter-weight options.
- Sync AGENTS.md status block, .claude/settings.json SessionStart
  banner, tasks/0.6.0/README.md, and the stale 0.3.0 references that
  pointed at the deferred v2 upgrade.
- Add a dedicated home-route opengraph-image.tsx (1200x630) and add a
  `deferred` status to tasks/README.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-friendly-code Ready Ready Preview, Comment May 20, 2026 7:55am

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 20, 2026

Agent Friendly Code — score diff

Overall: 90.7 → 90.7 (±0.0)

Per model

Model Base Head Δ
Claude Code 95.3 95.3 ±0.0
Cursor 85.5 85.5 ±0.0
Devin 94.8 94.8 ±0.0
GPT-5 Codex 96.3 96.3 ±0.0
Gemini CLI 85.5 85.5 ±0.0
Aider 86.5 86.5 ±0.0
OpenHands 85.4 85.4 ±0.0
Pi 96.6 96.6 ±0.0

No signals changed between base and head.


Posted by agent-friendly-action.

…ards

Extract OG_DEFAULTS and TWITTER_DEFAULTS in lib/version.ts and spread them
into every page's metadata — Next.js shallow-merges these objects, so
defaults must be re-spread on every page. Drop the inline /demo/light.png
override from the root layout in favour of the auto-wired
app/opengraph-image.tsx, and add matching twitter-image.tsx re-exports at
app/ and app/repo/[id]/ so the Twitter card uses the same generated image.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hsnice16 hsnice16 merged commit dfd72aa into main May 20, 2026
4 checks passed
@hsnice16 hsnice16 deleted the release/0.6.0 branch May 20, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant