Fix feed-motd.json Pages 404 and scrub stale TeoSlayer references - #16
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
Two verified bugs in the published GitHub Pages surface.
1.
feed-motd.jsonreturns 404 on Pages (MED)Root cause: The
Assemble Pages bundlestep in.github/workflows/render.ymlcopies every sibling feed into_site/with explicitcplines, butfeed-motd.jsonwas never on the list. Sohttps://pilot-protocol.github.io/pilot-changelog/feed-motd.json404'd whilefeed.jsonand the otherfeed-*.jsonreturned 200. The source file is produced byscripts/render.pyat repo root exactly like the other per-scope feeds (themotdscope) — it was simply omitted from the bundle copy. Fixed by addingfeed-motd.jsonto thecpline, matching the existing per-file copy style.2. Stale
TeoSlayer/*andteoslayer.github.ioreferences (MED)The repo moved from
TeoSlayer/*topilot-protocol/*; the old Pages URLs are dead 404s.scripts/render.py:PAGES_BASE_URLandREPO_URLnow point at pilot-protocol.index.json'srepofield previously had a second hardcodedTeoSlayerliteral — it now reusesREPO_URLso there is a single source of truth (fixes the generatedindex.jsonat the source, not just the committed artifact).render.ymlcomment updated to the pilot-protocol.github.io URL.README.md,SCHEMA.md, and entry markdownrefsupdated (github.com/TeoSlayer/*→pilot-protocol,teoslayer.github.io→pilot-protocol.github.io,raw.githubusercontent.com/TeoSlayer/*→pilot-protocol).feed*.json,feed.md,feed.xml,index.json,docs/*) viascripts/render.py.Intentionally left:
clawhub.ai/teoslayerlinks and the "Account isteoslayer" 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 failedpython3 scripts/validate.py→ ok (21 files)Fail if deterministic outputs are out of dategate passes: re-runningrender.pyyields no diff).🤖 Generated with Claude Code