Repository navigation
fix(agent): the blank-run start page and every repo reference follow the owner rename to wanderdev0 - #2226
Conversation
…the owner rename to wanderdev0 AGENT_START_PAGE named parawanderer.github.io, a 404 since the account was renamed (github.io does not redirect); it now names the wanderdev0 page, which serves the same file as src/chat/agent-start.html. Every other parawanderer/<repo> reference in scripts, tools, docs, skills and tests moves too, since those URLs work only by GitHub's redirect. Self-source tests take the own repo from the stamped repoUrl instead of a literal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Named at
|
|
Named Checked by script against cfa17f5: with both owner names normalised, removed and added lines match in every file except the test changes the body lists ( Not asked:
|
A run that asks for an empty tab opens
AGENT_START_PAGE, which pointed athttps://parawanderer.github.io/window-ml/agent-start.html. Since the GitHub account was renamed parawanderer → wanderdev0 that URL is a 404 (github.io does not redirect), so every blank-start run with noagentStartPagesetting landed on a 404 page.src/contract/contract-config.ts:557now nameshttps://wanderdev0.github.io/window-ml/agent-start.html, which serves a file byte-identical tosrc/chat/agent-start.html(sha25622b6d8e9…). The hosted-client link in CONTRIBUTING.md:126 was a 404 for the same reason and is changed too.The rest is mechanical: every
parawanderer/<repo>reference (github.com, api.github.com, raw.githubusercontent.com, bareowner/repoin pins and prose) in scripts, tools, docs, skills, AGENTS.md, src comments and tests now sayswanderdev0/<repo>. Those URLs worked only through GitHub's rename redirect, which ends if anyone registers the old name;scripts/fetch-host.mjs,scripts/fetch-hub.mjs,tools/host-dist.jsonandtools/pyodide-dist.jsondownload binaries through them. With the two names normalised, the removed and added lines are identical. Noghcr.ioreference exists; the two github.io ones are the two above.The start page across an upgrade
agentStartPagedefault was""and the URL lived only in the bundle, so an upgraded install's storage holds""and a blank run lands on the new page. The only other way the old URL reaches storage is someone typing it into Settings; that value is kept as written, and the existing blank-start warning reports it ungranted. The hub capabilityblankStartis computed on each announcement, never stored. A session's recorded page URL is history that nothing navigates back to: a resume names a new target.refreshBlankStart, which askschrome.permissions.containsfor the origin of the URL in force. "A run never starts on a page we own" is about extension pages (AGENT_START_PAGEappears there only in a comment), so the old origin is an ordinary stranger everywhere and no check treats it as ours.<all_urls>); mobile/ carries no start-page URL; the chat web build shipsagent-start.htmlitself (scripts/build-web.mjs), which is the deployed file.tests/background-sessions.test.js, under "the published start page after the owner rename":Pins, checked under the new owner
tools/host-dist.json: the v0.10.0 assets (4 binaries andinstall.sh) each return 200, and GitHub's asset digest equals the recorded sha256.tools/pyodide-dist.json: the pyodide-314.0.3-ml-35bd1d69 asset returns 200, and its digest equals the recorded sha256.*.proto.pin.jsonand vector pins: raw at the pinned commit hashes to the recorded blob id.Schema
$idThe six
docs/spec/*.schema.json$ids andgen-export-schema.mjschange with the rest. No reader compares a stored$schemaor$id:program-manifest.tsonly checks that a$schemais a string, the test validator treats both as annotations, and an export's$schemais built from the build's own remote and commit (schemaUrl), never read back.The bundle's "own repo" is the building clone's origin
autoApproveSelfSourcetrustsBUILD_INFO.repoUrl, whichscripts/gen-build-info.mjsstamps fromgit config remote.origin.url. A build from a clone whose origin still names parawanderer therefore auto-approves uncredentialed reads ofparawanderer/window-ml: reachable today only by GitHub's redirect, and someone else's repo if the old name is registered. That is why the remote change under "For Shane" matters beyond the tests. The stamping rule is not changed here.The five self-source tests (
agent.test.js,background.test.js,agent-host.test.mjs,redteam-page-run-builtby.test.mjs,redteam-policy-ask-free-tiers.test.mjs) hardcoded the repo, so they failed in any clone whose remote differed (every local clone after this rename, every renamed clone before it). They now build their URLs from the stampedrepoUrl(ownRepo()intests/helpers.js), assertions unchanged. That rule is pinned against literal fixtures elsewhere, so they are not checked against their own output:tests/build-info.test.mjs"normalizeRepoUrl: scp-style, ssh, and https remotes…": scp, ssh:// and https, with and without.git, for both owners (the old-owner lines are new and show the owner is carried through unrewritten).tests/self-source.test.mjs"GATE: a DIFFERENT repo / owner / an unresolvable repo url": no remote stamps"", and with""self-source approves nothing.Left unchanged, and why
com.parawanderer.window_ml_host(11 hits): the native messaging host name, an identity installed on machines, not a URL.tests/fixtures/github-compare.json,tests/fixtures/github-release.json, and app-update.test's assertion on the captured apkUrl: GitHub responses captured 2026-10-10.tests/fixtures/hw/*.txt: a contributed capture's source line.notebooks/: pinned data, executed outputs, and the generators that produce them.scripts/ecosystem.mjs: the--author=parawandererfilter matches git history as written.tests/merge-when-green.test.mjs.docs/spec/ARTIFACTS.md: the three@parawandererattributions.For Shane, by hand
scripts/merge-when-green.mjs:58(the tool refuses a PR that touches it):Local clones'
originstill saysgit@github.com:parawanderer/…, which works by redirect; builds stamp that remote into exports'$schema, sogit remote set-url origin git@github.com:wanderdev0/window-ml.gitfixes both. The host and hub repos get their own PRs.Tests: npm test (full), check-doc-links.
🤖 Generated with Claude Code