Skip to content

Add scrapyard-robot example: a tile-brain as a Quilt sheet - #14

Merged
SuperInstance merged 1 commit into
mainfrom
claude/scrapyard-robot-example
Sep 16, 2026
Merged

SuperInstance merged 1 commit into
mainfrom
claude/scrapyard-robot-example

Conversation

@SuperInstance

Copy link
Copy Markdown
Owner

Re-expresses the Scrapcraft robot brain in Quilt's own cell model, and makes runnable the two positions offered back to the schema in COORDINATION_WITH_SCRAPCRAFT.md:

  • explain.why — a "ledger of cause": a program cell that reads the senses, the threshold, and the controller's output and returns a plain-English reason for the last decision.
  • predict.next — a "visible JEPA": a one-step forward model, so a child can watch plan vs. path.

The sheet is a full reactive stack: sensors -> a pure decision graph (formulas) -> a deterministic controller (program) -> actuators (io), with a crash-risk listener. Edit cfg.wall_threshold and the decisions, the reasons, and the predictions all recompute.

Adds sheet.yaml, demo.ts, and a README; registers the example in the end-to-end examples test (seeded distance/line inputs); links it from the examples index. Idioms (listener condition, io out, program runtime.get) mirror the existing tested examples.

Claude-Session: https://claude.ai/code/session_01JV2C8fnD86DNwXoyHPd7X9

What

A short description of what this PR does.

Why

The motivation. What problem does this solve? Link any related issues.

How

The technical approach. Any design decisions worth calling out.

Testing

How did you verify this works? Which examples did you run? Which tests pass?

Checklist

  • Tests pass (npm test)
  • Examples still run (quilt run examples/*)
  • Docs updated (if user-facing)

Re-expresses the Scrapcraft robot brain in Quilt's own cell model, and
makes runnable the two positions offered back to the schema in
COORDINATION_WITH_SCRAPCRAFT.md:

- explain.why  — a "ledger of cause": a program cell that reads the senses,
  the threshold, and the controller's output and returns a plain-English
  reason for the last decision.
- predict.next — a "visible JEPA": a one-step forward model, so a child can
  watch plan vs. path.

The sheet is a full reactive stack: sensors -> a pure decision graph
(formulas) -> a deterministic controller (program) -> actuators (io), with a
crash-risk listener. Edit cfg.wall_threshold and the decisions, the reasons,
and the predictions all recompute.

Adds sheet.yaml, demo.ts, and a README; registers the example in the
end-to-end examples test (seeded distance/line inputs); links it from the
examples index. Idioms (listener condition, io out, program runtime.get)
mirror the existing tested examples.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JV2C8fnD86DNwXoyHPd7X9
@SuperInstance
SuperInstance merged commit b8200a0 into main Sep 16, 2026
1 of 5 checks passed
@SuperInstance
SuperInstance deleted the claude/scrapyard-robot-example branch September 16, 2026 17:41
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.

2 participants