Skip to content

fix(collections): retire five stale collections - #326

Merged
harlan-zw merged 3 commits into
mainfrom
fix/retire-stale-collections
Sep 30, 2026
Merged

harlan-zw merged 3 commits into
mainfrom
fix/retire-stale-collections

Conversation

@harlan-zw

@harlan-zw harlan-zw commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

❓ Type of change

  • 🧹 Chore

📚 Description

Two stale collection pages still returned 200 and sat in the authors sitemap. The old featured trio needs a different treatment.

/api/collections/featured reads only harlan-zw rows with featured = 1. Production returns exactly the three -stack collections. If they were soft-deleted, the homepage band would show "No collections are featured right now." Also, curator_count and curator_reason_count count live collections only. Retiring the trio would remove a trust signal that some Skills use for indexability.

So the trio stays live and featured in D1. No 301, no soft delete. Their pages render noindex,follow, and the authors sitemap drops them.

URL Status Robots In D1
/@harlan-zw/agent-building-stack 200 noindex,follow live, featured
/@harlan-zw/agent-workflow-stack 200 noindex,follow live, featured
/@harlan-zw/typescript-engineering-stack 200 noindex,follow live, featured
/@harlan-zw/apple-apps 410 none soft-deleted by 0130
/@harlan-zw/knowledge-workspace 410 none soft-deleted by 0130

The 410 middleware also matches the percent-encoded /%40harlan-zw/... form.

Both groups live in shared/retired-collections.ts, with a dated comment for why the trio stays. #325's retired sitemap should read the retired group only.

Loose end: scripts/seed-homepage-collections.sql still recreates retired slugs if rerun. Other retired slugs already behave that way, so I left it.

📝 Migration

migration-naming fails until #320 and #322 merge, because 0128 and 0129 are missing.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

Redirect the old featured trio to category pages, answer 410 for the two that no page absorbed, and soft-delete all five in migration 0130.
@harlan-zw

harlan-zw commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator Author

🤖 REVIEWING · 35% · Git worktree ready

Harlan Agent Kit posted this automated review. AI open source policy. Last updated: 2026-09-30 05:49 UTC.

Next: Review the diff.

  • Stop Review and any follow-up repair

Leave unchecked to finish Review after merge.

@harlan-zw harlan-zw added the harlan-agent-pending The automated Review is waiting on a gate for this head commit. label Sep 30, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. and removed harlan-agent-pending The automated Review is waiting on a gate for this head commit. labels Sep 30, 2026
The featured endpoint and the curator counts read live collections. Retiring the trio would empty the homepage band and drop a trust signal. Pages render noindex,follow and leave the authors sitemap. The 410 middleware also matches the %40 form.
@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Sep 30, 2026
@harlan-github-agent

harlan-github-agent Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

🤖 MERGED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-09-30 10:01 UTC.

GitHub merged this pull request.

  • Logged (20/100): Rerunning the homepage seed script resurrects the two soft-deleted collections. View code
    • Ask an agent to verify and fix this finding

62c2396f-b83f-4afc-87e7-f6a10e072f52

Selected findings run after merge and open separate pull requests.

@harlan-github-agent harlan-github-agent Bot added harlan-agent-blocked The automated Review found a material defect in this head commit. harlan-agent-running An Agent holds a Task on this issue or pull request right now. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. harlan-agent-blocked The automated Review found a material defect in this head commit. labels Sep 30, 2026
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-running An Agent holds a Task on this issue or pull request right now. label Sep 30, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-ready The automated Review passed every gate on this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. labels Sep 30, 2026
@harlan-zw
harlan-zw merged commit 73464c3 into main Sep 30, 2026
6 checks passed
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-ready The automated Review passed every gate on this head commit. label Sep 30, 2026
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