v0.4.0 — check command, markdown export, unified diagnostics, and initial VS Code highlighting
OrgScript v0.4.0
OrgScript v0.4.0 is the first developer-experience release.
This release moves the project from a stable language/tooling core toward a more usable day-to-day workflow with combined quality checks, documented machine-readable diagnostics, visible downstream exports, and the first usable editor integration.
Highlights
- canonical formatting checks via
format --check - one-command quality verification via
check - stable diagnostics with documented codes and JSON output
- Markdown summary export
- Mermaid demos for process and stateflow visualization
- canonical language spec, governance notes, and usage guides
- first usable VS Code syntax-highlighting extension for
.orgs
CLI and DX
- Added
orgscript format <file> --check - Added
orgscript format <file> --check --json - Added
orgscript check <file> - Added
orgscript check <file> --json - Added
npm run check:all - Integrated canonical formatting checks into CI
- Unified CLI diagnostics across
validate,lint,check, andformat --check - Introduced stable diagnostic code namespaces for
cli,syntax,semantic,lint, andformat
Exports and visible outputs
- Added
orgscript export markdown <file>for deterministic Markdown summaries - Added Mermaid demo artifacts and generation flow
- Kept Mermaid export available for
processandstateflow - Extended demo material under
docs/demos
Language maturity
- Added the canonical
spec/language-spec.md - Added governance guidance and authoring guides for humans and AI
- Expanded the diagnostics contract in
spec/diagnostics.md - Kept CI and golden snapshots green on the combined quality path
Editor support
- Upgraded the VS Code OrgScript extension from a scaffold to a usable first TextMate-based syntax-highlighting integration
- Registered
.orgsfiles asOrgScript - Highlighted top-level blocks, statements, section keywords, strings, booleans, numbers, operators, and dotted references
- Documented local testing in
editors/vscode/README.md
Verification
Verified with:
npm testnpm run check:allnode ./bin/orgscript.js check ./examples/craft-business-lead-to-order.orgsnode ./bin/orgscript.js check ./examples/craft-business-lead-to-order.orgs --jsonnode ./bin/orgscript.js export markdown ./examples/order-approval.orgsnode ./bin/orgscript.js export mermaid ./examples/order-approval.orgs
Project status
OrgScript is not a programming language.
It is a human-readable, AI-interpretable description language for business logic, processes, rules, roles, policies, events, and operational systems.
v0.4.0 is the first release where OrgScript feels usable not only as a language implementation, but also as a contributor-facing tooling project.