Skip to content

Improve badge simulator and menu upgrade guidance - #183

Merged
MetzinAround merged 2 commits into
badger:mainfrom
cheeragpatel:cheeragpatel-badge-skill-fixes
Dec 3, 2026
Merged

MetzinAround merged 2 commits into
badger:mainfrom
cheeragpatel:cheeragpatel-badge-skill-fixes

Conversation

@cheeragpatel

@cheeragpatel cheeragpatel commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 4cda483c70cb22683ad78d4e0b828279fef88631

Dimension Assessment Rationale
Change confidence 7.5/10 ↑ Skill tests and Deploy prompt regression pass.
↑ Upgrade guidance covers state migration and rollback.
↓ Simulator-first behavior depends on agent compliance; menu upgrade was not tested on hardware.
Diagnosis confidence 7.5/10 ↑ The previous guide and Deploy prompt copied a menu file that imports achievements.
↓ The affected badge and traceback were not inspected.
Evidence fit 4/10 ↑ A mismatched menu can explain the reported missing module on HOME.
↓ No device reproduction confirms that this caused the user's failures.

What does this PR do?

Older badges can fail on HOME if a newer menu file is copied without its dependencies. The previous installation guide recommended copying that file in isolation.

Replace that guidance and the Deploy prompt with an in-place icon patch and a separately approved, firmware-compatible complete menu upgrade that includes achievements, dependencies, assets, and menu and state backup for rollback. Make opening the Badge Simulator canvas explicit for app builds and add a scaffold reminder.

Type of change

  • New badge app
  • Improvement or bug fix to an existing app
  • Firmware, menu, or system change
  • Documentation
  • Infrastructure (workflows, scripts, tooling)
  • Universe 2025 (badge25/) maintenance

Badge app checklist

N/A - no badge app was changed.

  • The app lives in badge/apps/<name>/ with __init__.py and a 24x24 icon.png
  • README.md starts with a one-sentence description, followed by usage and any hardware or network requirements
  • Uses the 2026 runtime globals (badge, screen, image, ...) and logical buttons such as BUTTON_SELECT
  • Movement and animation are frame-rate independent (badge.ticks_delta)
  • Tested on Universe 2026 badge hardware, including both orientations and the capacitive controls
  • Assets are in assets/, are PNG where possible, and are as small as practical
  • No secrets, tokens, or personal data are committed (badge/secrets.py stays empty)

Screenshots

N/A

How to use it

N/A

Licensing and intellectual property

This is an open source repository released under the MIT License. Everything merged here is distributed under the terms of that license.

We can't accept contributions that use someone else's intellectual property (for example, characters, artwork, logos, trademarks, game names, music, fonts, or code) unless that person or company has agreed to its release under the project license. This includes recognizable likenesses of existing games or brands that could be confusing.

  • I created all code and assets in this PR, or they are already available under an MIT-compatible license and I have credited them in the app README
  • This PR doesn't include third-party characters, logos, trademarks, or other IP, or the owner has agreed to its release under the MIT License
  • I agree that my contribution is licensed under this project's MIT License

Additional notes

  • python3 -m unittest discover -s .github/skills/hyb26-skill/tests -q: passed (59 tests).
  • node --test .github/extensions/badge-simulator/recording.test.mjs: passed (10 tests).
  • No physical badge upgrade, HOME reproduction, or live simulator build workflow was tested. The canvas cannot verify the physical launcher return path.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings December 3, 2026 02:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Rollback guidance does not protect legacy awards state, and the Deploy button still requests an unsafe partial menu replacement.

2 open issues
What changed in this PR

This PR updates badge-development guidance to prioritize simulator checks and avoid incompatible partial menu upgrades.

Changes:

  • Require simulator-first app workflows and add scaffold reminders.
  • Replace standalone menu-file copying with in-place icon patching.
  • Document approved complete-menu upgrades, compatibility checks, and recovery.
File Description
hardware/​USB_SERIAL.md Revises icon patching and menu upgrade procedures.
badge/​AGENTS.md Aligns deployment guidance with complete-menu upgrades.
.github/​skills/​hyb26-skill/​tests/​test_workflows.py Checks scaffold simulator reminders.
.github/​skills/​hyb26-skill/​TEST.md Adds simulator and menu recovery scenarios.
.github/​skills/​hyb26-skill/​SKILL.md Defines simulator-first and menu upgrade workflows.
.github/​skills/​hyb26-skill/​scripts/​scaffold_app.py Prints simulator guidance after scaffolding.
.github/​skills/​hyb26-skill/​references/​simulator.md Documents canvas usage and browser fallback.
.github/​skills/​hyb26-skill/​references/​physical-badge.md Updates deployment and HOME troubleshooting guidance.
.github/​skills/​hyb26-skill/​references/​menu-icons.md Adds complete-menu upgrade and recovery checklists.
.github/​skills/​hyb26-skill/​README.md Summarizes simulator and menu upgrade workflows.
.github/​extensions/​badge-simulator/​README.md Revises documented Deploy behavior.
.github/​copilot-instructions.md Directs in-place patching instead of partial replacements.

Review effort: Balanced

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The firmware-dependent upgrade and rollback procedure changes system files and migrates saved progress but still needs maintainer validation on a representative older physical badge.

No open issues 🎉

2 resolved since last review

Review effort: Balanced

@MetzinAround
MetzinAround merged commit 80b760e into badger:main Dec 3, 2026
1 check passed
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.

3 participants