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>
Version 1.8.1+70 on release/1.8.1, from dev at 70946f67 (22 PRs since
v1.8.0). Adds the gate texts: CHANGELOG [1.8.1], release-notes/1.8.1.md,
play/1.8.1.txt (484/500, covers everything since the last production
release, 1.8.0), discord/1.8.1.md and announcements/1.8.1.md.
Tracker #1239.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Flutter toolchain rewrites seven checked-in generated files on every
`pub get` and every build. On a Windows checkout with core.autocrlf=true
git checked them out as CRLF while the index held LF, so after each flutter
invocation they showed as modified, and `git rebase` refused with "cannot
rebase: You have unstaged changes" until someone restored them. That
happened three times in one session during PR #1235.
`text eol=lf` on those paths makes git check them out as LF, which is what
the toolchain writes, so the two agree and the churn stops.
Verified rather than assumed: re-materialized the seven under the new rule
(w/crlf became w/lf), then ran `flutter pub get` twice. Both times the
seven stayed out of `git status`.
Scoped to these paths deliberately. A repo-wide `* text=auto` would
renormalize every tracked text file in one commit, colliding with whatever
other branches have in flight and changing checkout behaviour for
contributors on other platforms.
While testing this, `untranslated.json` turned out to be a SECOND and
unrelated cause, so it is deliberately not in the rule:
git hash-object --path untranslated.json -- untranslated.json
git rev-parse :untranslated.json
both 47cfb36de8, both 248185 bytes
It is byte-identical to the index and already w/lf, so a line-ending rule
cannot affect it and adding one would be a no-op. `flutter gen-l10n`
regenerates it with identical content and a fresh mtime, git flags it on
stat, and `git update-index --refresh` reports "needs update" without
clearing it. `git add untranslated.json` clears it and stages nothing,
which confirms there is no content change and gives a one-command
workaround when it blocks a rebase. Recorded on #1238; not fixed here.
Both from the adversarial review gate, both regressions this branch
introduced rather than pre-existing faults.
1. `timeoutMs` reaches updateMessageFromSent as a raw readUInt32LE off the
RESP_CODE_SENT frame with nothing bounding it. While the local
computation overwrote that value it did not matter; making the radio's
estimate a floor meant a garbage frame could arm a timer 49 days long,
and one message in flight per contact is a queue invariant, so that
wedged every later DM to that contact until an app restart. Clamped to
60 s, about four times the longest real round trip in OB-ZRNBY.
2. The pinned-route write was gated on `message.retryCount == 0`, so a user
changing the override between attempts left the radio transmitting the
old pin while this side had already re-armed its timeout and its
path-weight bookkeeping for the new one. `updatePendingContact` hands the
new override to the retry in flight, so attempt 0 is the wrong key. Now
keyed on the route itself: a change is written, an unchanged pin is not.
That keeps it from becoming the per-attempt re-assert #1198 removed.
Tests, both proven to fail first: 4294967295 ms armed where 60000 was
required, and the new pin never reaching the radio. The unchanged-pin case
is covered too, at maxRetries 3 so the retry under test is an ordinary
attempt rather than the final flooding one, which would have passed for the
wrong reason.
Third review finding, not fixed, justified: existing installs without a
stored `max_message_retries` move from 5 attempts to 3 on upgrade. That is
the ruling, it applies to everyone by design, the slider still spans 2 to
10, and the total time to failure is comparable because the window widened.
Upload OB-ZRNBY carries 24 completed round trips as measured by the radio
in PUSH_CODE_SEND_CONFIRMED: median 6771 ms, p90 12394 ms, against windows
this code armed with a median of 4884 ms. Over half of all ACKs arrived
after the attempt that earned them had timed out. 83 DMs cost 311
transmissions, 46 reached the final attempt and 23 were shown as failed.
Owner ruled p90 rounded up, 12.5 s, with three attempts rather than five.
Three changes:
1. A floor of 12500 ms on the window actually armed for a DM's ACK, in
MessageRetryService. The airtime formula under-predicts because airtime
is the wrong dominant term: on a multi-hop mesh the time goes into
repeater forwarding delay and TXT_ACK_DELAY, and no coefficient on
airtime fixes that.
2. The radio's own est_timeout from RESP_CODE_SENT is a floor, not a
second opinion. It was overwritten outright by the local computation,
which is how a 3252 ms radio estimate became a shorter local window and
lost an ACK that came back at 3448 ms. Now max() of the two, then the
floor.
3. Three attempts, not five. At the wider window three attempts give up
after about the same elapsed time as five at the old one, while putting
roughly 40% less traffic on a shared mesh. It also keeps every attempt's
ACK hash distinct: the firmware masks `attempt & 3`, so attempt 4
collided with attempt 0 and the first and last attempts were
indistinguishable.
The floor deliberately does NOT live in calculateTimeout. That method also
feeds calculateCliTimeout, and flooring it there added 11.5 s to every
repeater CLI command and broke eight #533 tests: a separate surface with
its own budget arithmetic that nobody ruled on.
Tests, all four proven to fail first with real numbers: the formula armed
1300 ms for a flood and 1050 ms for a zero-hop send; maxRetries read 5;
the radio's 14000 ms estimate was replaced by a 1200 ms local guess. Also
asserts the formula is still unfloored so the CLI budget stays put, and
that attempts 0 to 2 keep distinct ACK hashes while 4 collides with 0.
A test seam lowers the floor, since a 12.5 s wall-clock wait per attempt
is not something a unit test can drive.
One test was written, passed against the reverted code, and deleted rather
than kept: that a short text cannot buy a shorter window than a long one.
_estimateAirtimeMs falls back to a fixed 50 ms when the radio parameters
are unset and there is no seam to set them, so it passed for the wrong
reason. The gap is recorded in the test file instead.
Not in this change: extending the 30 s late-ACK grace. The 76521 ms sample
in the capture says the tail exceeds it, but that sample may be a
store-and-forward delivery rather than a live round trip and it has not
been checked.
Ben read "Retry 4/5" on a failed DM and concluded the fifth attempt never
ran. The log from OB-3UJZR proves it did: at 17:38:38 the client sent
CMD_RESET_PATH and then attempt 4, so the flood fallback fired exactly as
ruled. The label was wrong, not the loop.
`retryCount` is a zero-based attempt index and `maxMessageRetries` is a
count of attempts, so the chat label printed one against the other. The
fifth and final attempt of five read as "4/5", which reads as a sixth
attempt still to come.
The AckHash log line had the same fault twice over: it printed the raw
index, and it said "retrying" on the final timeout, when the message is
in fact being marked failed. Both now read from 1 and say which it is.
No l10n change: `chat_retryCount` keeps its "Retry {current}/{max}" form
in all 18 locales and only the number passed in changes.