Fix stale API references across docs and AI skills#21
Merged
Conversation
- Tutorial 1: Replace fictional ProvideTargetAndInitialState with real CreateTestingContext/Register pattern; fix RunTests signature to use separate GenerateTests + RunTests(context, state, testCases, options) - Tutorial 4: Replace TestCaseGenerator.VisualizeStateSpace static call with spec.VisualizeStateSpace convenience method - Tutorial 5: Replace ProvideTargetAndInitialState and non-existent RunConcurrentTests with GenerateConcurrentTests + RunTests pattern - Concepts/operations-and-expect: Replace non-existent WithExecution with ExecuteWith/BindAsync pattern; fix Operation class signature to include TState type parameter; fix ITestContext to TestingContext - Concepts/conformance-testing: Fix r.Passed to r.Success (actual property name on TestCaseExecutionResult) - Concepts/models-vs-fakes: Replace non-existent JsonState base class with [State] partial class pattern Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The ThenState method only takes one type parameter (TState); the TResponse type is inferred from the ExpectedOutcomeBuilder<TResponse> context. Fixes tutorial 03 (4 instances) and how-to/indefinite-failures (1 instance). Also adds explicit lambda parameter types to match sample patterns. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- concurrency/SKILL.md: Replace non-existent RunConcurrentTests with GenerateConcurrentTests + RunTests two-step pattern - quickref/SKILL.md: Same RunConcurrentTests fix - troubleshooting/SKILL.md: Same RunConcurrentTests fix (2 instances) - test-generation/SKILL.md: Replace RunConcurrentTests text reference; replace TestCaseGenerator.VisualizeStateSpace static call with spec.VisualizeStateSpace convenience method - operations/SKILL.md: Fix ITestContext (doesn't exist) to TestingContext Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace ProvideTargetAndInitialState (doesn't exist) with the correct CreateTestingContext/Register pattern. Replace single-call RunTests with the two-step GenerateTests + RunTests pattern that matches the actual API. Update README to reflect the corrected workflow steps. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… in skills - troubleshooting/SKILL.md: Replace non-existent LogLevel = LogLevel.Verbose with real OnStepExecuted callback for debugging - test-generation/SKILL.md: Replace LogLevel in options table with OnStepExecuted; fix MaxConcurrencyLevel default from 2 to 3 - quickref/SKILL.md: Fix MaxConcurrencyLevel default from 2 to 3 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
audkwann
approved these changes
Jun 10, 2026
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.
Audited all code snippets in documentation (docs/), AI skills (agent/skills/), and the starter template (agent/starter/) against the actual Accordant source code. Fixed every instance where docs referenced APIs that don't exist or used incorrect signatures.
Changes
Non-existent APIs removed:
Incorrect signatures/values fixed:
Files changed (15 files)