Skip to content

cyberpunkunicorn-os: accept m=nfc on placard links, 0.1.1 - #14

Merged
hellofrequencylab merged 1 commit into
mainfrom
claude/cu-placard-m
Oct 20, 2026
Merged

hellofrequencylab merged 1 commit into
mainfrom
claude/cu-placard-m

Conversation

@hellofrequencylab

Copy link
Copy Markdown
Owner

Every Space placard write failed on 0.1.0. Since frequency-web #3743 the site writes placards as /n/<node>?s=v1...&m=nfc, so Scan stats count placard taps. checkUrl() refused any m= on /n/.

Changes

  • /n/ links now accept m=nfc, and the board adds &m=nfc when it's missing, the same way it does for /q/. /n reads only s, so the signature still checks out. Any other m= value is still refused.
  • The tag check screen now shows the "NFC mark" line for placards as well.
  • Updated the BACKEND.md tag table and the store.h comments.
  • OS_VERSION 0.1.1. After merge, "Run workflow" on main with release ticked publishes cu5k-v0.1.1, and the portal's Update firmware button picks that up.

Checked

  • store.cpp and FrequencyMenu.cpp type-check against patched Bruce.
  • Every write path (rpc frequency.write_tag, the CLI, the menu) writes u.fixed.
  • A signed placard URL is about 106 characters, which fits NTAG213.

Generated by Claude Code

frequency-web writes Space placards as /n/<node>?s=v1...&m=nfc so Scan
stats count placard taps, and checkUrl refused any m= on /n/, so every
placard write failed. Now m=nfc is allowed on /n/ and added when missing,
the same as /q/ (/n reads only s). Any other m= value is still refused.
The tag check screen shows the NFC mark for placards too.

OS_VERSION 0.1.1 for the next release.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AycPrTRVXqSDZhb2NNfyG6
@hellofrequencylab
hellofrequencylab marked this pull request as ready for review October 20, 2026 23:42
@hellofrequencylab
hellofrequencylab merged commit 3dbeabc into main Oct 20, 2026
2 checks 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.

2 participants