Repository navigation
ci(deploy): daily fallback rebuild — getting-started content is stale, not wrong - #12
Merged
Merged
Conversation
… never built getting-started's "Add a plugin" step (agentproto plugins install/list — a verb that doesn't exist in 0.20.0) was reported live on cli.agentproto.sh/docs/getting-started. Investigated: content/docs/ is entirely generated (gitignored; scripts/sync-content.mjs pulls agentproto/ts's docs/cli/ at build time via prebuild/predev) — there is no file under cli-site's own tracked source to edit for that page. The upstream source is already correct: docs/cli/getting-started.md on agentproto/ts's main was rewritten in #443 (2026-07-17) and no longer mentions plugins at all. Verified by running the actual sync against the live public repo (`pnpm typecheck`, which runs sync-content.mjs) and diffing the result — zero "plugin" matches in the synced getting-started.mdx, and every command on the page checks out against `agentproto --help` on a real 0.20.0 install, including running `agentproto install skill/agentproto-pack --list` live. So the live page is stale, not wrong-at-the-source: this repo's last deploy is 3fa6112 (2026-07-13), 4 days before the ts-side fix landed, and nothing has redeployed since. deploy.yml already declares a repository_dispatch trigger for exactly this case, sourced "from agentproto/ts when the docs/cli/ tree changes... configure via a follow-up workflow in the ts repo" — that follow-up workflow was never built (confirmed: no matching workflow under agentproto/ts's .github/workflows/), so the intended auto-redeploy path has never once fired. Adds a daily `schedule` trigger as a stopgap so staleness is bounded to <24h regardless of whether the real dispatch sender ever gets built. Not a fix for the root cause — that's a follow-up workflow that belongs in agentproto/ts, out of this repo's reach.
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.
Summary
Investigates B1 from the cold-install report:
cli.agentproto.sh/docs/getting-startedstep 5 ("Add a plugin") tells readers to runagentproto plugins install <plugin-package>/agentproto plugins list— a verb that doesn't exist in 0.20.0 (unrecognised argument(s): plugins list, exit 2).There is no file in this repo to edit for that page's content.
content/docs/is entirely generated and gitignored (# Synced content — always populated from agentproto/ts at build time) —scripts/sync-content.mjspullsagentproto/ts'sdocs/cli/tree at build time (predev/prebuild, confirmed inpackage.json).git ls-files | grep ^content/returns nothing; nothing undercontent/docs/has ever been committed here.The upstream source is already correct.
docs/cli/getting-started.mdonagentproto/ts'smainwas rewritten in ts#443 (2026-07-17) and no longer has a plugins step at all — step 5 is now "Verify" and step 6 is "Install the skill pack" (agentproto install skill/agentproto-pack --list/agentproto install skill/agentproto-pack). Verified two ways:pnpm typecheckhere, which invokesscripts/sync-content.mjs— it cloned the live publicgithub.com/agentproto/ts.git(main,264c4c7a) and syncedcontent/docs/getting-started.mdx.grep -i pluginon the result: zero matches.agentproto --helpon an installed 0.20.0 CLI, and actually ran the one non-trivial one:agentproto install skill/agentproto-pack --list— real, documented as a no-write preview, returned a real skill listing (confirms both the verb and the--listflag are real, not invented).So the live site is stale, not wrong at the source. This repo's last deploy is
3fa6112(2026-07-13) — 4 days before the ts-side fix landed (2026-07-17) — and nothing has redeployed since, so the Cloud Run image still serves whateverdocs/cli/getting-started.mdlooked like on 2026-07-13 (the even-older "kernel/substrate/dispatcher" version the cold-install report actually saw, confirmed by fetching the live page).deploy.ymlalready declares the intended fix — arepository_dispatch: content-changedtrigger, commented "from agentproto/ts when the docs/cli/ tree changes... configure via a follow-up workflow in the ts repo" — but that follow-up workflow was never built (confirmed: no matching workflow anywhere underagentproto/ts's.github/workflows/), so this trigger has never once fired.Fix
Added a daily
schedule: crontrigger todeploy.ymlso the deployed site can't silently drift stale indefinitely — bounds staleness to <24h regardless of whether the real dispatch sender ever gets built. This is a stopgap, not a fix for the root cause: building the actual dispatch-sender workflow belongs inagentproto/ts, which is out of this repo's reach and out of scope for this PR.Recommend a human manually trigger
deploy.yml'sworkflow_dispatchnow to get the live site off the July-13 build immediately — I didn't do this myself (no deploy authority, and the brief is explicit: no deploy).Found, not fixed
docs/cli/concepts/plugins.mdonagentproto/ts(synced here too) still documents the nonexistentagentproto pluginsverb and arun-swarm --pluginflag end-to-end, and links to a nonexistentverbs/plugins.md. It's referenced from ~8 other files underdocs/cli/. Once this site redeploys with fresh content, that page (not getting-started, which is already fixed) will be the next place a reader hits a dead command. Flagged in the companionagentproto/tsPR; not fixed there either — full scope is a separate doc-cleanup task.pnpm buildcurrently fails againstorigin/main's live synced content with an unrelated pre-existing MDX parse error indocs/cli/guides/sandbox-rendezvous.md(a raw!character Turbopack's MDX loader chokes on). Confirmed this reproduces with zero relation to this PR's diff (workflow-YAML only). Not touched here — that file is already flagged as another session's in-flight work.agentproto install --helpcrashes with aTypeErrorinstead of printing usage — found incidentally while verifying commands.Verification
pnpm typecheck: exit 0 (includes the real content sync +fumadocs-mdx+tsc --noEmit).pnpm build: fails, but on the pre-existing unrelated MDX bug above, not on anything in this diff.python3 -c "import yaml; yaml.safe_load(open('.github/workflows/deploy.yml'))": valid YAML.pnpm install --no-frozen-lockfileper its own CI).🤖 @agentproto-bot — PR · session
sess_9c68d06d(prelaunch-fixes) · claude-code / subscription · auth-profileClaude Subs Agentik· modelclaude-sonnet-5· $4.5490 (daemon) · hostmac.home· cwdagentproto/prelaunch-fixes