Skip to content

Add StoneCraft pricing demo project#153

Open
tempcollab wants to merge 2 commits into
mainfrom
demo/stonecraft-pricing
Open

Add StoneCraft pricing demo project#153
tempcollab wants to merge 2 commits into
mainfrom
demo/stonecraft-pricing

Conversation

@tempcollab

Copy link
Copy Markdown
Contributor

Summary

  • Adds demo_stonecraft/ dbt project for demoing Notion-aware dbt workflow
  • Seed script (scripts/seed_demo_duckdb.py) creates DuckDB with 6 tables: slab types, raw materials, BOM, production runs, sales orders, competitor prices
  • 2 stub models (stg_slab_unit_cost, mart_slab_pricing) the agent must write using Notion context + 1 complete sibling (mart_customer_mix)
  • 5 Notion pages created live: 3 with business context (cost formulas, margin targets, competitor intel), 2 distractors (office move, team offsite)
  • Demo question: "What's the fair price for each of our slab products to hit our target margins?"

Test plan

  • Run python scripts/seed_demo_duckdb.py to create ~/demo_stonecraft.duckdb
  • Add DB connection to SignalPilot gateway
  • Run dbt parse --profiles-dir . from demo_stonecraft/ — should pass clean
  • Ask the demo question in a fresh session with plugin installed
  • Verify agent finds correct Notion pages, writes SQL, builds models, answers with correct pricing

🤖 Generated with Claude Code

Demo for showing Notion-aware dbt workflow: agent reads business context
from Notion (cost formulas, margin targets, competitor intel) to write
dbt models that answer "what's the fair price for each slab product?"

- Seed script creates DuckDB with 6 tables (materials, BOM, production, sales, competitors)
- dbt project with 2 stub models (stg_slab_unit_cost, mart_slab_pricing) + 1 complete sibling
- 5 Notion pages created live (3 relevant context, 2 distractors)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented May 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
signal-pilot Ready Ready Preview, Comment May 20, 2026 8:40pm
signal-pilot-docs Ready Ready Preview, Comment May 20, 2026 8:40pm

Request Review

Moved to ~/Downloads/seed_demo_duckdb.py — outside the project so the
demo agent can't read it and must rely on Notion + schema discovery.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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