Owner directive 2026-11-03: separate app notifications from radio
notifications, separate controls, separate notifications, independent
settings. Radio notifications set the channel setting in the radio, app
notifications in the app.
So there is no bridging: no Inherit in the app control, no shared
resolution, no precedence between them. The app's existing per-channel
setting keeps its store, its three values and its behaviour, and gains only
a label; the radio gets a new control over 0xC5 0x18/0x19.
Supersedes the Inherit plan, which three owner rulings had invalidated:
there is no firmware Inherit ('how would firmware inherit from firmware?'),
a channel with a mode set needs no master switch to enable it, and the
device-wide default is now Self rather than All.
Contract per FuchsiaCreek AM 1406, built green on firmware
epic/606-channel-notify: mode 0 not set / 1 all / 2 mentions / 3 off, keyed
by slot index, SET answered by a re-read; caps2 0x80 gated on PIN_BUZZER;
caps byte 3 at device-info offset 87, length-gated.
Epic A2 is the load-bearing test: changing one setting must emit nothing for
the other, so the two cannot be quietly re-merged later.
One decision left in section 9: what the radio control displays for a
channel whose radio mode is unset.
Folder renamed 544-inherit-channel-notify -> 544-radio-channel-notify,
since Inherit is no longer the feature.
Owner ruling via AM 1401: FIRMWARE_VER_CODE rolls back to 14 and no
dependency may ride on it. Capability signalling is caps bits.
Closes two of the plan's three open decisions:
- signal is caps2 0x80, not a probe and not a version floor
- no version gate is added anywhere by this plan
caps2 0x80 exhausts caps byte 2, so caps byte 3 lands in this work. Its
offset is 87, verified at MyMesh.cpp:3032-3036: caps2 at 84, then
ui_led_enabled 85 and ui_display_mode 86. Reading byte 3 at 85 would parse
the LED state as a capability mask.
Adds a non-negotiable regression assertion: verCode 14 must not turn any
gate this plan adds to false.
Only decision 1 (first-connect push of existing choices) is still open.
The three shipped gates that DO break at 14 go to #857, inventory commented
there, not started.
Built to the owner's architecture ruling (AM 1399): one stored pref the
variant owns, not two. Re-grounded against firmware-base, which changed
three findings from the August design:
- the firmware table is already slot-keyed, range-checked, assertion-sized
and persisted (GuiPrefs.h:26-27, GuiPrefs.cpp:39-41,76, MyMesh.cpp:1293,
4687-4689), so the ruling's keying is what firmware already does
- the non-GUI alert path has no per-channel mode at all (MyMesh.cpp:1286-1296
ifdef/else), so neither target has the pref the ruling reuses
- FIRMWARE_VER_CODE on firmware-base reads 22 while caps2 0x10/0x20/0x40 and
sub-codes 0x0B-0x17 are absent from its history, so a version gate is unsafe
Kills the August design's sha256(psk) key, width byte, collision escalation,
CLEAR-then-repush and separate gate byte. Three decisions left for the owner
in section 9.
Version 1.8.2+71 on release/1.8.2, from dev at be17c94b (12 PRs since
the 1.8.1 cut, #1241). Adds the gate texts: CHANGELOG [1.8.2],
release-notes/1.8.2.md, play/1.8.2.txt (498/500, covers everything
since the last production release, 1.8.0, and ends with the releases
link), discord/1.8.2.md and announcements/1.8.2.md.
Tracker #1343.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The translation batches of #1322 are about to put roughly 470 strings into
17 languages by machine. Nothing stopped a translation that drops a
placeholder, breaks a plural, or just stays English.
tools/l10n/check_arb.py compares each app_<locale>.arb with app_en.arb
and runs in the required analyze job. It fails on a dropped, renamed or
added placeholder; a plural or select that is unbalanced, has no other
case, repeats a case, uses an unknown category, or counts a placeholder
English does not declare as a number; an empty translation; a key or
@metadata English no longer has; a duplicate key; a wrong @@locale; and a
translation identical to English unless allowlisted or still pending.
Pending entries must leave the list once translated. Missing keys are
reported until fail_on_missing is set at #1325.
On its first run it found 13 locales whose contact search hint dropped
the count and the "unread" marker, now fixed, and 17 locale files
carrying keys English had dropped, now removed. The regenerated Dart
changes only those 13 hints.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The iOS app declared iPhone only (TARGETED_DEVICE_FAMILY = 1), so
iPadOS ran it in a phone-sized window. It now declares iPhone and iPad.
Info.plist already lists every iPad orientation and the icon set already
holds the iPad sizes, so nothing else in the bundle changes.
A Mac now runs the iPad version, so the iPhone-on-Mac notice drops its
"fixed phone-sized window" claim.
CI fails if the built app, or the signed IPA, lacks iPad in
UIDeviceFamily, with a negative test on an iPhone-only plist.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Feature #1280 added Copy link and https share links, and the manual
still described only QR codes.
- channels.md: Copy link under the channel QR, and a new "Open a
shared link" section: what a tap does on Android, iPhone and the
web, the confirmation, the wait for a radio, why the key never
reaches the server, and why QR codes stay meshcore://.
- contacts-and-messages.md: My contact QR shows and copies the link,
and Add by public key accepts a pasted link.
Agent: StormyElk (session 088ce922)
Android got App Links in #1309. iPhones still sent offband.app links
to Safari, because the app claimed no domains and the site published
no apple-app-site-association file.
- Runner.entitlements claims applinks:offband.app and
applinks:dev.offband.app, wired into the Runner target's Debug,
Release and Profile configs.
- web/.well-known/apple-app-site-association names
63VU9LBN3A.app.offband.meshcore.ios for /add/*, served as JSON.
- The signed lane now fails if the signed app is missing either
domain, checked against a wrong domain first. Without the
entitlement the build still succeeds and links quietly open in
Safari.
The App Store profile was regenerated with Associated Domains and
stored in APPLE_PROFILE_BASE64 on 2026-11-30. app_links 7.2.2 already
reads universal links through the scene lifecycle, so no native or
Dart code changes.
Agent: StormyElk (session 088ce922)
A meshcore:// link sent in a text or a chat can open the stock MeshCore
app instead of Offband, since both answer it. Links meant to be sent now
use https://offband.app/add/..., which Android opens in Offband once the
domain verifies (#1309). QR codes stay meshcore://, so the stock app can
still scan an Offband QR.
- The channel QR dialog gets a Copy link button that copies the https
link. The My contact QR dialog shows and copies it.
- Channel.fromShareUri and Contact.fromShareUri read both forms, so the
router, the add-contact paste field and the QR scanners all do.
- The form conversion moves to lib/helpers/share_link_forms.dart, so the
models can use it. A path typed in mixed case reads the same.
- The router holds a contact link as received; the dialog reads either
form.
- New strings "Copy link" and "Channel link copied", English only for
now.
Agent: StormyElk (session 088ce922)
A share link can now be https://offband.app/add/channel#... or
/add/contact#..., on offband.app or dev.offband.app. The fields sit after
the #, which browsers never send, so a channel secret stays out of the
server's logs. The router turns the link into its meshcore:// twin, so
one parser still reads every form.
- Android: an autoVerify App Links filter for /add/ on both hosts, and
web/.well-known/assetlinks.json with the release key's SHA-256, served
as JSON. A verified link opens Offband with no chooser, so the stock
app, which also answers meshcore://, is out of the way.
- Web: the page's own address arrives as the initial link. Once read it
is cleared from the address bar, so a reload asks nothing.
- A tap on such a link in a chat message opens the add confirmation, as
meshcore:// links already do.
- An /add/ address with broken fields shows the invalid-link message;
the site's other pages are ignored.
iOS Universal Links follow once the Apple team ID and a profile with
Associated Domains are in place.
Agent: StormyElk (session 088ce922)
Whether the stock MeshCore app responds to meshcore:// could not be
checked until a page served the links correctly. Once the test page
did, a tap on the S26 Ultra triggered both MeshCore and Offband
MeshCore. The row now cites that test as its evidence.
Agent: StormyElk (session 088ce922)
The DifferentWire work-item standard requires the Integration Testing Epic to end with OUTCOMES.md: summary, what shipped, evidence, what's left. PLAN.md gains Epic G and its status; the approved grant terms are left as they were.
Agent: ScarletForest (session 7ebac884)
A session decrypted three uploads with pull's seen step replaced by a no-op, so their intake issues never got the seen label and retention would never delete them. Nothing showed it.
list now checks debug_logs for a folder named for each unseen upload (old bare-code names, dated names, with a sender, and free_dir's -N copies), flags it, and exits 1. Tests fail on the previous list.
Agent: ScarletForest (session 7ebac884)
The Feature ran without a plan of record or an Integration Testing
epic. This is the plan from the FEATURE-PLAN template: diagnosis, five
epics (A and B already merged in #1308, C, D, and E for Integration
Testing), the Citadel chain, the can't-tell branches, the grant terms
for C to E, and the owner's choices.
Merging it approves the plan.
Agent: StormyElk (session 088ce922)
Three gaps found in review:
- A link in brackets, "(meshcore://...)", took the closing bracket with
it and was reported as invalid. The bracket is now left out unless
the link opened one itself.
- The legacy advert form had no upper length, so a huge link from
another app was decoded in full. An advert fits in one radio packet,
so anything past 255 bytes is refused.
- A channel link with a blank name and a secret was accepted, and
would add a channel with no visible name. It is refused.
Regression tests, each failing against the code before this commit:
- meshcore_linkifier_test: a closing bracket is left out of the link.
- link_router_test: a 256-byte advert link is refused.
- channel_share_uri_test: a blank name is refused even with a secret.
Epic: #1285
Feature: #1280
Agent: StormyElk (session 088ce922)
No platform declared the meshcore scheme, so a share link tapped in a
browser or another app went nowhere.
- Android: a meshcore VIEW/BROWSABLE intent filter on MainActivity, and
flutter_deeplinking_enabled=false, which app_links needs; otherwise
Flutter treats "channel/add" as a screen to navigate to.
- iOS: CFBundleURLTypes for meshcore, and FlutterDeepLinkingEnabled=false.
- macOS: CFBundleURLTypes for meshcore.
- app_links 7.2.2 (Apache-2.0) feeds the link the app was opened with,
and later ones, to LinkRouter (#1289). Only meshcore:// links are acted
on: on web the page's own address arrives as the initial link, and an
ordinary launch must not show a link message.
Windows and Linux wait on how the app is installed (#1284).
Regression tests:
- share_link_registration_test: the three platform declarations. All
three fail against dev's manifest and plists.
- link_router_test: only share links are taken from the OS.
- link_router_host_test: a link from the OS opens the confirmation, and
an ordinary address does nothing.
Epic: #1286
Feature: #1280
Agent: StormyElk (session 088ce922)
Every share link now goes through LinkRouter, which parses it and holds
it until its confirmation can be shown. LinkRouterHost, wrapping the home
route, shows that confirmation over whatever screen is open. Nothing is
added without the user confirming.
- Channel links open the channel-add confirmation, now shared with the
QR scanner (confirmAndAddSharedChannel), which keeps the slot-after-
confirm rule from #1021.
- Contact links open the add-contact dialog, already filled in.
- The older meshcore://<advert hex> form that "Copy Advert to Clipboard"
still produces is imported through the radio after a confirmation, the
same as "Add Contact from Clipboard".
- A hashtag link needs no secret: the key is derived from the name, and
#public means the real Public channel.
- With no radio connected, the link waits, with a persistent message, and
its confirmation appears once a radio connects and, for a channel, the
channel table has settled. Only the latest link is held, in memory only.
- A malformed link gets a persistent message instead of nothing.
- A meshcore:// link in a chat message is now tappable and opens this
flow. Before, it was plain text: the URL linkifier only knows http(s).
Regression tests:
- channel_share_uri_test: hashtag links derive the reference app's keys.
- link_router_test: parsing and the holding rules.
- meshcore_linkifier_test: finding links in message text.
- link_router_host_test: wait, confirm, cancel, duplicate, malformed, and
a tap in a message.
Against dev's parser and link handler, 7 of them fail.
New strings are English only; untranslated.json updated.
Epic: #1285
Feature: #1280
Agent: StormyElk (session 088ce922)
#1279 merged with test-gate red: every test it added used the new guard
class, so none compiled against the base code and none showed the old
behavior failing.
The guard now runs inside MeshCoreApp, through StaleKeyboardInsetRepair,
and is gated on defaultTargetPlatform (not dart:io, which is never
Android in a test). A new test loads the real MeshCoreApp, hands it a
stale inset after a pause and resume, and expects a re-apply. It fails
on the base, where main() started the guard and the root widget did
not. Two more tests pin that iOS never calls the channel and that the
guard stops once the app is gone; each was proven by breaking the
condition it guards.
No change on a phone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Backgrounding the app while the keyboard animates makes the Flutter
engine re-dispatch the insets it cached when the keyboard opened
(flutter/flutter#191156, fixed upstream on master only by #191453).
Flutter then keeps a keyboard inset with no keyboard: the chat stays
shrunk and the bottom bar loses its safe-area padding.
Once metrics and lifecycle settle for 500 ms, a nonzero Flutter inset is
checked against Android's root insets. If Android says the keyboard is
hidden, the insets are re-applied (the native side re-checks the
keyboard in the same main-thread turn) and the result is checked.
Silent per Ben's decision: WARN on a repair, INFO when it clears, ERROR
when it does not or a native call fails. Remove once the pinned Flutter
contains #191453.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A bar at the top of a region-scoped channel reminds the user which region its messages ride and opens Set Region Scope on tap. Dismissible for the session (in-memory, keyed by channel PSK), returns on a fresh app open. Service + widget tests; the nav test gains the new provider.
Same slot-index misbind as region scope (#1256): a sync reshuffle carried the Cyr2Lat enabled flag and profile to the wrong channel. Key both by the channel PSK with index fallback (logged) and best-effort migration. Reshuffle regression tests for enabled and profile.
A sync reshuffle moved a channel's region scope to the wrong slot occupant (Dot). Key the scope by the channel PSK like channel_message_store (#194), fall back to the index key only while the PSK is unknown (logged, never silent), and best-effort migrate existing index-keyed scopes on first read. Regression test: indices swap, PSKs stable, each scope stays on its own channel.
Plan of record for epic #1255: key region scope and Cyr2Lat by channel PSK (not slot index), best-effort migration, scoped-channel banner. Approved on merge; unlocks the feature-plan grant for #1255.
The contact-update frame carries last_advert_timestamp, which defaults
to now in whole seconds. The tests compared the whole frame the dialog
wrote with one they built afterwards, after waiting on real time, so a
second ticking over in between failed them with the flags correct. It
failed PR #1252 on the same commit that had passed on dev.
They now check the flags byte of every update frame written. With a
forced 1.1 s wait before the assertions, the old comparison fails every
time and the new one passes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Play allows one completed release per track. plan_track kept every other
release and appended the new one, so promoting 1.8.1 to Closed testing at
100 sent two completed releases (66 and 70) and Play refused it. The
first production publish at 100, or widening a staged rollout to 100,
would have been refused the same way.
A completed release now replaces the track's current completed release,
as Play Console does on a full rollout. Drafts are kept, and a release
mid-rollout still stops the publish.
FakePlay now refuses two completed releases with Play's message. That
made two existing tests fail (promote straight to production, widening a
rollout): they had been passing with a release list Play rejects. New
tests cover the v1.8.1 case and a draft next to a completed release.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When the release run's macOS lane fails on our own workflow, a re-run
uses the tag's copy of the files, so the fix can't reach that release.
macos-manual.yml runs from main with a tag input: it checks that only
.github/ and docs/ differ from the tag (so the zip is the tagged app),
that the release exists and has no macOS zip yet, then calls
macos-signed.yml unchanged and attaches the notarized zip.
build.yml proves the check in a throwaway repo on every PR: it accepts
the tag itself and a CI/docs change, and refuses an app or pubspec
change and anything that isn't a real release tag. The test fails
against a check that accepts everything.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
altool 26.40.1 reports a pass with a warning as "VERIFY SUCCEEDED with
no errors, 1 warning" and "No errors, 1 warnings, validating archive".
The check accepted only "VALIDATION SUCCEEDED" or "No errors validating",
so it refused the v1.8.1 IPA that Apple had validated, and nothing was
uploaded to TestFlight. Any output with an error line is still refused.
build.yml's altool test now covers validate as well as upload, with the
real v1.8.1 output as a must-accept case. It fails on the old script.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Direct is described as removed because Auto already does its job, in the
Play text, release notes and announcements. Discord says 1.8.1 is out for
beta testers on the Play test track and TestFlight, and the announcements'
Get it lines say the same.
STORE-DISCLOSURES.md now records what the owner entered on 2026-11-27:
Developer communications added for name and email on Play, why Apple's
optional-disclosure rule doesn't cover the four log types (automatic
sending), and that App Store Connect published as each type was saved.
Tracker #1239.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>