Skip to content

Issue 482/sdui json scaffolding workflow#485

Merged
roblevintennis merged 3 commits into
masterfrom
issue-482/sdui-json-scaffolding-workflow
Apr 28, 2026
Merged

Issue 482/sdui json scaffolding workflow#485
roblevintennis merged 3 commits into
masterfrom
issue-482/sdui-json-scaffolding-workflow

Conversation

@roblevintennis

@roblevintennis roblevintennis commented Apr 28, 2026

Copy link
Copy Markdown
Contributor
 Deliverables:                                             

  ┌────────────────────────────────────────────────────────────────────┬──────────────────────────────────────────────────────────────────┐
  │                            Deliverable                             │                              Status                              │
  ├────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────┤            
  │ Reusable mechanism for drafting sdui.json from a PROMPT file       │ ✅ draft-sdui-json.mjs (deterministic script, no AI call needed) │
  ├────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────┤            
  │ Warning in verify-playbooks.mjs for missing sdui.json              │ ✅                                                               │            
  ├────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────┤
  │ "Creating sdui.json for a new playbook" section in authoring guide │ ✅                                                               │            
  ├────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────┤            
  │ playbooks/README.md updated with requirement and step              │ ✅ (bonus, beyond issue scope)                                   │
  └────────────────────────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────────┘            
                                                            

…arning

- Add "Creating sdui.json for a new playbook" section to the authoring
  guide with a 4-step workflow and a copy-paste AI drafting prompt that
  references the schema, authoring guide, and all 8 existing sdui.json
  files as few-shot examples
- Add checkPlaybookSduiJson() to verify-playbooks.mjs that warns (never
  hard-fails) when a playbook has PROMPT-3-FRAMEWORKS.md but no sdui.json,
  pointing contributors directly to the new authoring guide section
- Add v2/scripts/draft-sdui-json.mjs: extracts real component names from
  the npx agnosticui-cli add commands in PROMPT-3-FRAMEWORKS.md, writes a
  structurally valid sdui.json scaffold with Ag-prefixed component entries
  and TODO placeholders for the semantic fields (layout, roles, triggers,
  description) the human must author
- Add checkPlaybookSduiJson() to verify-playbooks.mjs (warns, never
  hard-fails) when a playbook has PROMPT-3-FRAMEWORKS.md but no sdui.json;
  points directly to the draft script with the exact command to run
- Add "Creating sdui.json for a new playbook" section to the authoring
  guide explaining the 4-step workflow, what the script generates, and a
  table of every TODO field with guidance on what to write
- Add v2/scripts/draft-sdui-json.mjs: extracts real Ag-prefixed component
  names from PROMPT-3-FRAMEWORKS.md ag-add commands and writes a
  structurally valid sdui.json scaffold with TODO placeholders for the
  semantic fields the human must author (layout, roles, triggers, etc.)
- Add checkPlaybookSduiJson() to verify-playbooks.mjs: hard-fails (not
  just warns) when a playbook has PROMPT-3-FRAMEWORKS.md but no sdui.json,
  pointing directly to the draft script with the exact command to run
- Update v2/playbooks/README.md: add sdui.json to the per-playbook
  directory structure diagram and insert step 4 "Generate the sdui.json
  scaffold" in the Creating a New Playbook walkthrough
- Update authoring guide: replace the AI-prompt-only approach with the
  script-based workflow, add a table of every TODO field with guidance,
  note that CI hard-fails on missing sdui.json
@netlify

netlify Bot commented Apr 28, 2026

Copy link
Copy Markdown

Deploy Preview for agnosticui-demo-lit ready!

Name Link
🔨 Latest commit ba33f07
🔍 Latest deploy log https://app.netlify.com/projects/agnosticui-demo-lit/deploys/69f0f7794af6c90008b22804
😎 Deploy Preview https://deploy-preview-485--agnosticui-demo-lit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Apr 28, 2026

Copy link
Copy Markdown

Deploy Preview for agnosticui-demo-vue ready!

Name Link
🔨 Latest commit ba33f07
🔍 Latest deploy log https://app.netlify.com/projects/agnosticui-demo-vue/deploys/69f0f779be0faa0008aea4c3
😎 Deploy Preview https://deploy-preview-485--agnosticui-demo-vue.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Apr 28, 2026

Copy link
Copy Markdown

Deploy Preview for agnosticui-demo-react ready!

Name Link
🔨 Latest commit ba33f07
🔍 Latest deploy log https://app.netlify.com/projects/agnosticui-demo-react/deploys/69f0f7793b75140008b44d94
😎 Deploy Preview https://deploy-preview-485--agnosticui-demo-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@roblevintennis roblevintennis merged commit 23130d7 into master Apr 28, 2026
13 checks passed
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