Validate README features are documented in specs and covered by e2e tests. Use when checking documentation coverage or before merging docs changes.
Validate that ALL features claimed in README are documented in specs and tested.
The README is the product's promise to users. Every feature advertised must be:
docs/specs/ (source of truth for behavior)frontend/tests/ (proof it works)Read README.md and identify every feature claim. Look in:
For each feature, note:
Check if each README feature has a corresponding spec:
| README Feature | Expected Spec |
| ------------------------------------------ | ------------------------------------------------ |
| Main thread conversation | docs/specs/chat.md |
| Sessions/background work | docs/specs/sessions.md |
| Mobile/desktop layout | docs/specs/layout.md |
| Agent workflow (spawn → work → PR → close) | docs/specs/agent-workflow.md |
| Notifications | docs/specs/sessions.md (notifications section) |
Flag any README feature without a spec as ERROR.
For each spec file:
For each bullet point/assertion in a spec, search for a test that verifies it:
# Example: search for test covering "No sessions yet" message
grep -r "No sessions yet" frontend/tests/
Track coverage for each spec assertion.
## Documentation Validation Report
### README Features → Specs
- [x] Main thread conversation → docs/specs/chat.md
- [x] Sessions → docs/specs/sessions.md
- [x] Layout → docs/specs/layout.md
- [ ] **Agent Workflow → NO SPEC** ← ERROR
### Spec Assertions → Tests
#### docs/specs/chat.md (7/9 = 78%)
- [x] "Input field with placeholder" → e2e/user-journey.spec.ts
- [ ] "Messages persist across reloads" → NO TEST
#### docs/specs/sessions.md (23/23 = 100%)
- [x] "No sessions yet" → sessions/01-session-list-empty.spec.ts
...
### Summary
| Category | Coverage |
| -------------------------- | ----------- |
| README features with specs | 3/4 (75%) |
| Spec assertions with tests | 38/40 (95%) |
### Errors
1. README "Agent Workflow" section has no spec
2. chat.md "Messages persist across reloads" has no test
Not all tests are good tests. Flag these as problems:
Tests without specs - If a test exists but no spec describes the behavior, either:
Too technical / low-level - Tests should verify user-facing behavior, not internals:
Testing implementation, not behavior - Tests coupled to code structure:
Duplicate coverage - Multiple tests verifying the same user behavior
Tests for removed features - Spec was removed but test remains
The test suite should read like a user manual, not a code audit.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer