docs(gen): document --force, --annotation-batch, dedup, and hurl headers#72
Merged
Conversation
README: - Add --force and --annotation-batch N flags to gen command reference - Add Smart regeneration explanation (spec-hash dedup + --force) - Add Batch annotation explanation (--annotation-batch performance tip) - Add Rate-limit backoff note (5s→15s→30s→60s exponential backoff) - Add Hurl output headers note (# case_id= and # case_name= fields) MCP generate_test_cases tool: - Add force (boolean) parameter to InputSchema - Add annotation_batch (integer) parameter to InputSchema - Wire annotation_batch into engine.SetAnnotationBatch() in the handler
- Remove force from generate_test_cases MCP schema — the MCP handler has no spec-hash dedup logic (it always regenerates), so the parameter was a silent no-op that misled callers - Align SetAnnotationBatch docstring to "8–20" (was "5–20") to match README - Standardize annotation_batch guard to >= 1 in cmd/gen.go (was > 0) - Expand TestServerHasGenerateTestCasesTool to assert annotation_batch is present in the tool's InputSchema properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents 4 features added in PRs #69 and #70 that were missing from README and the MCP tool definition.
README (
caseforge gensection):--forceflag — regenerate despite unchanged spec hash--annotation-batch Nflag — batch LLM annotation calls✓ Spec unchangedmessage)# case_id=and# case_name=fields)MCP
generate_test_casestool (internal/mcp/tools.go):force(boolean) to InputSchemaannotation_batch(integer) to InputSchemaengine.SetAnnotationBatch()whenannotation_batch >= 1Test Plan
go build ./...— passesgo test ./internal/mcp/...— passes