Messages, precise location, crash logs and diagnostics become collected, optional, encrypted in transit, deletable on request, for app functionality, never shared or used for tracking. Neither store can be set from here (the Play service account has release permissions only, and App Store Connect has no privacy-label API), so the owner pastes them in the release that ships the feature. One call left for the owner: whether the App Store label marks the data linked to the user.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A banner above the app on the next launch: Send (opens Send to Offband), Not now, Don't ask again. "Send crash logs automatically" is off unless turned on; when on, a definite failure is sent without asking and the banner appears only if that send fails. An exit that cannot be placed is always asked about, never sent automatically. Both switches are in the Debug settings. New strings English only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A run marker records whether the app is on screen and whether an unhandled Dart error happened; a clean exit removes it (awaited before a desktop window closes). At the next start, a marker left on screen is an unexpected exit, one left in the background is the OS reclaiming memory and is not offered, and an unreadable one is asked about. New Android ANR and crash exit records (not backfill) name the failure. Failed image loads do not count. On web only an unhandled error counts, since closing a tab is not an exit Flutter sees.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gemini review: the fake package only passed because no path decoded it. The tests now use a real zip with a traces/ entry, and check every original entry survives adding sender.json unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner decision on #1190 (2026-11-27): a sender can leave a name or
screen name and an email so the owner can follow up. Both are optional,
with a note that without them we cannot reach the sender with an update.
They go into the encrypted package as sender.json, never into a header,
so the plain-text intake issue never shows them. With both empty the
package goes out byte-identical to before. A mistyped email blocks the
send and says why rather than sealing an address nobody can use.
Both new tests were run against code with the sender dropped and the
email check removed, and failed; the rest of the suite still passed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Next to Share on both log screens and in the Debug settings. It says what is sent (messages and radio traffic, passwords and PINs removed), that only Offband can read it and that it is deleted 30 days after review, takes an optional note, and shows the reference code with Copy. A failure stays on screen with its reason and Retry resends the kept package. New strings are English only; untranslated.json is updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Web has no log files, so textPackageZip zips the log text the screen hands over, through the same redactor, with the manifest. Also from the Gemini review: log files are now redacted as a stream, line by line, and old packages are cleaned from their own temp folder instead of by listing the whole temp directory.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Seals the zip to Offband's public key (key id 7fbd1b06, made by offband_logs.py keygen) and POSTs it to logs.offband.app. A 201 must carry a well-formed code; 413, 429, 400/411, other statuses, no network and no answer each come back as their own failure, never a throw, so the screen keeps the package and offers Retry. A package over 25 MB once sealed is refused before anything is sent. The note is trimmed and percent-encoded; a blank note sends no header.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ephemeral X25519, HKDF-SHA256 and AES-256-GCM with the 53-byte header as additional data, in the format the log-intake Worker checks. Uses the vetted cryptography package (2.9.0). The test vectors come from Python's cryptography library via tools/logs/make_envelope_vectors.py, an implementation independent of the app, and the Dart output matches them byte for byte; the pull tool will open the same vectors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
LogPackage gathers every log file and the Android exit traces, re-runs the redactor over each line oldest first (so logs written by earlier builds lose their passwords too), and adds manifest.json with the app version, commit, platform, OS and radio model, firmware and caps. Share and Save now hand over these redacted copies, never the files in the log folder. zip() is what Send to Offband will upload. archive moves from transitive to direct at the locked 4.0.9.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reads lib/ for every cmd* constant and every 0xC5 offbandUi* sub-code. A command missing from sentFrameSecrets, or a sub-code missing from the reviewed list, fails the build, so a new command cannot ship without a password and PIN review. At run time an unclassified sent code has its whole payload blanked.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every frame is redacted before it reaches the log file or the in-app log. Blanked: repeater and room login passwords, the device PIN (sent, and in the device info reply), CLI password, guest.password, bridge.secret, pin and wifi.pwd values, the password now: echo, the reply to a get of any of them (paired by its cc| prefix, or in order when sent without one), and observer config passwords. The private key keeps its first 3 bytes. Channel keys and unknown incoming codes stay byte for byte (owner decisions on #1190). Repeater reply lines in the app log get the same treatment. Gemini review fixed: exact reply pairing, NUL inside a secret, newline in a config value.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner decision 2026-11-25: the radio's private key keeps its first 3
bytes in logs and the other 61 are blanked. The only open choice left
is the alert path.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner decisions 2026-11-25:
- intake issues go to a private OffbandMesh/log-intake repo;
- incoming frame codes the app doesn't know are kept raw. Passwords
and PINs only travel in frames the app sends, and every one of those
is classified, so this is not a can't-tell branch;
- the LoRa notify relay is not the alert path for a new upload;
- the private key is partly kept; the form is now choice 1.
Choice 2 is the alert path: GitHub assignment or email.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner decision 2026-11-25: the radio's private key is not redacted. It
protects over-the-air traffic at a reasonable level rather than an
identity worth guarding inside a log already encrypted to the owner.
Choice 4 is removed; only passwords and PINs are redacted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner decision 2026-11-25: channel keys stay in the logs. They are
needed for diagnosis and the file is already encrypted to the owner.
The redactor now blanks only passwords and PINs. The radio's private
key is offered as choice 4, recommended blanked: it has no diagnostic
value and lets anyone impersonate the node.
C1 now says how decryption works: the app holds only Offband's public
key, and each upload carries the public half of a one-time key pair, so
the owner never needs anything from the user.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The plan of record for Feature #1190, Epics #1191 to #1196: an
encrypted, redacted log upload to a Cloudflare Worker and private R2
bucket, a private intake issue and a radio ping per upload, an offer
to send after a crash or ANR, the owner's pull tool, and the privacy
and store disclosures. offband-prod is not involved.
Merging this PR is the owner's approval of the plan and its grant
terms.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contacts, favorites included, disappear (#1167), and every removal was
logged as a count, so nothing showed which contact went or why. This is
the first step of #1167: name each one, then fix the path the log names.
Which contacts are removed does not change.
- Each path that drops a contact, or asks the radio to delete one, logs
a line per contact: name, short key, favorite flag, the path, and the
connected radio. The paths are a complete sync that did not include
it, a "not found" answer in recovery, the owner choosing the radio's
list, a user delete, and a synced contact holding the radio's own key.
- The radio's push for a contact it overwrote to make room (0x8F) and
for a full table (0x90) are logged. 0x90 is logged once per
connection, since the radio sends it for every node it cannot add
(Gemini).
- The radio's auto-add settings, read at every connect, are logged,
overwrite oldest included, so each removal reads against them.
Rebased onto #1028 (PR #1185), which already handles 0x8F and 0x90: it
drops the overwritten contact and tracks the full table. The logging goes
into those handlers instead of a second pair of cases, and the 0x8F test
now expects the contact removed here, as #1028 does. The owner tested
this same combination on hardware in the combined build.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every path that can take a contact off the radio now has a test:
- A contact frame carrying the radio's own key is removed from it. After a
Bluetooth switch or a dropped link, the previous radio's key no longer
counts as "self", so the next radio keeps its contact for that radio.
Shown to fail with the key-clearing lines disabled (2 of 4 fail).
- A user delete removes only the contact chosen and keeps the others' DMs.
Gemini review fix: a pasted contact that does not parse came back null, and
the paste ended with no message. It now says "Invalid contact data" and the
message stays until dismissed. The new test fails without the fix.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner's prune test, 2026-11-24 (Windows, Bluetooth): the radio answered
CMD_REMOVE_CONTACT with OK 580 ms later, and the app reported "the radio
didn't respond" after 5 s.
OK/ERR replies are matched to commands by order. sendFrame added a
command to that queue only after the transport write returned. A
Bluetooth write on Windows can return after the radio's reply has been
handled: that reply then matched nothing, and the late entry sat at the
front of the queue and took the next command's reply. A channel message
sent earlier on that connection is the likely source; the removal's OK
went to it.
- sendFrame registers the reply slot before writing, and removes it if
the write fails. The write itself moves to _writeFrame.
- Test overrides now go through the same registration, so tests see the
real ordering instead of skipping it.
Tests: generic_ack_order_test.dart plays the radio answering inside the
write. "An OK that lands during the write still marks the message sent"
fails on dev (the message stays pending); the other two check the next
command gets its own reply and a failed write leaves nothing waiting.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner test of the first build (2026-11-24): an add from a channel on a
full RAK4631 went straight to the radio, which overwrote "Somerville
(OH) Yagi" to make room (overwrite-oldest was off; the Offband firmware
makes room on a manual add by design). The app only said so afterwards.
- A new contact is not sent while the radio is full: full once a
complete sync reaches the limit, the radio pushes CONTACTS_FULL or
CONTACT_DELETED, or refuses an add as TABLE_FULL; clear again after
a removal the radio confirms. An update to a held contact still goes.
- Every add path (by key, Discovery, map, channel sender, paste) then
asks: remove the suggested contact (least recently heard
non-favorite, with when it was last heard), prune stale contacts, or
cancel. The add is sent again only after the radio confirms the
removal. Cancel sends nothing.
- #1182: Prune stale contacts, from the contacts menu and the prompt.
Non-favorites not heard in 15, 30 or 90 days (30 by default), all
ticked. Removed one at a time, each on the radio's OK; stops at the
first failure and says which. DMs are kept. A contact added on this
connection is never offered.
- Owner decisions 2026-11-24: 30 days default, 15/30/90; pruning keeps
DMs; the firmware behavior stays.
Tests: contact_add_confirm_test.dart gains 4 tests on dev's API; 3 fail
on dev (a full radio is sent the add). contact_prune_test.dart (17) and
contact_make_room_test.dart (8 widget tests) cover the prompt, prune,
removal results and the stale rules.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner's log showed CMD_ADD_UPDATE_CONTACT drawing ERR 3 (table
full) while the app logged "Added new contact" and kept it. Every DM to
that contact then drew ERR 2 (not found) and went red only when the 8 s
timer ran out, with no reason.
- Both add paths (by key, and from Discovery, the map or a channel
sender) wait for the radio's OK or ERR. The contact is kept only on
OK. A refusal or no answer keeps nothing and tells the user which,
with "full" said plainly. Owner decision 2026-11-23.
- The Discovery add now waits for its own reply, so its ERR can no
longer be taken as the answer to the next command.
- A DM the radio refuses fails at once and keeps the radio's error
code, which the failed bubble shows. Matched only when exactly one DM
is waiting and no ERR-drawing stream is running.
- The radio removing a contact to make room (push 0x8F) removes it from
the app and names it; its messages are kept. The radio reporting
itself full (push 0x90), a refusal for a full table, or a complete
sync at capacity raises a notice on the contacts screen.
- New strings are English-only; untranslated.json updated.
Tests: contact_add_confirm_test.dart uses only dev's API, and 5 of its
9 tests fail on dev (refused add kept twice, the Discovery ERR taking
the next command's reply, the refused DM pending, the removed contact
kept). contact_add_result_test.dart (17) and 3 new dialog tests cover
the results, the notice, the stored reason and the negative cases.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gemini review findings. A relative OFFBAND_KEY_PROPERTIES now resolves
from android/, the same place key.properties has always lived, instead
of android/app/. A path that is a directory now fails like a missing
one. A signing file with no storeFile entry fails at configuration with
the file named, instead of late in the signing task with a generic
error.
Checked on a worktree with no key.properties: a missing path, a relative
path, and a file without storeFile each fail with their message; the
real path builds an APK signed with the release certificate; unset
builds a debug-signed APK, as before.
Agent: BrightForge (session 440fbe94)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The release signing config was read only from android/key.properties
inside the checkout, so every worktree needed its own copy of a file
holding the keystore passwords. When OFFBAND_KEY_PROPERTIES is set, the
build reads that file instead. Set but missing fails the build and names
the path, so it can never fall back to debug signing. Unset, nothing
changes, and CI keeps writing android/key.properties as before.
Checked on a worktree with no key.properties: a missing path fails with
the message; the real path builds a release APK whose signer is the
release certificate (apksigner), installed over the phone's 1.8.0. The
unset case is the old line unchanged and was not rebuilt.
Agent: BrightForge (session 440fbe94)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Epic #1155. The save-path test from 31eed712 waited a fixed 50 ms of
real time and failed once in a full parallel suite run. It now waits for
the update frame itself, advancing the fake 3 s re-read timeout as it
goes, bounded, and fails with a reason if the frame never comes.
Since the change: 41 of 42 runs pass (20 sequential, 12 sequential, 4
in parallel, 5 sequential, 1 full suite). The one failure was the first
run straight after editing and its cause is not established.
Agent: BrightForge (session 440fbe94)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Epic #1155, Gemini review finding (2026-11-19): the save path that
leaves flag 0x10 alone when the switch is hidden was read, not tested.
Two widget tests drive the dialog's Close through to the contact update
frame: switch hidden on a radio without 0x07, the frame keeps 0x10;
switch shown and turned off, the frame clears it. With the dialog
changed to pass false when hidden, the first test fails.
sendFrame finishes on real async work, so the save is driven with
runAsync around advancing the 3 s contact re-read timeout.
Agent: BrightForge (session 440fbe94)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Epic #1155. The 1.18 interop plan of record expected a durable Offband
marker in device-info to switch the CLI on; the firmware contract forbids
new device-info fields, so tags 0x06/0x07 in the 0x1C advert do that
job. Recorded in the plan's choices section with the write-level refusal
and the _sys retirement, which needs no client change.
Agent: BrightForge (session 440fbe94)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Epic #1155, owner decision 2 (2026-11-19): block the write, not only the
button. LocalCliService.run refuses before building frame 66 when
supportsLocalCli is false: nothing is sent, a warning is logged (without
the command text, which may hold a secret), and LocalCliUnsupported is
thrown. LocalCliTransport maps it to CliConsoleUnsupported, and the
console adds a row that stays in the transcript: "<cmd>: not sent. Your
radio's firmware doesn't support the device CLI." English key only;
untranslated.json regenerated (17 locales fall back to English).
The existing local CLI suites now connect a stock 1.18 radio first,
since an unclassified connector no longer sends frame 66.
Tests: 40 pass across the service, console and transport suites. With
the refusal check removed, the 2 refusal tests fail.
Agent: BrightForge (session 440fbe94)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Epic #1155. The Settings Device CLI row reads supportsLocalCli; the
companion chat menu's CLI console and the contact Remote CLI switch read
supportsRemoteCli. The switch was shown on every radio, including ones
that ignore flag 0x10 (owner decision 1, 2026-11-19). When the switch is
hidden, Close passes remoteCli: null, so a stored grant is left exactly
as it was rather than cleared.
Tests: 33 pass across the gate, Settings entry, contact dialog and
console suites. With the old gates put back, 4 fail.
Agent: BrightForge (session 440fbe94)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Epic #1155. Tags claimed on firmware-base 8d94ef78 (firmware #2211),
emitted by firmware #2213. resolveCliSupport gives stock 1.18+ both
surfaces from the classifier and an Offband radio each surface only when
its tag is present; no advert, a refused advert, or an advert without the
tag leaves it hidden. Connector exposes supportsLocalCli and
supportsRemoteCli and logs both when the advert settles. No UI uses them
yet.
Tests: 16 in cli_advert_gate_test.dart; with the old stock-only gate put
back, the 5 tag-present cases fail.
Agent: BrightForge (session 440fbe94)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Mac app is sandboxed but never declared
files.user-selected.read-write, so macOS refused the native Save
dialog and every desktop export (logs, serial captures, config) failed
on the notarized build. Both entitlement files gain the key; the
sandbox stays on by the owner's decision.
build.yml and macos-signed.yml now read the signed app's entitlements
with PlistBuddy and fail if the key is not true, so a regression stops
CI instead of reaching a tester.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both Apple builds kept Flutter's default bundle names. The iPhone app,
installed on a Mac from the App Store, was labeled "Runner", and the
notarized Mac app showed as "offband_meshcore" in Finder.
PRODUCT_NAME is now "Offband MeshCore" for the iOS Runner target and the
macOS app. Bundle identifiers are unchanged, so app data stays put. CI
uses the new paths and fails if the name regresses: CFBundleName on
macOS, the .app folder in the IPA on iOS.
When the iPhone app runs on a Mac (ProcessInfo.isiOSAppOnMac, read over a
small platform channel), a one-button notice says it is the iPhone
version in a fixed phone-sized window. Once per app version, with no
link elsewhere, by the owner's decision.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sending the same channel text twice quickly showed one message, with the
second send counted as a repeat. The two sends are two packets: the client
gives each its own second, and the firmware puts that second at the start
of the encrypted payload, so their packet hashes differ.
The client merged them anyway. Its own message is filed before sending
with no packet hash, so the exact-hash pass cannot see it, and the
fallback treated same text + same sender + within 30 seconds as one
message. Repeats arriving later fell to the same rule, because the RX
log and the sync queue hash differently, and landed on the newest
same-text message.
The fallback now requires the same timestamp second. A real repeat is
the same packet, so it carries the sender's exact second, and both
receive paths read it from the packet. The 30-second window dates from
before #524 stamped the outgoing message with the exact second sent.
Tests drive real frames (0x88 RX log and V3 queue) through the
connector. 7 of 9 fail on the old rule; the 2 controls pass on both.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dispatched by hand from a v* tag with a target (internal, external or
production) and a rollout. The first run for a tag uploads its bundle;
later runs move the same bundle to another track.
verify runs first, with no environment and no Google access, so a bad
tag or bundle is refused before anyone is asked to approve:
- the ref must be a v* tag, and its commit must be on main;
- the tag's release must carry app-release.aab;
- gh attestation verify must find it built by release-signed.yml at
this ref and commit, on a GitHub-hosted runner.
publish runs in play-release (owner review, v* tags only), re-downloads
the asset and refuses it unless its SHA-256 matches what verify
checked, gets a Play-scoped token keylessly with no credentials file,
runs play_release.py publish, then lists the tracks. One concurrency
group for the app, never cancelled.
Tests: test_workflows.py guards the trigger, the inputs against the
tool's targets and rollouts, the queue, which job can reach Google,
the tag-on-main check, every verify flag and the hash hand-off.
Removing --source-digest, the environment or the main check each fails
a test. 47 pass.
Gemini 2.5 Pro reviewed it. Two findings, both false: the Play notes
file is required by release-gate.sh, and the provenance step needs no
GitHub release (A3 made one on a branch push).
Agent: JadeEagle (session e9df9ed6)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The android job in release-signed.yml now attests app-release.aab with
actions/attest-build-provenance, after the certificate check. The
publish workflow sends only a bundle this record vouches for: built by
release-signed.yml, at this tag's commit, on a GitHub-hosted runner.
The job gains id-token: write and attestations: write for that step,
and restates contents: read because job permissions replace the
workflow's. Google refuses this job's token: the A2 condition requires
the play-release environment and play-publish.yml.
Tests: test_workflows.py checks the step names the AAB and the job
holds the permissions. Pointing the step at the APK fails the test.
Agent: JadeEagle (session e9df9ed6)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner decision 2026-11-23 (option 2), after replaying three merged PRs
through check 2: a fix whose tests only call its new API (#1131) and a
new feature whose test imports a new file (#1130) were both blocked,
because a test that cannot compile against the base never ran there.
- For a PR titled feat, a changed test file that cannot compile against
the base counts in check 2. A new capability has no old behavior to
fail. The pass message warns that a fix must not use this rule.
- Every other type stays strict: a fix needs a test that fails on the
base code itself.
- The self-check now also checks the feat reading, so a runner format
change cannot break the feat rule quietly.
- A pass message lists any changed test files that did not compile.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every fix and every new capability is meant to ship with a regression
test, and nothing enforced it: a PR could change lib/ with no test, or
add a test that passes on the old code too. The rule held only while an
agent remembered it.
- Check 1: a change to lib/ (translations excepted) needs an added or
changed *_test.dart. A deleted test does not count.
- Check 2: CI puts back the base branch's lib/, regenerates code, and
runs only the changed test files. At least one real test must fail or
throw there. A file that does not compile against the base, a failing
setUpAll hook, a skipped test, or a run that never finished proves
nothing and does not count.
- Exempt only by PR type (refactor, chore, ci, build, docs, style,
test), printed in the job summary. No skip label or flag (#927).
- Paths are read NUL-separated (git diff -z, xargs -0), so a space,
tab, newline or quote in a name cannot hide a file or split it.
- A self-check runs known fixtures through the real runner before
check 2, so a Flutter change to the JSON format fails the gate
instead of quietly passing it.
- Logic lives in tool/test_gate.dart with 35 unit tests. Each guard was
shown failing against a deliberately broken copy.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A2's condition admits only play-publish.yml at a v* tag, and every v*
tag is a real release, so A3 couldn't start with a read-only dispatch
from GitHub. Revised with the owner's go on 2026-11-23:
- Play side: tracks listed as play-publisher via a temporary
impersonation grant, removed afterwards and confirmed refused.
- Throwaway branch: Google refused a sign-in from outside play-release
by its attribute condition, GitHub refused a branch job asking for
play-release, and a build record verified at its own ref while a
wrong ref, a wrong signer workflow and an unrecorded file failed.
The section 7 table records what is settled. The first successful
GitHub sign-in stays with B3's first publish.
Agent: JadeEagle (session e9df9ed6)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner decision 2026-11-21 on #1053: each release starts on the track he
picks (Internal, External or production) and promotes onward from
Internal or External, any step skippable. A promotion moves the same
bundle and uses no new version code. Test builds still never upload.
Tool: an `internal` target alongside `external` (Play's `alpha`) and
`production`. Internal and External go to their whole tester list, so
both take draft or 100 only.
Tests: Internal publishes to the internal track, refuses a percentage,
and an unknown target names all three. Promotion through all three
tracks, and Internal straight to production, each upload once. 37 pass.
With Internal removed from the whole-list rule, the percentage test
fails.
Plan: decision 3, the cut table, the up-front notes, A1, A2, B1, B3,
section 6 and Done when are revised to three targets.
Agent: JadeEagle (session e9df9ed6)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tools/play/play_release.py sends a signed release bundle to Play's closed
testing track (External) or production through the Android Publisher edits
API. A read-only tracks command lists every track for A3.
Before any change it checks the bundle certificate against the
release-signed.yml pin, the bundle version code against the tag's pubspec,
the tag against the pubspec version, the notes length, and that the code is
higher than anything Play holds unless Play already holds this exact bundle.
It never removes another release, stops on a different version mid rollout,
on a narrowing request and on a release shared with another version, and a
re-run at the same rollout changes nothing. A failed run deletes its edit.
32 tests, run in the analyze check. Each of 17 guards was removed in turn and
every removal failed a test. The parser reads codes 66, 67 and 68 and the
pinned certificate from the three real release bundles.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The radio is the only thing that hears the mesh, so what it feeds is
the truth and a value the app stored never beats it (owner ruling).
- A contact sync copied the discovered entry's coordinates over the
radio's (getFromDiscovered), so a stale value, often a 0,0 from a
repeater heard before its location was set, hid the real location on
every sync and was written back. It now copies only the raw advert,
which the contact record does not carry.
- A radio record with no location kept the old one; it now clears it.
- A raw advert without a location, or with 0,0, kept the old one and
stored 0,0 as a value. The newest advert now sets the location,
including "none", and 0,0 is unknown at parse time.
- An advert older than the one applied leaves the location and its age
alone, unless the applied one is dated ahead of the phone: one advert
from a clock set in the future must not freeze a node (Gemini).
- Packet Path shows each hop's coordinates with the age of the advert
that carried them. A last known location never ages out.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the adversarial review of this branch:
- A disconnect while a write waited on its re-read left the wait to its
30 s guard. Every disconnect passes _resetSyncProgressState, which now
ends that wait at once.
- The per-radio history delete snapshots what is stored before deleting,
as #1128 does, and empties the screen first, so a message arriving
mid-delete survives on screen and on disk.
- The copy cleanup also holds aside the frozen pre-row blob of a key it
leaves with no rows. Otherwise the load falls back to that blob and
the copies come straight back.
- A Resync that fails to start is logged instead of dropped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings > Actions gets "Delete message history": the connected radio's
channel messages and direct messages, removed from the app after a red
confirm. Contacts, channels and settings stay. The owner's ruling: start
fresh for a radio, channels and DMs together.
Clear Chat on a channel or a contact saved the emptied list. Saves
merge since #343, so that deleted nothing and the history came back on
the next load. Both now confirm in red and delete the stored history,
the channel's by its own PSK.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A channel add, rename or delete the radio did not answer was reported
as unconfirmed at once, while the re-read that would settle it was
still running. The write now waits for that re-read and reports done
when the slot holds the change. The error shows only when the re-read
disagrees or cannot finish, and it carries a Resync button. A delete
confirmed this way clears the deleted channel's history by its own key,
since its slot no longer resolves to it.
The Channels screen gets a Resync action in the app bar. The only
other way to resync was pulling the list down, which nothing said.
During a running sync, Resync explains why it is waiting instead of
doing nothing.
New string channels_resync is English-only; untranslated.json is
regenerated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The post-sync check compared the radio's channels with the saved list,
so a slot whose history had been loaded under some other list kept it.
Each slot now records the channel key its in-memory history was loaded
under, and a confirmed sync reloads any slot whose channel differs.
Every history load and every filed message logs the radio, slot,
channel name, PSK fingerprint and which list answered. The Nov logs
could not show the misfile because nothing recorded which history a
slot held; this does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Bluetooth radio switch saved the previous radio's messages into the
next radio's channels. Each copy kept the original's receive time
exactly, which two separate receptions never share, so the copies can
be found.
The original is on the radio that was connected when the message
arrived, judged from each radio's own receptions. Where exactly one
radio was connected, the others' rows are moved to a held_1163_copy key
nothing reads; they are not deleted and can be moved back. Where no
radio or several were connected, nothing is touched. Runs once at
startup, logs its counts, and retries on the next launch if it fails.
On a copy of the owner's Windows store: 2,864 rows held aside, 294
messages left alone, every held row's original kept, and no held agent
alert taken from the channel those alerts belong to.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Native Bluetooth connects never ran _resetConnectionHandshakeState
(web only), so the #472 clear never happened there. The last radio's
messages stayed in memory under their slot numbers, and the next message
on that slot from the new radio saved the whole window into the new
radio's channel. The owner's Windows store held 2,893 such copies.
Every connect now drops the previous radio's message windows, DM
conversations and channel lists, on every transport. Saves write only
the messages a change added or replaced, never the whole window, so a
wrong view can no longer become stored history.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>