Take the CLI install command off the landing page

778a69d0c70c · AtlantisPleb · · parent 8c53d09803df

Take the CLI install command off the landing page

It was asked for twice and I substituted instead of removing: the withdrawn
`curl … | bash` became `npm i -g @openagentsinc/cli`, which is a different
command in the same place, not the removal that was requested.

The section is gone. The homepage sells the forge; it is not where a CLI gets
installed. `/docs/install-cli` still documents how, for anyone who goes looking.

The test asserted the command was present, so it asserted the wrong thing
twice. It now asserts the section is absent, along with both commands that have
occupied it, so a third one cannot arrive quietly.

Left in place, deliberately, because neither is the landing page and removing
them is a larger change than was asked for:

  - `/coder` is ASCII art built around one copyable command; without it the
    page is a logo and a copy hook that copies nothing.
  - The repositories index lists install as step one of a six-step sequence
    that continues `auth login`, `repo create`, `repo clone`. Removing the step
    leaves a walkthrough that begins by assuming the binary.

Deploy story

What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.

pushed
by user · WAL seq 447 · 2026-08-26T12:03:01.372144Z
built
1 modules in 36.7 s
deployed
live · 1 module on 3 nodes · push→live 544.7 s

Changed files

  • modified lib/openagents_web/live/home_live.ex
  • modified test/openagents_web/controllers/page_controller_test.exs

Diff

2 files changed, +8 -26

lib/openagents_web/live/home_live.ex modified -18

@@ -497,24 +497,6 @@ defmodule OpenAgentsWeb.HomeLive do

497 497
          --%>
498 498
        </Landing.hero>
499 499
500
        <%!-- The shortest path from reading about it to holding it. Deliberately
501
        quiet: one line under the hero rather than a third call to action
502
        competing with the two above it. --%>
503
        <Landing.section id="home-install">
504
          <div class="flex flex-col items-center gap-3 text-center">
505
            <p class="text-sm text-muted-foreground">Install the CLI</p>
506
            <code
507
              id="home-install-command"
508
              class="w-full max-w-xl overflow-x-auto rounded-md border border-border bg-card px-4 py-3 text-left font-mono text-sm whitespace-nowrap text-foreground"
509
            >
510
              npm i -g @openagentsinc/cli
511
            </code>
512
            <.link navigate={~p"/docs/install-cli"} class="text-sm text-muted-foreground underline">
513
              Other ways to install
514
            </.link>
515
          </div>
516
        </Landing.section>
517
518 500
        <Landing.feature_grid title="Everything the work needs. Nothing it doesn't.">
519 501
          <:item title="Issues" icon="file-document">
520 502
            Plan, assign, label and close, over an API shaped after the one you already
test/openagents_web/controllers/page_controller_test.exs modified +8 -8

@@ -6,16 +6,16 @@ defmodule OpenAgentsWeb.PageControllerTest do

6 6
    assert html_response(conn, 200) =~ "The Agent Forge"
7 7
  end
8 8
9
  test "the landing page names the one command that installs the CLI", %{conn: conn} do
9
  test "the landing page sells the forge, not a CLI install", %{conn: conn} do
10 10
    html = conn |> get(~p"/") |> html_response(200)
11 11
12
    assert html =~ ~s(id="home-install-command")
13
    assert html =~ "npm i -g @openagentsinc/cli"
14
15
    # The binary release was withdrawn: its artifacts and every channel pointer
16
    # were deleted, so this command can only fail now, and it shipped commands
17
    # that printed fabricated data. A page that still offers it is worse than a
18
    # page with no install command at all.
12
    # The landing page carried an install command under the hero. It went
13
    # through two wrong answers before this one: `curl … | bash`, withdrawn
14
    # along with the binary release it installed, and then `npm i -g …`, which
15
    # was a substitution when the instruction had been to remove it. The
16
    # homepage is not where the CLI gets sold.
17
    refute html =~ ~s(id="home-install")
19 18
    refute html =~ "install.sh"
19
    refute html =~ "npm i -g"
20 20
  end
21 21
end

This page updates live while a promote is in flight · changelog