Skip to content

ci(deploy): daily fallback rebuild — getting-started content is stale, not wrong - #12

Merged
agentiknet merged 1 commit into
mainfrom
fix/getting-started-plugins-verb
Sep 11, 2026
Merged

agentiknet merged 1 commit into
mainfrom
fix/getting-started-plugins-verb

Conversation

@agentiknet

@agentiknet agentiknet commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Investigates B1 from the cold-install report: cli.agentproto.sh/docs/getting-started step 5 ("Add a plugin") tells readers to run agentproto 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.mjs pulls agentproto/ts's docs/cli/ tree at build time (predev/prebuild, confirmed in package.json). git ls-files | grep ^content/ returns nothing; nothing under content/docs/ has ever been committed here.

The upstream source is already correct. docs/cli/getting-started.md on agentproto/ts's main was 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:

  1. Ran pnpm typecheck here, which invokes scripts/sync-content.mjs — it cloned the live public github.com/agentproto/ts.git (main, 264c4c7a) and synced content/docs/getting-started.mdx. grep -i plugin on the result: zero matches.
  2. Cross-checked every command on that synced page against a real agentproto --help on 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 --list flag 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 whatever docs/cli/getting-started.md looked 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.yml already declares the intended fix — a repository_dispatch: content-changed trigger, 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 under agentproto/ts's .github/workflows/), so this trigger has never once fired.

Fix

Added a daily schedule: cron trigger to deploy.yml so 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 in agentproto/ts, which is out of this repo's reach and out of scope for this PR.

Recommend a human manually trigger deploy.yml's workflow_dispatch now 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.md on agentproto/ts (synced here too) still documents the nonexistent agentproto plugins verb and a run-swarm --plugin flag end-to-end, and links to a nonexistent verbs/plugins.md. It's referenced from ~8 other files under docs/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 companion agentproto/ts PR; not fixed there either — full scope is a separate doc-cleanup task.
  • pnpm build currently fails against origin/main's live synced content with an unrelated pre-existing MDX parse error in docs/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 --help crashes with a TypeError instead 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.
  • No lockfile committed (this repo has none checked in — pnpm install --no-frozen-lockfile per its own CI).

🤖 @agentproto-bot — PR · session sess_9c68d06d (prelaunch-fixes) · claude-code / subscription · auth-profile Claude Subs Agentik · model claude-sonnet-5 · $4.5490 (daemon) · host mac.home · cwd agentproto/prelaunch-fixes

… 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.
@agentiknet
agentiknet marked this pull request as ready for review September 11, 2026 23:29
@agentiknet
agentiknet merged commit d8949b0 into main Sep 11, 2026
1 check failed
@agentiknet
agentiknet deleted the fix/getting-started-plugins-verb branch September 11, 2026 23:29
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