Whelpr — the maker's bench for Handlr: design playsets, events, personas, programs, app themes and share looks; check them the way the game does; a helper that knows the guide. Data, never code. AGPL-3.0. https://boyslop.dev https://boyslop.dev
  • Python 74.1%
  • HTML 19.3%
  • CSS 4.1%
  • JavaScript 1.7%
  • Dockerfile 0.5%
  • Other 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Claude a505e0ccee The pin moves to Handlr v0.50.5 (2026-11-27)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 21:10:36 -05:00
.claude Playpen: the repository, the design, the public-content guard (2026-11-05) 2026-11-05 22:57:59 -05:00
app/whelpr The pin moves to Handlr v0.50.5 (2026-11-27) 2026-11-27 21:10:36 -05:00
tests The pin moves to Handlr v0.50.5 (2026-11-27) 2026-11-27 21:10:36 -05:00
tools The pin moves to Handlr v0.50.5 (2026-11-27) 2026-11-27 21:10:36 -05:00
.dockerignore run-dev.sh, Dockerfile, docker-compose.yml — Handlr's shape (2026-11-06) 2026-11-06 00:17:32 -05:00
.gitignore Playpen: the repository, the design, the public-content guard (2026-11-05) 2026-11-05 22:57:59 -05:00
CHANGELOG.md The pin moves to Handlr v0.50.5 (2026-11-27) 2026-11-27 21:10:36 -05:00
DESIGN.md A look may name a module's stat; the prompts hint reads the kinds off the validator 2026-11-22 19:03:15 -05:00
docker-compose.yml run-dev.sh, Dockerfile, docker-compose.yml — Handlr's shape (2026-11-06) 2026-11-06 00:17:32 -05:00
Dockerfile run-dev.sh, Dockerfile, docker-compose.yml — Handlr's shape (2026-11-06) 2026-11-06 00:17:32 -05:00
LICENSE Playpen: the repository, the design, the public-content guard (2026-11-05) 2026-11-05 22:57:59 -05:00
pytest.ini Tests: the pin, the drop zone, the CLI, the TOML writer, the lane end to end, the posture (2026-11-06) 2026-11-06 00:17:32 -05:00
README.md The pin moves to Handlr v0.50.5 (2026-11-27) 2026-11-27 21:10:36 -05:00
requirements-dev.txt The preview lab: the pinned Handlr as a child process on loopback, the draft installed, opened in a tab (2026-11-10) 2026-11-10 21:07:26 -05:00
requirements-lab.txt The preview lab: the pinned Handlr as a child process on loopback, the draft installed, opened in a tab (2026-11-10) 2026-11-10 21:07:26 -05:00
requirements.txt The themes lane: an app theme as a draft, the contrast meter, Handlr's own theme check, export as the file (2026-11-10) 2026-11-10 20:47:53 -05:00
run-dev.sh The preview lab: the pinned Handlr as a child process on loopback, the draft installed, opened in a tab (2026-11-10) 2026-11-10 21:07:26 -05:00
VENDORED.json The pin moves to Handlr v0.50.5 (2026-11-27) 2026-11-27 21:10:36 -05:00

Whelpr

The maker's bench for Handlr — design playsets, events, personas, app themes and share looks; check them exactly the way the game does; ask the Kennel Hand when you're stuck. An accessory to Handlr, not a part of it: it writes the files Handlr already accepts and never reaches into a running game.

🐣 P1b runs (2026-11-06): the drop-zone check, the playsets lane (manifest, tables, badges, event + calendar, persona, and the spec 3 tables — [program] with its [[program.plan]] grid, [[vices]], [quest]), export as the catalogue's zip + index.json entry, all checked by Handlr's own validator vendored at v0.50.5. P2 has started (2026-11-10, unreleased): the themes lane — header and colours as forms, a contrast meter, Handlr's own theme check, export as the file — and the looks composer, a share preset that leaves as the /share?… address — and the preview lab, a throwaway Handlr on the demo seed to see a draft in. The Kennel Hand is still to come; DESIGN.md is the plan, issues are the roadmap. Public home: https://forge.boyslop.dev/lockedtrainee/whelpr (a mirror — every push lands there).

Run it

./run-dev.sh                       # makes .venv (uv, Python 3.12), vendors Handlr, serves http://127.0.0.1:8780
python -m pytest -q                # 119 tests against the vendored validators (two boot a real lab: ~20 s)
PYTHONPATH=app python -m whelpr check path/to/playset.zip   # or a playset.toml, a playset folder, a theme's .css, a look's .json
docker compose up -d --build       # one container, one volume, port 8780; no network call at runtime

The first run clones the public Handlr repository once, at the tag VENDORED.json names, into _vendor/handlr/ (a build product, not committed). The app refuses to start, and the tests fail, when that tree and the pin disagree — so every result that says checked as Handlr v0.50.5 means it.

Caution

Whelpr has no login of its own, like Handlr. run-dev.sh listens on 127.0.0.1 only; the compose file publishes port 8780 on every interface, where it is open to anyone who can reach the host. Bind it to the machine (127.0.0.1:8780:8000) or put your reverse proxy's login in front. It holds your drafts, never your play data, and never talks to a Handlr.

What it does today, and what it will do

Lane You make Handlr takes it on
🎁 Playsets ✅ training, Handler lines, wheel segments, habits, badges from the six-rule menu, trance scores by file — one playset.toml, optional art and README, zipped with its catalogue entry /playsets → Install
🎃 Events ✅ a playset with a window, a sign, a voice and day-by-day training laid on a month grid the dashboard card → Join
🐾 Personas ✅ a playset that is a whole Handler: name, strictness, opener, how the AI talks Playsets → 🦴 Collar me
🏁 Programs ✅ a playset that starts when the pup does: [program] (length, sign, voice, what it assumes about the lock), the day-by-day plan on a week grid, [[vices]] Leave it rows from a template, a suggested [quest] the pup edits and saves — or doesn't (spec 3, Handlr 0.40.0) the playset card → ▶ Start
🎨 App themes ✅ (unreleased) one CSS file with the handlr-theme 1 header: the header and the colour variables as forms, the 7:1 / 4.5:1 rule drawn as a meter while you type, the whole file as text; exported as <name>.handlr-theme.css Settings → Look → Add a theme
📸 Share looks ✅ (unreleased) a share preset — kind, layout, card theme, shape, the stats on the grid in order, the post's style, template, hashtags and content warning; never the photo, the location switch, the badge or the moment open the /share?… address on your own Handlr, save it there as a preset (Handlr takes no preset file today)
🔬 The preview lab ✅ (unreleased, dev runs) nothing — See it in the lab on a draft's page starts the pinned Handlr on this machine's loopback, seeded with Handlr's demo, the draft installed the way Handlr installs it; open it in a tab. Its data is deleted when it stops. Off in the container —
✅ Check ✅ drop any of the above and read the game's own refusals, in its own words; also python -m whelpr check —
🧑‍🔧 The Kennel Hand ⏳ P3 a local language model that knows the guide and the formats, helps you write, fix and understand — and never sees your play data —

A playset is data, never code — Handlr's rule, and Whelpr makes nothing that would break it. The checks are Handlr's own validators, pinned to one Handlr version and named on every result.

Status

See DESIGN.md and CHANGELOG.md.

Licence

Free software under AGPL-3.0-or-later, © Lockedtrainee — the same licence as Handlr, for the same reason: a tool that argues you can see what it does has to stay open. Content you make with it is yours, under whatever licence you pick when you export it.