Add Praxis 1.2.x schema support with enhanced features#32
Merged
kayodebristol merged 4 commits intomainfrom Jan 30, 2026
Merged
Add Praxis 1.2.x schema support with enhanced features#32kayodebristol merged 4 commits intomainfrom
kayodebristol merged 4 commits intomainfrom
Conversation
Co-authored-by: kayodebristol <3579196+kayodebristol@users.noreply.github.com>
Co-authored-by: kayodebristol <3579196+kayodebristol@users.noreply.github.com>
Co-authored-by: kayodebristol <3579196+kayodebristol@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update to the latest version of praxis and refactor
Add Praxis 1.2.x schema support with enhanced features
Jan 30, 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.
Description
Adds comprehensive support for Praxis 1.2.x schema format, enabling documentation generation for enhanced model definitions, business rules, runtime constraints, component specifications, and orchestration configuration.
Type of Change
Changes Made
Parser Enhancements (
src/parser.ts)Type Definitions:
PraxisModel: Addedconstraints,indexes,relationships, fieldvalidation,optionalflag, complex type supportPraxisLogic: Addedrules(withwhen/then), runtimeconstraintsPraxisComponent: Addedprops,events,layout,stylingPraxisOrchestration: New type for distributed system configurationParsing Logic:
Template Updates (
src/generate.ts)Schema Template:
Logic Template:
when) and actions (then)Example & Documentation
New Example (
examples/task-management-v2/):Documentation:
docs/PRAXIS_V2_SUPPORT.md: Comprehensive feature guide with examplesType Exports (
mod.ts)Exported types for external use:
PraxisSchema,PraxisModel,PraxisLogic,PraxisComponent,PraxisOrchestrationTesting
deno task gensuccessfully (blocked by npm dependencies download)deno lint(noted any acceptable errors)deno check mod.ts(blocked by npm dependencies download)Note: Network certificate issues in CI environment prevented full end-to-end testing. Code syntax validated successfully. Manual testing required post-merge.
Architectural Decision Record (ADR)
Rationale: Extension of existing schema parser to support new Praxis version. No fundamental architectural changes - same parser pattern, same template engine, same dual-runtime approach.
Documentation
Breaking Changes
None. Fully backward compatible with:
Related Issues
N/A
Additional Notes
Code Review Fixes Applied:
string[]instead of{ array: 'string' })Future Considerations:
Checklist
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/plures/praxis/usr/bin/curl curl -s REDACTED(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.