Skip to content

docs: add cache command, prompt mode, and complete schema reference#198

Merged
spboyer merged 1 commit into
mainfrom
squad/docs-site-gaps
Apr 21, 2026
Merged

docs: add cache command, prompt mode, and complete schema reference#198
spboyer merged 1 commit into
mainfrom
squad/docs-site-gaps

Conversation

@spboyer

@spboyer spboyer commented Apr 21, 2026

Copy link
Copy Markdown
Member

Fixes 3 documentation gaps in the site:

Gap 1: Add waza cache to CLI reference

  • Added complete section for waza cache clear command
  • Includes subcommand description, flags, and examples
  • Based on actual command implementation in cmd/waza/cmd_cache.go

Gap 2: Add mode field to Prompt grader docs

  • Added mode option to Prompt grader table in graders guide
  • Documents: independent (default) and pairwise modes
  • pairwise mode requires --baseline flag

Gap 3: Complete schema.mdx config fields

  • Added 6 missing config fields: max_attempts, group_by, fail_fast, skill_directories, required_skills, mcp_servers
  • Each field includes type, default, description, and YAML examples
  • Cross-referenced with internal/models/spec.go Config struct

Verification:

  • Site builds successfully with all 16 pages
  • No markdown rendering errors
  • All CLI reference pages display correctly

- Add waza cache clear command to CLI reference with flags and examples
- Add mode field to Prompt grader in graders guide (independent/pairwise)
- Add missing config fields to schema reference: max_attempts, group_by,
  fail_fast, skill_directories, required_skills, mcp_servers
- All 16 documentation pages build successfully

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 21, 2026 15:25
@github-actions github-actions Bot enabled auto-merge (squash) April 21, 2026 15:25

Copilot AI 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.

Pull request overview

Updates the documentation site to close gaps in the CLI reference, graders guide, and YAML schema reference—aligning the docs more closely with the current waza implementation.

Changes:

  • Adds waza cache clear to the CLI reference with flags and examples.
  • Documents the mode option for the prompt grader (independent / pairwise).
  • Extends the YAML schema reference with additional config fields.
Show a summary per file
File Description
site/src/content/docs/reference/schema.mdx Adds missing config fields to the schema reference (max_attempts, group_by, fail_fast, skill_directories, required_skills, mcp_servers).
site/src/content/docs/reference/cli.mdx Adds CLI reference section for waza cache / waza cache clear.
site/src/content/docs/guides/graders.mdx Adds mode field to the prompt grader options table.

Copilot's findings

Comments suppressed due to low confidence (1)

site/src/content/docs/reference/schema.mdx:224

  • Type notation here (list[string]) is inconsistent with the rest of the docs, which use list[str] (e.g., guides/eval-yaml.mdx and guides/graders.mdx). Consider switching to list[str] (or array[string]) for consistency across the documentation site.
**Type:** list[string]  
**Default:** `[]`
  • Files reviewed: 3/3 changed files
  • Comments generated: 5

Comment thread site/src/content/docs/reference/schema.mdx
Comment thread site/src/content/docs/reference/schema.mdx
Comment thread site/src/content/docs/reference/schema.mdx
Comment thread site/src/content/docs/reference/schema.mdx
Comment thread site/src/content/docs/reference/schema.mdx
@spboyer spboyer merged commit 015392f into main Apr 21, 2026
10 checks passed
@spboyer spboyer deleted the squad/docs-site-gaps branch April 21, 2026 15:39
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