Skip to content

docs: add illustrated CATES user guide - #38

Closed
Todd Toler (msfttoler) wants to merge 2 commits into
mainfrom
docs/illustrated-user-guide
Closed

Todd Toler (msfttoler) wants to merge 2 commits into
mainfrom
docs/illustrated-user-guide

Conversation

@msfttoler

Copy link
Copy Markdown
Collaborator

Summary

Make CATES easier to run and understand without changing analyzer or service behavior.

  • Replace the oversized README with a short source quick start, browser startup instructions, and a complete feature index.
  • Add an illustrated user guide covering scanning, GitHub review, Copilot hygiene, experimental static advice, token economics, optimization, policy and CI, reports, tokenizers, batch scans, browser workflows, API/library integration, and Docker/Helm.
  • Include eight visuals from real CLI/browser output and a feature map, with editable Excalidraw/SVG sources and a reproducible image generator.
  • Add a fictional quick-start configuration with an intentional duplicate so users can see a finding and preview a concrete optimization.
  • Correct stale file-URL, browser-control, privacy, evidence-filtering, and deployment claims; distinguish stable scoring, experimental advice, and usage accounting.
  • Include the guide, pictures, reference documents, and examples in the npm package.

Suggested reading

  1. README.md for the new first-run experience.
  2. docs/USER-GUIDE.md for the complete illustrated walkthrough.
  3. deploy/helm/cates/README.md for corrected batch deployment guidance.

Scope

Documentation, demonstration input, image-generation tooling, and package asset selection only. No analyzer rules, scoring weights, gates, or runtime UI behavior are changed.

Simplify first-run instructions and document all user-facing workflows with real CLI/browser images, a reproducible feature map, and a runnable sample. Clarify experimental boundaries and correct stale deployment and reporting guidance.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: fbff4f08-bcbb-45a3-a838-5f24ff3782e8
@msfttoler

Copy link
Copy Markdown
Collaborator Author

Copilot resolve the merge conflicts in this pull request

Copilot AI commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Copilot resolve the merge conflicts in this pull request

Resolved the conflicts locally in merge commit 2b44380, preserving the illustrated guide and main’s new assurance documentation. Package and whitespace validation passed; no secrets detected. Publishing is blocked by repository rule GH013 (“Cannot update this protected ref”). A repository administrator must permit the branch update before the resolution can reach this PR.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The scheduled-scan example uses an incorrect repository-file path, causing demo to fail with ENOENT before scanning; it must use /etc/cates-repos/repos.txt to match the ConfigMap mount.

1 open issue
What changed in this PR

This PR improves CATES onboarding and documentation without changing analyzer rules, scoring, or service behavior.

Changes:

  • Replaces the long README with a quick start and feature index linked to an illustrated user guide.
  • Adds a demonstration configuration, editable feature map, and CLI/browser image generator.
  • Corrects workflow and deployment guidance and expands packaged documentation and examples.
File Description
scripts/​generate-guide-images.py Generates CLI/browser illustrations and feature-map assets.
README.md Provides concise onboarding and links to detailed guidance.
package.json Includes documentation and examples in the npm package.
examples/​quickstart/​.github/​copilot-instructions.md Adds a fictional sample with intentional duplication.
docs/​USER-GUIDE.md Adds illustrated walkthroughs and feature references.
docs/​REVIEW-WORKFLOWS.md Clarifies file and PR scan scope.
docs/​images/​feature-map.svg Adds the vector assessment overview.
docs/​images/​feature-map.excalidraw Provides an editable feature-map source.
deploy/​helm/​cates/​README.md Revises batch deployment, authentication, and report guidance.
CONTRIBUTING.md Documents sample preservation and image regeneration.
CHANGELOG.md Records the documentation improvements.

Review effort: Balanced

Comment thread deploy/helm/cates/README.md Resolved
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@msfttoler

Copy link
Copy Markdown
Collaborator Author

Copilot resolve the merge conflicts in this pull request

Copilot AI commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Copilot resolve the merge conflicts in this pull request

Resolved the conflicts in merge commit 7e32b86, preserving both the illustrated guide and main’s assurance documentation. The branch push is still blocked by repository rule GH013 (protected ref); an administrator must allow the update for this commit to reach the PR.

Copilot resolve the merge conflicts in this pull request

Resolved the conflicts in merge commit 7e32b86, preserving both the illustrated guide and main’s assurance documentation. The branch push is still blocked by repository rule GH013 (protected ref); an administrator must allow the update for this commit to reach the PR.

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.

3 participants