diff --git a/presentations/whetstoneRSA_full_story_deck.html b/presentations/whetstoneRSA_full_story_deck.html new file mode 100644 index 0000000..9060160 --- /dev/null +++ b/presentations/whetstoneRSA_full_story_deck.html @@ -0,0 +1,935 @@ + + +
+ + +Then make the planning layer local, cheaper, and repeatable.
+That is already a different software-building experience.
+Same general class of app-building demo.
+RSA attacks the remaining repeated LLM decisions.
+Task splits, target files, required tools, acceptance checks, prep gates.
+But many software decisions are smaller than an LLM.
+show me the failed builds from yesterday5 actions x 4 statuses x 4 date buckets
+= about 80 structured outputs
+ if text has "failed" and "build":
+ action = search_builds
+
+if text has "yesterday":
+ date = yesterday
+ Every new phrase becomes another pattern, exception, or bug.
+5 actions
+x 10 common phrasings
+x 4 statuses
+x 8 time phrasings
+= 1,600-ish rule cases
+ One prompt can replace a pile of brittle phrase rules.
+choosing from a tiny application menu.
+| Model | Input | Output |
|---|---|---|
| gpt-5.4-mini | $0.75 / 1M tokens | $4.50 / 1M tokens |
| gpt-5.4 | $2.50 / 1M tokens | $15 / 1M tokens |
| gpt-5.5 | $5 / 1M tokens | $30 / 1M tokens |
125 product specs used as generation/evaluation examples.
+| Artifact | Count |
|---|---|
| runs | 999 |
| taskitems | 1,321 |
| extracted gate rows | 5,284 |
| gates per taskitem | 4 extracted |
125 programs x 1.32 taskitems/program
+= ~165 taskitems
+
+~165 taskitems x 10+ planning decisions
+= ~1,650+ decisions
+ 125 specs:
+~56K planning input tokens
+~99K planning output tokens
+
+This is before implementation calls.
+ | Model | Planning-only estimate |
|---|---|
| gpt-5.4-mini | ~$0.49 |
| gpt-5.4 | ~$1.63 |
| gpt-5.5 | ~$3.25 |
165 taskitems
+x 5K input + 2K output tokens
+= ~826K input + ~330K output
+
+Still a modest example.
+ | Model | Moderate tasks | Heavier tasks |
|---|---|---|
| gpt-5.4-mini | ~$2.60 | ~$6.70 |
| gpt-5.4 | ~$8.65 | ~$22.30 |
| gpt-5.5 | ~$17.30 | ~$44.60 |
Retries, larger context, regressions, and many users multiply the meter.
+$20 per substantial generation run
+x 10,000 runs/month
+= $200,000/month
+
+before engineer review time
+ toward a few good GPUs, local gates, and occasional subscriptions.
+Adapt a small language model to WhetstoneDSL decisions.
+AST-first programming and universal transpiling
+prereq_op_selectorpicks the prerequisite operations for a taskitem
+Keep the output menu fixed.
+per transformer gate
+10 planning gates
+x 3 to 5 minutes each
+= ~30 to 50 minutes one-time training
+
+then local inference
+ training speed proxy:
+4000 steps / 3 to 5 min
+= ~13 to 22 steps/sec
+
+1,650 planning decisions
+= minutes, not token invoices
+ one specialist per small gate
+Use it to bootstrap examples, not to sit in every runtime decision.
+needs_validate_intakewas always true: 1297 / 1297
+| Gate | Accuracy | Training |
|---|---|---|
| resolve dependencies | 69.4% | 3-5 min on 3060 |
| architect review | 75.0% | 3-5 min on 3060 |
There were only about 17 unique text templates.
+| Approach | Input handling | Runtime | Output control |
|---|---|---|---|
| Regex | manual enumeration | tiny | excellent |
| LLM / SLM + LoRA | easy | base model still runs | needs guardrails |
| Tiny gate transformer | learned | ~800KB specialist | fixed output head |
Faster, cheaper, more predictable each time the gates move local.
+Messy input, small menu, local transformer gate
+But many software decisions are much smaller than an LLM.
+show me the failed builds from yesterday5 actions x 4 statuses x 4 date buckets
+= about 80 structured outputs
+ if text has "failed" and "build":
+ action = search_builds
+
+if text has "yesterday":
+ date = yesterday
+ Every new phrase becomes another pattern, exception, or bug.
+5 actions
+x 10 common phrasings
+x 4 statuses
+x 8 time phrasings
+= 1,600-ish rule cases
+ One prompt can replace a pile of brittle phrase rules.
+choosing from a tiny application menu.
+| Model | Input | Output |
|---|---|---|
| GPT-4.1 | $2 / 1M tokens | $8 / 1M tokens |
| GPT-4.1 mini | $0.40 / 1M tokens | $1.60 / 1M tokens |
| GPT-4.1 nano | $0.10 / 1M tokens | $0.40 / 1M tokens |
| Fine-tuned model | Training | Runtime input | Runtime output |
|---|---|---|---|
| GPT-4.1 mini | $5 / 1M tokens | $0.80 / 1M | $3.20 / 1M |
| GPT-4.1 nano | $1.50 / 1M tokens | $0.20 / 1M | $0.80 / 1M |
Adapt a small language model to WhetstoneDSL decisions.
+AST-first programming and universal transpiling
+prereq_op_selectorpicks the prerequisite operations for a taskitem
+Keep the output menu fixed.
+per transformer gate
+one specialist per small gate
+Use it to bootstrap examples, not to sit in every runtime decision.
+needs_validate_intakewas always true: 1297 / 1297
+| Gate | Accuracy | Training |
|---|---|---|
| resolve dependencies | 69.4% | 3-5 min on 3060 |
| architect review | 75.0% | 3-5 min on 3060 |
There were only about 17 unique text templates.
+| Approach | Input handling | Runtime | Output control |
|---|---|---|---|
| Regex | manual enumeration | tiny | excellent |
| LLM / SLM + LoRA | easy | base model still runs | needs guardrails |
| Tiny gate transformer | learned | ~800KB specialist | fixed output head |