Skip to content

docs: correct stale claims and tighten the docs site#71

Merged
sourcehawk merged 3 commits into
mainfrom
docs/website-quality-pass
Jun 3, 2026
Merged

docs: correct stale claims and tighten the docs site#71
sourcehawk merged 3 commits into
mainfrom
docs/website-quality-pass

Conversation

@sourcehawk
Copy link
Copy Markdown
Owner

Description

The docs website (canonical content under docs/content/*, which also feeds the in-app docs mirror) and the README carried several claims that no longer hold, plus a few internal inconsistencies. This corrects them and does a consistency pass so the site reads as an accurate, OSS-grade reference for both newcomers and experienced operators.

Changes

  • Teleport is no longer described as the default. The launcher's cluster picker uses the kubeconfig auth provider by default; Teleport is opt-in via the profile. Fixed in the end-to-end walk and the ownership table.
  • Removed the bogus new-investigation form fields. Dropped the "cluster ID (required)" bullet and the "namespace is derived per your profile" claim — the cluster is the dropdown, every form input is optional, and the agent narrows the namespace at runtime (it isn't bound at preflight). Aligned the README's "Enter the namespace" step to match.
  • De-duplicated the "why". Removed the 7-step incident list from investigations.md that duplicated overview.md's "The problem it solves"; replaced it with a pointer.
  • Clarified the ownership table. Renamed "What lives where" to "Separation of concerns" with a lead sentence that states the point.
  • Dropped the "Enable auto mode (coming soon)" placeholder. Documented the real enable paths (start screen, watch-driven, or restart).
  • Fixed the overview "Four surfaces" miscount. It now lists four (Investigations, Watches, Playbooks, Wiki), with the MCP catalog reframed as the tool layer beneath them. Also added the Cloud providers integration, corrected the "single cluster's namespace" binding claim, sentence-cased "Alpha release", and noted read-only GCP/AWS context.
  • Fixed broken README links to the docs site. …/triagent/docs/<section>/ 404s (no such route); the site serves …/triagent/<section>/.

Testing

  • Verified every corrected claim against the source (internal/profile, internal/server, internal/preflight, frontend components): kubeconfig is the default auth provider, cluster_id is an optional input type absent from the default profile, namespace is passed empty at preflight, and there is no mid-session "Enable auto mode" UI control.
  • Confirmed the broken README links against the static export: routes are /<section>/, there is no /docs/ path.
  • Built the docs site (cd docs/site && npm run build) — all 14 pages generate cleanly.
  • Ran fresh-reader passes on the two most-changed pages (overview, investigations) given only the page text: the corrected claims all read correctly, with no contradictions or leftover placeholders.

No code changes. docs/content/* is the canonical source; the gitignored frontend/public/docs mirror regenerates at build via the existing sync-docs prebuild hook.

Remove things that no longer hold and fix consistency across the
website content (docs/content/*, canonical source for the GitHub Pages
site and the in-app docs mirror) plus the README entry point.

- Teleport is not the default. The launcher's cluster picker uses the
  kubeconfig auth provider by default; Teleport is opt-in via the
  profile. Corrected in the end-to-end walk and the ownership table.
- Drop the "cluster ID (required)" form field and the "namespace is
  derived per your profile" claim. The cluster is the dropdown, every
  form input is optional, and the agent narrows the namespace at
  runtime; it isn't bound at preflight.
- Remove the "Why it exists" 7-step list from investigations.md; it
  duplicated overview's "The problem it solves". Point there instead.
- Rename "What lives where" to "Separation of concerns" with a lead
  sentence so the ownership table's purpose is clear.
- Drop the "Enable auto mode (coming soon)" placeholder; document the
  real paths (start screen, watch-driven, or restart).
- overview: "Four surfaces" now lists four, with the MCP catalog
  reframed as the tool layer beneath them; add the Cloud providers
  integration; fix the "single cluster's namespace" binding claim;
  sentence-case "Alpha release"; note read-only GCP/AWS context.
- README: fix the broken docs-site links (the /docs/<section>/ path
  segment 404s; the site serves /<section>/) and the stale
  "Enter the namespace" step.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 3, 2026 11:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates Triagent’s documentation (canonical Markdown under docs/content/*) and the repository README to remove stale/incorrect product claims, tighten internal consistency, and fix external links for the published docs site.

Changes:

  • Correct docs/README statements around auth provider defaults, investigation form inputs, namespace handling, and “auto mode” enablement paths.
  • De-duplicate/reshape documentation structure (e.g., moving MCP discussion into a “tool layer” framing beneath the four operator-facing surfaces).
  • Fix broken README links to the GitHub Pages docs site by removing the nonexistent /docs/ route prefix.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
README.md Fix docs-site links and align the quick-start walkthrough text with current launcher/UI behavior.
docs/content/profiles.md Update the cluster_id input description to reflect provider-backed cluster lists.
docs/content/overview.md Reframe “what’s in the box” as four surfaces + MCP tool layer; add cloud providers integration note; update several stale claims.
docs/content/investigations.md Remove duplicated “why” content; update E2E flow details, form-field guidance, ownership table framing, and auto-mode enablement text.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/content/overview.md
Comment on lines 5 to +8
Triagent is a localhost web app that pairs the Claude reasoning agent with read-only Kubernetes access, an extensible
MCP catalog (Prometheus, Slack, GitHub, incident.io, your own), a guided playbook walker, and a persistent wiki, all
bound to a single cluster's namespace per session. You run `triagent start`, it opens a browser, you hand it the
symptom, and it drives a focused diagnosis you can paste into a ticket when it's done.
MCP catalog (Prometheus, Slack, GitHub, incident.io, read-only GCP/AWS context, your own), a guided playbook walker,
and a persistent wiki, all scoped to a single cluster per session. You run `triagent start`, it opens a browser, you
hand it the symptom, and it drives a focused diagnosis you can paste into a ticket when it's done.
Comment thread docs/content/investigations.md Outdated
sourcehawk and others added 2 commits June 3, 2026 14:20
Step 1 of the end-to-end walkthrough framed "Pick a cluster" as the
mandatory entry point, but ValidateInputValues only enforces inputs the
profile marks non-optional, and the canonical profile marks all four
(cluster, incident URL, Slack channel, notes) optional. Lead with the
real rule (at least one starting point) and note the agent infers a
cluster via switch_context when none is picked up front. Gate preflight's
reachability/RBAC check on a cluster actually being selected.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 3, 2026 12:30
@sourcehawk sourcehawk merged commit 760e678 into main Jun 3, 2026
1 check passed
@sourcehawk sourcehawk deleted the docs/website-quality-pass branch June 3, 2026 12:31
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

Comment thread README.md
Comment on lines +29 to +32
- **[Investigations](https://sourcehawk.github.io/triagent/investigations/)**: the live triage view. Hand the assistant a symptom and some context (cluster, Slack thread, incident.io link, notes), watch it work through the diagnosis step by step, and ship the summary as markdown.
- **[Playbooks](https://sourcehawk.github.io/triagent/playbooks/)**: the step-by-step troubleshooting procedures the assistant follows, defined as YAML. Write and edit them right in the browser, with an AI assistant helping.
- **[Wiki](https://sourcehawk.github.io/triagent/wiki/)**: the team's lasting knowledge base of failure patterns and prior fixes, which the assistant can search.
- **[Watches](https://sourcehawk.github.io/triagent/watches/)**: rules that turn Slack messages, GitHub issues, or alerts into proposed investigations on their own.
Comment on lines 110 to +114
3. Click **+ new investigation** in the sidebar (or navigate to `/investigations/new`) to start a fresh one. Pick a
cluster from the dropdown. If the provider isn't logged in, you'll be prompted to authenticate (SSO/2FA prompts
surface in the terminal where you ran `triagent start`, not the browser).
4. Fill in the form:
- **cluster ID** (required when using the cluster_id profile input). The data namespace is derived per your profile.
4. Fill in the form. The fields below are individually optional, but the investigation needs at least one starting
point — the cluster you picked above, or one of these:
Comment thread docs/content/overview.md
Comment on lines +63 to +64
Four operator-facing surfaces, each with a dedicated section in these docs: **Investigations**, **Watches**,
**Playbooks**, and **Wiki**. Underneath them sits the **MCP tool catalog** every surface is built on.
Comment thread docs/content/overview.md
facts belong in the wiki.

## Alpha Release
### [The MCP tool catalog](/docs/mcp)
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