Skip to content

Fix feed-motd.json Pages 404 and scrub stale TeoSlayer references - #16

Merged
TeoSlayer merged 1 commit into
mainfrom
fix/feed-motd-404-and-stale-refs
Jul 13, 2026
Merged

TeoSlayer merged 1 commit into
mainfrom
fix/feed-motd-404-and-stale-refs

Conversation

@TeoSlayer

Copy link
Copy Markdown
Collaborator

What & why

Two verified bugs in the published GitHub Pages surface.

1. feed-motd.json returns 404 on Pages (MED)

Root cause: The Assemble Pages bundle step in .github/workflows/render.yml copies every sibling feed into _site/ with explicit cp lines, but feed-motd.json was never on the list. So https://pilot-protocol.github.io/pilot-changelog/feed-motd.json 404'd while feed.json and the other feed-*.json returned 200. The source file is produced by scripts/render.py at repo root exactly like the other per-scope feeds (the motd scope) — it was simply omitted from the bundle copy. Fixed by adding feed-motd.json to the cp line, matching the existing per-file copy style.

2. Stale TeoSlayer/* and teoslayer.github.io references (MED)

The repo moved from TeoSlayer/* to pilot-protocol/*; the old Pages URLs are dead 404s.

  • scripts/render.py: PAGES_BASE_URL and REPO_URL now point at pilot-protocol. index.json's repo field previously had a second hardcoded TeoSlayer literal — it now reuses REPO_URL so there is a single source of truth (fixes the generated index.json at the source, not just the committed artifact).
  • render.yml comment updated to the pilot-protocol.github.io URL.
  • README.md, SCHEMA.md, and entry markdown refs updated (github.com/TeoSlayer/*pilot-protocol, teoslayer.github.iopilot-protocol.github.io, raw.githubusercontent.com/TeoSlayer/*pilot-protocol).
  • Regenerated all deterministic outputs (feed*.json, feed.md, feed.xml, index.json, docs/*) via scripts/render.py.

Intentionally left: clawhub.ai/teoslayer links and the "Account is teoslayer" prose in the ClawHub entry — ClawHub is a separate third-party platform not covered by the GitHub org rename, and that prose is a factual historical statement.

Verification

  • python3 scripts/test.py → 23 passed, 0 failed
  • python3 scripts/validate.py → ok (21 files)
  • Render is idempotent post-commit (the Fail if deterministic outputs are out of date gate passes: re-running render.py yields no diff).

🤖 Generated with Claude Code

The published Pages bundle omitted feed-motd.json: the "Assemble Pages
bundle" step in render.yml explicitly cp's each sibling feed into _site/
but never copied feed-motd.json, so
https://pilot-protocol.github.io/pilot-changelog/feed-motd.json returned
404 while feed.json and the other feed-*.json returned 200. The source
feed-motd.json is produced by scripts/render.py (per-scope loop, motd
scope) at repo root like every other feed — it was simply left off the
copy list. Added it to the cp line.

Also scrubbed stale references from the TeoSlayer/* -> pilot-protocol/*
repo/account move:
- scripts/render.py: PAGES_BASE_URL and REPO_URL now point at
  pilot-protocol; index.json's "repo" now reuses REPO_URL instead of a
  second hardcoded literal (single source of truth).
- render.yml comment updated to the pilot-protocol.github.io URL.
- README.md, SCHEMA.md, and entry markdown refs updated
  (github.com/TeoSlayer/* -> pilot-protocol, teoslayer.github.io ->
  pilot-protocol.github.io, raw.githubusercontent.com/TeoSlayer/* ->
  pilot-protocol).
- Regenerated all deterministic outputs (feed*.json, feed.md, feed.xml,
  index.json, docs/*) via scripts/render.py.

ClawHub references (clawhub.ai/teoslayer, "Account is teoslayer") are
intentionally left: ClawHub is a separate third-party platform not
covered by the GitHub org rename, and the prose is a factual historical
statement.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@TeoSlayer
TeoSlayer merged commit e5c2427 into main Jul 13, 2026
1 check passed
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.

2 participants