Skip to content

Add agent-friendly JSON workflow validation - #2

Merged
Austin243 merged 2 commits into
mainfrom
agent/json-workflow-validation
Aug 8, 2026
Merged

Add agent-friendly JSON workflow validation#2
Austin243 merged 2 commits into
mainfrom
agent/json-workflow-validation

Conversation

@Austin243

Copy link
Copy Markdown
Owner

Summary

  • add the versioned electrace.cli.v1 success/error envelope and opt-in --json output to every operational subcommand, including parse-time failures
  • add strictly read-only electrace workflow validate MANIFEST --json with deterministic frame, command, input/output, dependency, scheduler, and warning resolution
  • publish CLI/workflow-validation schemas and update the coding-agent guide and installable ElecTrace skill
  • journal Slurm submissions safely so partial job IDs are structured, durable, and protected against blind or concurrent resubmission
  • bump the pre-release package to 0.1.0a4 and require Typer 0.20+, the oldest validated CLI runtime

Compatibility

  • plan, sampled volume, and workflow status retain their legacy raw JSON when --json is omitted
  • explicit doctor --json and volume --json consumers now read the command payload under data; migration notes document the pre-release change
  • help and version output remain human-readable

Validation

  • 433 pytest tests
  • Ruff lint and formatting
  • strict mypy across 36 source files
  • strict MkDocs build
  • pre-commit hygiene/security hooks
  • skill package validation and realistic forward-use test
  • clean sdist/wheel build and fresh installed-wheel smoke on the minimum Typer 0.20 surface
  • two independent adversarial reviews with clean merge verdicts

@Austin243
Austin243 marked this pull request as ready for review August 8, 2026 23:34
@Austin243
Austin243 merged commit 5f7d97b into main Aug 8, 2026
6 checks passed
@Austin243
Austin243 deleted the agent/json-workflow-validation branch August 8, 2026 23:37
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