Skip to content

feat!: a new headset starts on headset interface 2, its tooling in folders by role - #10

Merged
Xenolphthalein merged 5 commits into
mainfrom
feat/headset-template-next
Dec 1, 2026
Merged

Xenolphthalein merged 5 commits into
mainfrom
feat/headset-template-next

Conversation

@Xenolphthalein

Copy link
Copy Markdown
Contributor

What and why

A headset made from the template starts on headset interface 2 and the app, laid out as the PICO 4 is.

  • Interface 2: headset.json has api 2.0, and the tooling and tests import overpressure only through overpressure.api.v2.
  • New tests:
    • tests/test_headset.py checks that this overpressure runs the headset: discover() finds it and doesn't refuse it.
    • The command check follows dotted module names.
  • Layout:
    • The tooling is in folders by role, with the development commands in tooling/development/devloop.py (dev status) and the tests following the same folders.
    • tests/__init__.py sets up the tests as the PICO 4's do: an empty tools cache, no downloads, stdin from the null device.
  • Folders: a new headset keeps its backups and private files in backup/<codename>/ and assets/<codename>/, so several headsets share one computer.
  • Flavours: headset.json names SteamOS as a new headset's one flavour, the system its install builds. With a second one, the install asks which (flavours). TEMPLATE.md and CLAUDE.md say so, and a test checks it.
  • Docs:
    • CLAUDE.md, TEMPLATE.md, env.example and docs/releasing.md point at the app and its command line (overpressure; uv run overpressure in a checkout).
    • The release bump runs from the overpressure checkout's root.

Breaking: a headset made from this template needs an overpressure that runs headset interface 2. The template's CI passes once overpressure/overpressure's pull request is on main.

Checks

  • Its tests, ruff and ty pass, in an overpressure checkout with this repository in devices/myheadset.
  • New behaviour has tests; documents state the new facts.
  • No serials, vendor files or private data (python scripts/check-private.py --repo devices/myheadset --history).
  • Changes that write to a headset keep a recoverable path: none write to one.

Hardware

Not needed: the template talks to no headset. overpressure/hollywood was made from it with new-headset.py, and its checks pass.

…dename>/ and assets/<codename>/ (interface 1.14), so that several headsets share one computer
…d the Tk window (README, bug form, releasing, CLAUDE.md through uv run); Python 3.12's imports
…lders by role as the PICO 4's

headset.json names api 2.0 and every import goes through overpressure.api.v2: interface 1 is retired, and
overpressure's recovery and the installed system run on the headset runtime. The dev command moves to
tooling/development/devloop.py (Command "development.devloop"), its tests to tests/development/, as the PICO 4's
folders are. The tests download nothing (a look's fetch fails as offline) and read no terminal, as overpressure's
and the PICO 4's, and check that this overpressure runs the headset. env.example and releasing.md name the
overpressure command and run release.py from the overpressure checkout the headset sits in.
@Xenolphthalein
Xenolphthalein requested a review from a team as a code owner December 1, 2026 11:10
@Xenolphthalein
Xenolphthalein merged commit a24e07d into main Dec 1, 2026
14 of 19 checks passed
@Xenolphthalein
Xenolphthalein deleted the feat/headset-template-next branch December 1, 2026 14:14
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