Skip to content

docs: stop advertising install paths that fail on a fresh machine (#1788) - #1797

Merged
vybe merged 2 commits into
devfrom
docs/1788-remove-broken-installer-paths
Jul 27, 2026
Merged

vybe merged 2 commits into
devfrom
docs/1788-remove-broken-installer-paths

Conversation

@dolho

@dolho dolho commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

What

Docs-only fix for #1788. The shell scripts are not touched — they are simply no longer advertised.

Why

install.sh and quickstart.sh both bypass scripts/deploy/start.sh and call docker compose up -d directly. start.sh is the only thing that generates REDIS_PASSWORD, REDIS_BACKEND_PASSWORD, CREDENTIAL_ENCRYPTION_KEY, INTERNAL_API_SECRET and AGENT_AUTH_SECRET; .env.example ships all of them blank. Compose guards the Redis pair with ${VAR:?…}, so on a fresh machine both paths die before starting anything:

[OK] Base image built
[INFO] Starting Trinity services...
error while interpolating services.redis.environment.[]: required variable REDIS_PASSWORD is missing a value

install.sh runs with set -e, so it exits there — after a full base-image build, with no error guidance and zero containers created.

Both were verified on v0.8.5 (b8cf94ca): install.sh by running the advertised one-liner end to end, quickstart.sh by feeding its exact end-state .env to docker compose config.

Changes

File Change
README.md One-line install block → clone + start.sh. Names ADMIN_PASSWORD as the required .env edit (SECRET_KEY is auto-generated; ADMIN_PASSWORD is what actually blocks the install). Drops the quickstart.sh recommendation.
AGENTS.md Same replacement.
docs/AGENT_INSTALL_GUIDE.md Same replacement; drops the two now-stale install.sh self-references. The rest of this guide was already correct — its body used start.sh --unattended and the right port throughout.
docs/onboarding/01-getting-started.md Same replacement; corrects the step list (start.sh does not clone the repo).
config/agent-templates/cornelius/CLAUDE.md Same replacement. This one mattered most — a shipped agent template was handing users the broken command.

Every entry point now documents:

git clone https://github.com/abilityai/trinity.git
cd trinity
./scripts/deploy/start.sh --unattended

Verification

  • The clone + ./scripts/deploy/start.sh path is runtime-verified on a clean host: stack came up healthy, wizard completed, starter fleet seeded, agent chat returned a normal response.
  • --unattended is verified by code inspection only (start.sh generates ADMIN_PASSWORD when blank and surfaces it in the summary); I did not get a second clean host to run that exact flag end to end.
  • No remaining install.sh | bash or quickstart.sh references in live docs (docs/archive, docs/releases, docs/security-reports intentionally untouched — historical records).

Out of scope

Fixes #1788

🤖 Generated with Claude Code

)

The one-line installer and quickstart.sh both bypass scripts/deploy/start.sh
and call `docker compose up -d` directly. start.sh is the only thing that
generates REDIS_PASSWORD / REDIS_BACKEND_PASSWORD / CREDENTIAL_ENCRYPTION_KEY /
INTERNAL_API_SECRET / AGENT_AUTH_SECRET, and .env.example ships them blank, so
on a fresh machine Compose hard-fails on the `${REDIS_PASSWORD:?...}` guard and
no containers start.

Docs-only fix: the scripts are left untouched and are simply no longer
advertised. Every entry point now points at the verified path.

- README: replace the one-line install block with the clone + start.sh flow,
  name ADMIN_PASSWORD as the required .env edit (SECRET_KEY is auto-generated,
  ADMIN_PASSWORD is what actually blocks the install), and drop the
  quickstart.sh recommendation.
- AGENTS.md, docs/AGENT_INSTALL_GUIDE.md, docs/onboarding/01-getting-started.md,
  config/agent-templates/cornelius/CLAUDE.md: same replacement. The Cornelius
  template mattered most — a shipped agent was handing users the broken command.
- Correct the onboarding step list (start.sh does not clone the repo) and drop
  the now-stale install.sh references in the agent runbook.

Related to #1788

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@dolho
dolho requested a review from vybe July 27, 2026 09:11
@github-actions

Copy link
Copy Markdown

⚠️ Nightly unit-suite check skipped — merge conflict against dev.

Resolve by running git merge dev locally and pushing the result. The next nightly run will re-test once the conflict is gone.

)

Replacing the broken one-line installer with the real command introduced
`./scripts/deploy/start.sh` into the Cornelius template's CLAUDE.md. The
#1646 guard scans for agent-local slash commands and its regex reads the
`/scripts` segment of that path as one, so it demanded a
.claude/skills/scripts/SKILL.md that will never exist:

  AssertionError: CLAUDE.md references slash commands with no file in the
  bundle: ['scripts'] (#1646).

`scripts` joins the existing POSIX-path allowlist (home, api, data, path,
opt, usr, var, tmp, …), which the test's own docstring designates as the
extension point for exactly this case. The guard's real job — catching a
`/skill` instruction with no shipped skill file — is unchanged.

Related to #1788

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

@vybe vybe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validated via /validate-pr (review was requested from me): repoints all four install surfaces off install.sh/quickstart.sh to the verified start.sh --unattended path (flag confirmed in scripts/deploy/start.sh), scripts themselves untouched, and the test_1646 allowlist edit is scoped to the new ./scripts prose path. Composes cleanly with #1805 (disjoint hunks in the shared files). CI green. Approving as a release-day P1 docs fix.

@vybe
vybe merged commit 4d743fd into dev Jul 27, 2026
21 checks passed
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.

2 participants