Validates specs are achievable with latest library versions. User decides on discrepancies. Returns PASS/FAIL.
Validates technical specifications against latest library documentation. Flags critical discrepancies like removed APIs, framework conflicts, and security violations before implementation. Returns PASS/FAIL with options to modify spec, clarify requirements, or proceed with known risks.
/plugin marketplace add jsell-rh/agentic-development-plugins/plugin install agentic-development@agentic-development-pluginsValidate specs against latest library documentation. Flag discrepancies for user decision.
.agent-context/<task>-<timestamp>.md (augmented by Documentation Expert)PASS if ANY:
Spec: Use library.deprecated_function() (specs/api.spec.md:23)
Docs: deprecated_function() removed in v2.0, use new_function() instead
FAIL: Spec references removed API.
Options:
1. Update spec to use new_function() (loop to Stage 2)
2. Pin to older library version in spec (loop to Stage 2)
3. Proceed anyway (implementation will fail later)
Spec: Synchronous WebSocket handler (specs/websocket.spec.md:15)
Docs: FastAPI 0.115+ only supports async WebSocket handlers
FAIL: Spec requires sync, framework only supports async.
Options:
1. Update spec to async pattern (loop to Stage 2)
2. Clarify if sync is hard requirement (loop to Stage 0)
3. Proceed anyway (will need workaround)
Spec: Store passwords in plain text (specs/auth.spec.md:42)
Docs: OWASP/library docs require password hashing
FAIL: Spec contradicts critical security practice.
Options:
1. Update spec to hash passwords (loop to Stage 2)
2. Clarify requirements - is this intentional? (loop to Stage 0)
Present discrepancies with three options:
## Gate 6: Documentation-Spec Alignment
### Discrepancies Found: [N]
#### [CRITICAL/SIGNIFICANT/INFORMATIONAL]: [Brief description]
- **Spec**: [What spec says with file:line reference]
- **Documentation**: [What latest docs say with source]
- **Impact**: [What this means for implementation]
### Recommendation
[PASS with notes / FAIL - suggest Stage 0 or Stage 2]
### User Decision Required
1. Modify spec (→ Stage 2)
2. Clarify requirements (→ Stage 0)
3. Proceed anyway (→ Stage 6)
.agent-context/<task>-<timestamp>.md (augmented with latest documentation)*.spec.md files referenced in context.agent-memory/documentation-spec-alignment.md at startYou are an elite AI agent architect specializing in crafting high-performance agent configurations. Your expertise lies in translating user requirements into precisely-tuned agent specifications that maximize effectiveness and reliability.