Skip to content

feat(cli): add validate --output json for agent-native reports#193

Open
oldrepublicwizard wants to merge 1 commit into
masterfrom
feat/validate-json-output
Open

feat(cli): add validate --output json for agent-native reports#193
oldrepublicwizard wants to merge 1 commit into
masterfrom
feat/validate-json-output

Conversation

@oldrepublicwizard

Copy link
Copy Markdown
Owner

Summary

  • Add validate --output json flag emitting a structured report (success, counts, stages, dry-run issues)
  • Introduce ValidationPipelineJsonFormatter and suppress console/NLog mirroring in machine-readable mode so stdout is parseable JSON
  • Add ValidateCliJsonTests and ValidationPipelineJsonFormatterTests; update KB docs

Test plan

  • dotnet build ModSync.sln --configuration Debug
  • dotnet test src/ModSync.Tests/ModSync.Tests.csproj --filter "FullyQualifiedName~ValidateCliJsonTests"
  • dotnet test src/ModSync.Tests/ModSync.Tests.csproj --filter "FullyQualifiedName~ValidationPipelineJsonFormatterTests"
  • Manual: validate … --dry-run-only --output json prints JSON-only stdout

Emit structured validation pipeline results on stdout with console log suppression so agents can parse exit status, stage summaries, and dry-run issues without desktop ValidatePage UX.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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.

1 participant