The schema foundation and governance system for Declarative UX (DUX) - transforming UX research into executable, testable code through natural language object definitions.
Markdown-first, natural language-centric development. We believe schemas should be human-readable first, machine-parseable second. Every software artifact decomposes into three molecular components:
- Problems π― - User needs and pain points worth solving
- Behaviors π· - Atomic, testable user actions
- Results π’ - Measurable outcomes and impacts
- Create your object definition in markdown following the DUX object template
- Place it in
watch_folders/hitl_review/with proper naming:{object_type}_*_*_object_model_definition.md - Run validation:
./scripts/test_hitl_pipeline.sh - Monitor progress through the HITL pipeline stages
# Clone the repository
git clone [repository-url]
cd dux-object-model-core
# Install dependencies
pip install -r requirements.txt
# Run the test suite
behave features/
# Start HITL pipeline
python scripts/validation/hitl_pipeline/hitl_orchestrator.pyThe authoritative source for all DUX object definitions:
dux-core/- Problem, Behavior, Result objectsdux-core-junctions/- Flow, UserOutcome objectsdux-research/- Data, Frame, Session, Study objectsdux-research-junctions/- Evidence, Insight, Provenance junctions
Human-in-the-Loop validation workflow:
hitl_review/ β review_queue/ β workshop/ β validation β promotion_candidates/ β approved/
UI component specifications that "hire" DUX objects for display:
- Table rows, cards, detail pages
- Consulting slide templates
- API contracts for each view
validation/- 6-stage validation pipelinegenerators/- Schema and prompt generationutilities/- Helper scripts
graph LR
A[Markdown Definition] --> B[HITL Validation]
B --> C[Schema Generation]
C --> D[Prompt Generation]
D --> E[BDD Tests]
E --> F[Production]
- Structure Validation - Markdown template compliance
- Consistency Check - Content coherence
- Docling Processing - Parse to structured data
- Schema Generation - Create JSON schemas
- Instance Validation - Test with real data
- BDD Generation - Create test scenarios
DUX objects "hire" components to display their data:
- Browse: Grid cards for discovery
- Compare: Table rows for prioritization
- Analyze: Detail pages that double as slides
- Python 3.8+ - Core language
- Behave - BDD testing framework
- Docling - Markdown parsing
- JSON Schema - Validation framework
- CLAUDE.md - AI assistant context
- HITL Development Pipeline - Detailed workflow
- Architecture Docs - System design
- Culture Guide - Team philosophy
This repository provides:
- Schemas β dux-research-platform
- Validation β duckie CLI
- Components β dux-white-label-ui
- Prompts β AI extraction agents
- Generation-First HITL Pipeline implementation
- Component governance system expansion
- Prompt consolidation initiative
- Docling parser improvements
- One canonical definition per object type
- Markdown is source code - JSON is generated
- Strict naming convention for pipeline entry
- Evidence-based validation required
- Natural language first - always
- Core Objects: β Problem, Behavior, Result
- Junction Objects: β Flow, UserOutcome
- Research Objects: β Frame, Session, Study
- Component System: π In Progress
- Full Automation: π In Progress
- Follow the culture guide
- Use the HITL pipeline for all changes
- Write BDD tests for new features
- Update documentation as you go
[License details here]
We're cracking open a cold one to the future of software. Just like PBR (Problem-Behavior-Result) is the champagne of beers, Natty Lang (natural language) is the champagne of programming languages.
No more waiting for engineering to "groom your tickets." No more death by process. No more "but our methodology requires..."
Ship it in 3 weeks and shut the dux up.
"Natural language is the ultimate programming language. Tastes great, ships fast." - DUX Team π¦