Repository navigation
[DONE] 정리 4단계 PR 12 — MQTT 벡터가 채널과 스냅숏을, REST 벡터가 /api/mqtt 를 가상 패널에 돌려 본다 - #82
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EPRDTPDwckZBFHTbCWekXj
Six channels-* vectors replay the channels and the snapshot in mqtt-spec.md; six mqtt-* REST vectors read GET and POST /api/mqtt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EPRDTPDwckZBFHTbCWekXj
Asked in the same request as the prefix, the role lands on the channel the panel is leaving, so ch4 passed even when it did not force Subscriber. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EPRDTPDwckZBFHTbCWekXj
PR 7's absent-* vectors read the default build only; this is the other side of the same convention line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EPRDTPDwckZBFHTbCWekXj
patternflow-bot
marked this pull request as ready for review
October 15, 2026 15:18
This was referenced Oct 15, 2026
engmung
pushed a commit
to engmung/Patternflow
that referenced
this pull request
Oct 15, 2026
engmung
pushed a commit
to engmung/Patternflow
that referenced
this pull request
Oct 15, 2026
Patternflow-lab#11 Patternflow-lab#12 Patternflow-lab#13 Patternflow-lab#15 Patternflow-lab#17 Patternflow-lab#14 Patternflow-lab#16 Patternflow-lab#19 Patternflow-lab#20 Patternflow-lab#18 Patternflow-lab#21 Patternflow-lab#23 Patternflow-lab#24 Patternflow-lab#25 Patternflow-lab#26 Patternflow-lab#28 Patternflow-lab#29 Patternflow-lab#30 Patternflow-lab#27 Patternflow-lab#31 Patternflow-lab#32 Patternflow-lab#34 Patternflow-lab#35 Patternflow-lab#33 Patternflow-lab#36 Patternflow-lab#37 Patternflow-lab#38 Patternflow-lab#39 Patternflow-lab#40 Patternflow-lab#41 Patternflow-lab#42 Patternflow-lab#43 Patternflow-lab#46 Patternflow-lab#44 Patternflow-lab#47 Patternflow-lab#48 Patternflow-lab#49 Patternflow-lab#45 Patternflow-lab#50 Patternflow-lab#51 Patternflow-lab#52 Patternflow-lab#54 Patternflow-lab#57 Patternflow-lab#55 Patternflow-lab#53 Patternflow-lab#56 Patternflow-lab#59 Patternflow-lab#58 Patternflow-lab#60 Patternflow-lab#61 Patternflow-lab#62 Patternflow-lab#63 Patternflow-lab#64 Patternflow-lab#65 Patternflow-lab#66 Patternflow-lab#67 Patternflow-lab#68 Patternflow-lab#69 Patternflow-lab#70 Patternflow-lab#72 Patternflow-lab#73 Patternflow-lab#71 Patternflow-lab#75 Patternflow-lab#74 Patternflow-lab#77 Patternflow-lab#78 Patternflow-lab#76 Patternflow-lab#79 Patternflow-lab#80 Patternflow-lab#81 Patternflow-lab#82 Patternflow-lab#84 Patternflow-lab#83 Patternflow-lab#85 Patternflow-lab#86 Patternflow-lab#87 Patternflow-lab#88 Patternflow-lab#90 Patternflow-lab#91 Patternflow-lab#89 Patternflow-lab#92
patternflow-bot
added a commit
that referenced
this pull request
Oct 16, 2026
… 않는다 (#94) * Add horizontal desktop printed enclosure and assembly instructions. Switch username to mbchars. * tools: case-models builds mbchars' horizontal desktop case mbchars.py puts the remix's printed parts together from its STLs (no assembled file exists): the three front sections where the joint bars' 36 mm insert pitch puts their lug holes, the covers on the sixteen inserts, the USB retainer on its boss and the stands on the bottom edge, each step checked against the README (410.28 x 176.16 x 42 mm), the board's encoder grid, the 320 x 160 mm panel and boolean overlaps. assemble.mjs learns ledTurn (the panel lies the long way here) and knobLook (the official knob, printed white), and lib/looks.mjs pla_orange, the 3MF's own #F46B16. The other three models rebuild byte-identical; the new one is 380 KB. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QGBYm64PnfneJq2ZDJ8Gs7 * web: /build's case switch and 3D preview get a fourth case, mbchars' horizontal desktop one The card is the remix README's own facts and photos (resized to 1200 px), the preview shows the device in the case, and the switch is four tabs, two by two on a phone. A case too wide for the view at the one scale (this one, 41 cm across on a desktop's tall canvas) is drawn smaller by as little as keeps it clear of the arrows; every case still fits at the one scale on a phone, and the three upright ones on a desktop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QGBYm64PnfneJq2ZDJ8Gs7 * docs: changelog for mbchars' horizontal desktop case and the fourth preview case Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QGBYm64PnfneJq2ZDJ8Gs7 * web: ZuperZuche's build joins the map - the first print, from Moscow Found by accident, with the PCBs ordered ten minutes later; the 3D printer came a month on, bought for the case, and the case was the first thing it printed. Moscow was given, so the pin is on the city. The blurb stops at the printer. The maker's note about making the patterns with AI is left out on purpose, and there are no pronouns for the maker: the message does not say. Three photos: a pixel-art Mount Fuji beside a modular synth, a pixel-art frog pond seen from above, and a cat plush in front of the panel. groups.test.ts pins the number of countries on the real map; Russia is new, so 11 becomes 12. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * web: the 3D preview names whose case it is, in the build map's label On the Build tab the name on the case's tab (Official, Besoiobiy, SimonePDA, mbchars) stands over the device, on the build map's dark highlight. It follows the pick at once, as the tab does, and reads Official for a case whose model did not load. The knob hint moves under it while it is up. Changelog also gets the line for the arrows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * web, docs: the first flash starts in download mode, /flash goes to the guide's Flash chapter, and the README is new from its first screen The Play guide's 01 Flash (and /ko) puts hold BOOT, tap RST before Flash Patternflow on every first flash, assumes the Wi-Fi step after "Installation complete!" usually does not come (RST, Flash Patternflow again, Connect to Wi-Fi), and ends on the panel's own patternflow-xxxx network at 192.168.4.1 for when that does not take; the device simulator draws the NETWORK screen's hotspot. The Build guide's flash card, the Pattern tab's notes and the breadboard page give the same order. The bare /flash, which the device's Update page and every release's FLASHING.md point at, redirects to /guide/play#flash; /flash/manifest.json and /flash/bin/* are untouched. flash.test.ts pins the card order and anchors. The README opens with a one-line definition, the hero, the photosensitivity warning, four doors (Build, Play, Make patterns, Add sound) and First light; the story, community, facts and editions follow, shorter. The docs that give the first flash (firmware/README.md, PATTERN_GUIDE.md, SUPPORT.md, docs/assembly/) say the same order, the indexes list the guide pages, the three case remixes and the bundles that exist, and stale wording (the custom slots, "variant", the dead /flash page) is gone. CONTRIBUTING.md gets a row for the interactive guide's copy, and the pull request template asks for the row and the link check. From #7 (caaf2c1). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VaFtEmtx2AkdH1wnbQpV3Z * docs: the README opens with the fixed lines and three ways in, and First light follows the build The opening is L1 + L2 + L3 from docs/manifesto.md (Paik moves to Where it began, in L5's own words), with Play one in your browser, Build one and Get one assembled under the badges. First light moves below the build, gains the steps it was missing (unplug before seating, Origin as the sign of success, Format storage on the first Basics install) and states the J4 rule as data never power on the DevKit's ports. Stale lines are corrected against the repo: sound and MQTT shipped in editions, MIDI arrived in 3.9.0, 3.10.5 fixed four requests, and the photosensitivity warning is the manifesto's full text. From #8 (bfc4b22). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VaFtEmtx2AkdH1wnbQpV3Z * docs: BUILD_GUIDE flashes in the Play guide's order, and the README's campaign is still open BUILD_GUIDE §8.1 now goes download mode first (hold BOOT, tap RST), Flash Patternflow, the Wi-Fi as a second go after RST, the DevKit seated with the power bank unplugged, then the panel's own patternflow-xxxx network (K2 shows its name before the hotspot is up), then the Basics pack: the Play guide's 01 Flash card for card. §7 no longer seats the DevKit before it has firmware, so it is Wiring, and 7.4 names the step that powers up. The README's First light points at §8 again, and Crowd Supply reads as it stands: past its goal, open until 15 October; the 200% figure stays in the dated timeline. Besoiobiy's case README cites the renumbered steps. From #9 (16eca1b). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VaFtEmtx2AkdH1wnbQpV3Z * ## What changed **New journal post** — `fine` (ko + en), published 2026-10-13. Not highlighted. Putting the blog off but not past a week, a hand-written paper diary after months, being selected for Anthropic's Claude startup program, reading and music slipping, AI making time feel more pressing, the interview shoot for the introduction video at the startup center studio, the funding ending in two days, the apartment renovation that still hasn't happened, the visually impaired artist enjoying the Patternflow at the Seoul Station teardown, and parts bought for a workshop. **Two photos**, resized to 2000 px on the long side: - the interview studio (faces already pixelated in the source), after the interview paragraph; also the cover, since the author prefers not to lead with a face - the Seoul Station exhibition before the teardown, after the teardown paragraph ## Notes - The draft pasted the Korean section twice in `_temp/blog.md`; the second copy was clean and is the one used, so the text matches the English paragraph for paragraph (13 each). - Verified against the dev server: both language versions return 200, both images serve, and the index hero is this post with the interview photo as its thumbnail. Not in the highlighted rows. - `dev` and `main` were identical before this commit, so the PR carries only the post. 🤖 Generated with [Claude Code](https://claude.com/claude-code) BODY journal: new post "fine" Post (ko+en), not highlighted: the paper diary, the Claude startup program, the interview shoot for the introduction video, the funding ending in two days, the apartment still unrenovated, and the visually impaired artist enjoying the Patternflow at the teardown. Two photos at 2000 px: the interview studio (faces already pixelated), also the cover, and the exhibition before the teardown. The draft pasted the Korean section twice; the clean second copy is used. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: the cleanup has a baseline From #11 * docs: cleanup step 1 is planned From #12 * docs: the v2 build guide moved to `docs/legacy/BUILD_GUIDE_v2.md` From #13 * docs: the doc map lists the Korean/English pairs From #15 * docs: the doc map reads the YAML under `.github/` From #17 * docs: `CHANGELOG.md` is split by release into `docs/releases/` From #14 * docs: the community files moved to `.github/` and the audio guide to From #16 * docs: cleanup step 2 is planned From #19 * docs: cleanup step 3 is planned From #20 * docs: the project's writing voice is written down From #18 * docs: cleanup step 4 is planned From #21 * docs: the docs index and the repository map catch up with step 1 of the From #23 * docs: cleanup step 5 is planned From #24 * web: `check:features` fails when /features and the feature folders From #25 * web: `check:links-absolute` fails on a GitHub link into the repository From #26 * hardware: `check:bom` and `check:bom-schematic` hold the BOM to the From #28 * web: `check:editions` fails when the shelf and the bundles disagree From #29 * web: `check:presets` fails when a web preset cannot reach a panel From #30 * web: `check:human-lock` fails a pull request that changes a word of the From #27 * web: `check:changelog` fails when `CHANGELOG.md` and `docs/releases/` From #31 * web: every pull request runs the drift checks and the text lock From #32 * web: `check:roadmap` fails when a /roadmap node and its issues disagree From #34 * docs: the contributor docs say what CI runs on every pull request From #35 * web: `check:voice` points at the habits of generated prose, line by line From #33 * docs: `AGENTS.md` carries the writing-voice rule and the step 2 check From #36 * docs: the doc map is regenerated at the close of step 2 of the cleanup From #37 * web: five of the site's twelve lint warnings are gone From #38 * web: the seven `<img>` lint warnings carry a named exception From #39 * docs: where the panel size lives, line by line From #40 * web: pattern Lab's July storage keys say who wrote them and when From #41 * web: the site's redirects and old routes say what links them From #42 * web: web CI fails on a lint warning From #43 * firmware: the MIDI page counts 24 detents a turn, as the encoder has From #46 * web: the community's old formats say what wrote them and when From #44 * firmware: the vendored HUB75 driver names the upstream commit it came From #47 * firmware: the vendored HUB75 driver takes upstream's fix for its config From #48 * web: a new TODO or FIXME turns the drift checks red From #49 * web: one file holds the values the firmware and the site both carry From #45 * docs: the any-resolution RFC has a draft From #50 * docs: the Linux player has a draft RFC From #51 * firmware: the firmware reads the values it shares with the site from From #52 * web: the site's lint and test tooling is on its latest releases inside From #54 * docs: `AGENTS.md` names `shared/`, the HUB75 driver's `UPSTREAM.md` and From #57 * docs: the two step 5 drafts are listed in `docs/README.md` From #55 * web: the site reads the panel size and the knob numbers from From #53 * web: drizzle is on its latest patch releases From #56 * docs: the repository maps catch up with step 3 From #59 * web: tailwind is on its latest 4.x release From #58 * web: react Three is on its latest releases inside the current majors From #60 * web: zustand is on its latest release inside the current major From #61 * web: mediabunny is on its latest release inside the current major From #62 * web: changes from #63 From #63 * web: posthog-js is on its latest release inside the current major From #64 * web: better-auth is on its latest release inside the current major From #65 * web: react is on its latest release inside the current major From #66 * web: next is on its latest release inside the current major From #67 * docs: the doc map is regenerated at the close of step 3 of the cleanup From #68 * web: the guide's simulated board takes input that no hand made From #69 * tools: a virtual panel for the contract vectors From #70 * tools: the virtual panel answers device state over REST From #72 * tools: the virtual panel answers the pattern routes From #73 * tools: contract vectors have a format and a replay From #71 * web: `check:virtual-panel` runs every preset on the virtual panel From #75 * tools: the virtual panel speaks MQTT From #74 * tools: the virtual panel answers `/api/mqtt` From #77 * tools: the virtual panel speaks OSC From #78 * docs: the REST contract has its first vectors From #76 * docs: the MQTT contract has its first vectors From #79 * tools: oSC has contract vectors From #80 * docs: the REST vectors reach the rest of the core From #81 * docs: the MQTT vectors reach the channels and the snapshot, and From #82 * tools: the virtual panel takes the audio WebSocket From #84 * tools: the virtual panel speaks RTP-MIDI From #83 * tools: the audio WebSocket has contract vectors From #85 * tools: the virtual panel sends MIDI back From #86 * tools: mIDI has contract vectors From #87 * tools: mIDI out and `/api/midi` have contract vectors From #88 * docs: the maps of the tree name the virtual panel and the contract From #90 * docs: the REST and MIDI specs say one thing where they said two From #91 * docs: `AGENTS.md` names the virtual panel, the contract vectors and From #89 * docs: the doc map is regenerated at the close of step 4 of the cleanup From #92 * docs: changelog for 81 workshop fork PRs #11 #12 #13 #15 #17 #14 #16 #19 #20 #18 #21 #23 #24 #25 #26 #28 #29 #30 #27 #31 #32 #34 #35 #33 #36 #37 #38 #39 #40 #41 #42 #43 #46 #44 #47 #48 #49 #45 #50 #51 #52 #54 #57 #55 #53 #56 #59 #58 #60 #61 #62 #63 #64 #65 #66 #67 #68 #69 #70 #72 #73 #71 #75 #74 #77 #78 #76 #79 #80 #81 #82 #84 #83 #85 #86 #87 #88 #90 #91 #89 #92 * 시작 — 정리 마지막 기록을 원래 레포 dev 위에 다시 짠다 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpjXsYZbwT5PpwzpNCEEqq * docs: the doc map lists the six links the cleanup's closing entry adds The progress log's entries for steps 1 to 5 and the gate link contract-vectors.md, the doc-parity list, the panel-geometry record and the two RFC drafts. The cleanup RFC's status line links the log. Each of the six resolves. The log and the RFC come over with the cleanup's records, so until they land the map is six rows ahead of the tree. From #93 (2f094fe). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpjXsYZbwT5PpwzpNCEEqq --------- Co-authored-by: Mykyta Bilous <belousnikita@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Lee Seunghun <122682380+engmung@users.noreply.github.com> Co-authored-by: pi-hub <pi-hub@localhost>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ops / https://claude.ai/code/session_01EPRDTPDwckZBFHTbCWekXj
정리 4단계 계획서 표의 PR 12 다. MQTT 계약의 채널과 스냅숏을 벡터 여섯 개로, /api/mqtt 를 REST 벡터 일곱 개로 적었고, 이미 있는 check:mqtt-vectors 와 check:rest-vectors 가 그대로 가상 패널에 돌려 본다. 머지되면 채널 1~4 의 구독자 고정, Broadcast 에 스냅숏이 없는 것, 스냅숏이 쓴 값을 덮는 것, 비밀번호를 돌려주지 않는 것이 스펙이나 가상 패널과 어긋날 때 PR 마다 drift 검사가 빨개진다.
좋아지는 것: 없음
할 일
docs/mqtt-vectors/channels-*.json여섯docs/rest-api-vectors/mqtt-*.json일곱channels-forced.json이 하나를 놓쳐 고쳤다070afe5)이 들어왔다. 충돌 없음, 다시 다 통과8c72eb5에서 Drift checks(116503126802)와 Docs point at files that exist(38758476175) 둘 다 success070afe5그대로라 merge 할 것이 없다한 일
MQTT 벡터 여섯, 저마다
mqtt-spec.md한 문장이다. 채널은 스펙 11행대로POST /api/mqtt의prefix로 고른다. 펌웨어가 받는channel인자는 스펙에 없다.channels-prefix.json, 14행 「Prefixpatternflowis Broadcast; …」. ch3 에 붙으면patternflow/param/1은 무시하고patternflow3/param/1은 따른다. prefix 일곱(patternflow,patternflow1,2,4,5,patternflow6,studio)마다/api/mqtt의channel이broadcast,ch1,ch2,ch4,live,custom,custom이다.channels-forced.json, 14행 「Channels 1–4 force the Subscriber role.」 Live 에선 발행자로 붙는다. 채널 1~4 로 옮기면 구독자고, 옮긴 다음role=publisher를 따로 보내도 구독자다. ch4 에서pattern을 따른다.channels-snapshot.json, 45행. 채널 15 의 스냅숏을 retain 으로 브로커에 두고 차례로 옮기면, 옮길 때마다 그 채널의140, 210param넷이 잡힌 값이 된다(110240, … 510540).channels-heartbeat.json, 45행 둘째 문장. Live 발행자는 붙자마자 retain 스냅숏을 내고, 7.9초 동안 아무것도 보내지 않다가 다음 0.2초 안에 또 낸다. 구독자로 다시 붙으면 브로커에 남은 제 스냅숏을 받아 넷 다 잡힌다.channels-overwrite.json, 45행 셋째 문장. ch2 와 Live 에서param/N900 이 먹고, 뒤에 온 스냅숏이 그 값을 덮는다.channels-broadcast.json, 47행. Broadcast 구독자는 retain 스냅숏을 받지 않고,param/2800 은 스냅숏이 와도 남는다.REST 벡터 일곱,
/api/mqtt다.rest-vectors.ts는 MQTT sender 를 넘기지 않아 브로커가 없고, 패널은 붙지 않은 채로 답한다(PR 11 이 넘긴 말).mqtt-fields.json, 367행 「Also reported: …」. 예시의 키와normal*다섯,directorHost를 타입으로 본다.mqtt-password.json, 367행 「Passwords are never returned — only whether one is set.」 처음엔hasPassword가 false. 폼으로 host, user, password 를 보내면 답과 다음 GET 에서hasPassword,normalHasPassword가 true 이고password도pass도 없다.mqtt-forces-sub.json, 362행forcesSub. Live 발행자를 ch3 으로 옮기면 구독자에forcesSubtrue,role=publisher를 보내도 그대로다.mqtt-knobs.json, 363행. 손으로 돌린 클릭이 쌓이고(K1 3+2), 음수가 되고(K2 −4), 역할 off, 발행자, 구독자 어디서나 바로 보인다.mqtt-role.json, 111행, status 의mqttRole.POST /api/mqtt?role=세 번의 답과 status 가 같다.mqtt-same-fields.json, 323행. 손과POST /api/params다음/api/mqtt와/api/status의knobs,params,paramActive가 같다.mqtt-caps.json, 613행. MQTT 빌드의caps는["patterns","params","sleep","mqtt"]이고/api/mqtt는 JSON 200 이다. 기본 빌드 쪽은 PR 7 의absent-*가 본다.증거
로컬, web/, dev merge(
78381ec)와mqtt-caps.json뒤:doc-map 은 이 PR 이 바꾸지 않는다. 벡터는 JSON 이라 링크를 더하지 않는다.
가상 패널의 POST 순서를 본 실행. 버릴 스크립트로
start({ features: ["mqtt"], clock: "manual" })한 패널에 차례로 보냈다(커밋하지 않음):GitHub, 이 PR: head
8c72eb5에서 「Drift checks / check」(job 116503126802,PF_DRIFT_STRICT=1) 로그에passed mqtt-vectors,passed rest-vectors,passed roadmap,check:human-lock: no locked words changed. 「Docs point at files that exist / check」(run 38758476175)도 success.web/**가 바뀌지 않아 「Web CI」는 돌지 않았고, typecheck 와 lint 는 위의 로컬 결과다. [DONE] 직전 dev 는070afe5그대로라 더 merge 할 것이 없다.실행법
가정
docs/mqtt-vectors/channels-*.json,docs/rest-api-vectors/mqtt-*.json)에만 더했다. README 둘은 k6, k11 행이고 이미channels-와mqtt-를 말해서 고치지 않았다.CHANGELOG.md,docs/rfc-cleanup-progress.md, doc-map CSV,rest-vectors.ts,tools/virtual-panel/도 안 고쳤다. 라벨은 앞 PR 들처럼 달지 않았다.prefix로 고른다. 스펙 11행이POST /api/mqtt가 받는 것으로 host, port, user, password, prefix, role 을 꼽고, 14행이 「The prefix is the channel」이라 한다. 펌웨어의channel인자는 스펙에 없어 쓰지 않았다(D8). 펌웨어는 이 POST 에서 prefix 를 받지 않는다. 아래 for an issue.channels-forced.json,mqtt-forces-sub.json)은 prefix 와 role 을 따로 보낸다. 깨뜨린 3 을 첫 판이 통과시킨 까닭이 이것이었다."<string>"로만 본다. 스펙은 「compact JSON of the mid-join state, includingparam:[a,b,c,d]」 라param말고 어떤 키가 있는지 정하지 않는다. 벡터가 보내는 스냅숏도param만 싣는다. 구독자가pattern이나message로 무엇을 하는지는 스펙에 없다(D8).channels-heartbeat.json의 다시 붙는 쪽은 패널이 발행자일 때 남긴 제 스냅숏을 구독자로 받는다. 값이 기본 500 이라params는 그대로고,paramActive가 넷 다 true 가 되는 것으로 스냅숏이 왔음을 본다. 그 사이 브로커에 스냅숏을 보낸 것은 패널뿐이다.message의 retain 칸(broadcast: yes · channels: no)은 벡터가 없다. 보내는 쪽이 정할 플래그이고, 패널은message를 받기만 한다. 패널 쪽에서 돌려 볼 것이 없다./api/mqtt의channel이off가 되는 때도 스펙이 말하지 않아 보지 않았다.mqtt-same-fields.json이 인용한 323행의 뒷부분(MQTT 없는 빌드는 그 경로가 없다)은 PR 7 의absent-routes.json이 본다. features 가 벡터마다 하나라 한 벡터에 둘을 담을 수 없다.mqtt-caps.json은 caps 의 순서까지 본다. 110행이 기본 셋을 먼저 적고 「each edition adds its own」이라 하고, 펌웨어도 코어 셋 뒤에 feature 의 cap 을 붙인다(core_status_http.h251~264행).rest-vectors.ts에 MQTT sender 가 없어 브로커 없이 돈다. host 를 주는 것은mqtt-password.json하나이고 역할이 off 라 아무 데도 걸지 않는다.firmware/와web/src/를 건드리지 않아build.sh all,check:ci,check:panels는 §2.1(1) 대상이 아니다. 계획서대로 typecheck 와 이 PR 의 검사, 깨뜨린 실행을 적었다.Changelog
Docs
/api/mqtthas REST vectors. Six more indocs/mqtt-vectors/replay the prefix naming the channel, channels 1–4 forcing Subscriber, the retained snapshot on channels 1–4 and Live, the Publisher's eight-second heartbeat, a snapshot overwriting aparam/Nwrite, and Broadcast taking no snapshot. Seven indocs/rest-api-vectors/readGETandPOST /api/mqtt: its fields, the password it never returns,forcesSub, the knob counts in every role,mqttRolein status and themqttcap.for an issue
POST /api/mqttand the broker.docs/mqtt-spec.mdline 11: "Set on the panel's MQTT console page or withPOST /api/mqtt(host, port, user, password, prefix, role)." The firmware'spostOnLoop()(features/mqtt/core_mqtt_http.hlines 148 to 214) reads onlychannelandrole, answers a request with neither400 {"ok":false,"error":"channel or role required"}(line 162), and ignores host, port, user, password and prefix. The broker is saved byPOST /api/mqtt/config(configOnLoop(), line 216), which takes the password aspass(line 241). Vectors that set the prefix or the password there: everychannels-*.json,mqtt-password.json(step 02),mqtt-forces-sub.json(steps 01 and 02).web/scripts/drift/_broker.ts(PR 11) points every MQTT vector at its broker the same way.core_mqtt.h: snapshot only onpatternflow1topatternflow5(isChannelShowPrefix(), line 296, used at 949 and 964), the heartbeat (SNAPSHOT_HEARTBEAT_MS, line 107, fromhandle(), line 1431), a Publisher ignoring a non-empty snapshot (line 728), channels 1 to 4 forcing Subscriber (lines 1100, 1131, 1305, 1333),knobsfrom the hand in every role untilknob/Narrives (lastKnobsCopy(), line 1374, andupdate(), line 1456), and no password insendStatus()(core_mqtt_http.hlines 73 to 133).for another k
tools/virtual-panel/transports/mqtt-http.tsappliesroleon the channel the panel is on and savesprefixafter it. On ch3,POST /api/mqtt?prefix=patternflow5&role=publisherleaves a Subscriber on Live, and a secondrole=publisheris needed (run above). The spec does not order the two, and a client reading it would expect a Publisher on Live. The vectors here send the two apart, so changing the order breaks none of them.messageretain column, for the reason in 가정. The plan gives that file to no later k.Upstream
npm run typecheck,npm run lint,npm run check:mqtt-vectorsandnpm run check:rest-vectorspass; firmware/ and web/src/ are untouched.🤖 Generated with Claude Code
https://claude.ai/code/session_01EPRDTPDwckZBFHTbCWekXj