docs(#1320): OUTCOMES for Feature #1190, and Epic G in its plan

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)
pull/1321/head
diffwireauto 2 days ago
parent 856eb946d2
commit 0c64b0ce9a

@ -0,0 +1,77 @@
# Feature #1190 send logs to Offband: OUTCOMES
Status: delivered, integration-tested, and signed off by the owner on 2026-11-30 (G6 #1306). The first release cut containing it is 1.8.1+70 (#1239).
## In short
A user who hits a bug can now send their logs to Offband from inside the app, instead of exporting a file and emailing it. The app removes passwords and PINs, encrypts the package so only Offband can read it, and uploads it. The user gets a short reference code, an issue opens in the private `OffbandMesh/log-intake` repo, and the owner is alerted. After a crash or an unexpected exit, the app offers to send on the next launch. The owner pulls an upload with one command, which decrypts it into `debug_logs`. An upload is deleted 30 days after the owner has seen it, and never before. The privacy policy and both store privacy labels say all of this.
Between 2026-11-26 and 2026-11-30, eight uploads arrived: one live test, six from Android and one from Windows. Each one opened an intake issue assigned to the owner.
## What shipped
| Epic | Scope | Delivered by |
|---|---|---|
| A #1191 | Cloudflare Worker on logs.offband.app, private R2 bucket, intake issue and alert, retention | OffbandMesh/log-intake#1, merged 2026-11-27 |
| B #1192 | Log package for Share, Save and Send; password and PIN redactor; every sent code classified | Commits on dev through #1227 (#1226 was closed because #1227 already carried its commits) |
| C #1193 | Envelope (X25519, HKDF-SHA256, AES-256-GCM), upload client, Send to Offband screen, web upload | #1227, merged 2026-11-27 |
| D #1194 | Failure detection and the next-launch offer; auto-send off by default | #1228, merged 2026-11-27 |
| E #1195 | `tools/logs/offband_logs.py`: keygen, list, pull | #1229, merged 2026-11-27; `list` check added in #1319 |
| F #1196 | Privacy policy sections; Play Data safety and App Store App Privacy | OffbandMesh/offband-site@5f77e3b8 and @270681b2 (OffbandMesh/offband-site#86); store answers in [STORE-DISCLOSURES.md](STORE-DISCLOSURES.md), entered by the owner 2026-11-27 |
| G #1300 | Integration Testing of the whole feature, and this document | G1 to G7 |
Each issue under #1190 records its own commits, files, test plan and result.
## Evidence
**Automated, run in CI on every PR:**
- Client (`flutter_dart.yml`, job `analyze`): the redactor and its classification tests, package tests, envelope tests with vectors shared with the pull tool, upload client tests, Send screen widget tests, failure monitor and offer banner tests. All passed on #1227, #1228 and #1229. Builds for Android, iOS, Linux, macOS, web and Windows passed on the same PRs.
- Pull tool (`pytest tools/logs`, same job): 35 tests, including decrypting the Dart app's envelopes, refusing altered uploads and zip bombs, and marking seen only after a successful unpack.
- Intake (`log-intake` CI, `npm test`): size cap, header check (too short, wrong magic, wrong version, empty), rate limit, intake issue and burst batching, retention that never deletes on doubt, and CORS for the web app. Run 45986101502 on main, 2026-11-27.
**Live, from the intake record (OffbandMesh/log-intake):**
| Upload | Platform and version | Intake issue | Pulled |
|---|---|---|---|
| OB-KG47H | live test (A5) | #2 | 2026-11-26 |
| OB-3UJZR | android 1.8.0+69 | #3 | 2026-11-27 |
| OB-ZRNBY | android 1.8.0+69 | #4 | 2026-11-27 |
| OB-284EP | android 1.8.1+70 | #5 | 2026-11-29 (marked seen 2026-11-30, #1318) |
| OB-KCAR2 | android 1.8.1+70 | #6 | 2026-11-29 (marked seen 2026-11-30, #1318) |
| OB-QBGV8 | android 1.8.1+70 | #7 | 2026-11-29 (marked seen 2026-11-30, #1318) |
| OB-8SPJW | android 1.8.1+70 | #8 | 2026-11-29 |
| OB-J7W5P | windows 1.8.1+70 | #9 | not yet |
A burst on 2026-11-28 produced one alert covering two uploads (#7).
**Owner checks on hardware:** redaction confirmed on a pulled package (G3 #1303); the offer appeared on the next launch after each adb install over the running app (G4 #1304).
## Found during integration testing
- **No Integration Testing Epic.** The plan decomposed the feature into A to F, with F (disclosures) last. Epic G was added on 2026-11-29 and the plan now shows it.
- **Uploads decrypted without being marked seen (#1318).** A session called the pull tool with its seen step replaced by a no-op, so three uploads would never have been deleted. The three are now marked, and since #1319 `offband_logs.py list` flags any unseen upload that already has a local folder and exits 1.
- **The store declaration grew.** The plan listed "Crash logs" and "Diagnostics". The package also carries messages, received positions, and optional name and email, so six types were declared in each store ([STORE-DISCLOSURES.md](STORE-DISCLOSURES.md)).
- **Key location.** The owner key lives in the owner's key folder outside the repo, not `~/.secrets` (E1 #1216).
## Against the plan's "Done when" (PLAN.md section 8)
| Plan says | Shown |
|---|---|
| Send to Offband on Android, iOS, Windows, macOS, Linux and web returns a code | **Android and Windows, live.** iOS, macOS, Linux and web build and pass their tests in CI, but none has a live send in the intake record. |
| Each upload opens one intake issue and alerts the owner; bursts are batched | Met: #2 to #9, and the burst alert on #7. |
| `pull` leaves a decrypted, unpacked log with passwords and PINs blank and everything else intact | Met: seven uploads pulled; redaction confirmed by the owner (G3). |
| After a forced crash or ANR, the next launch offers to send | **Partly.** Shown live for an exit while on screen. A forced crash and a forced ANR are covered by tests only. |
| An upload is gone 30 days after the owner has seen it, and stays while unseen | Proven by the retention tests. No live deletion has happened yet; the first is due about 30 days after OB-KG47H was seen on 2026-11-26. |
| The privacy policy, Data Safety and App Store labels say so | Met: policy live at https://offband.org/privacy; App Store label live 2026-11-27; Play Data safety submitted for review 2026-11-27. |
## What's left
- A live send from iOS, macOS, Linux and web.
- A forced crash and a forced ANR on hardware, each followed by the offer.
- Pull OB-J7W5P.
- Confirm Play has approved the Data safety change.
- Watch the first live retention deletion, due around 2026-12-26.
Approved by the owner: G6 #1306 sign-off, 2026-11-30.
Agent: ScarletForest (session 7ebac884)

@ -4,21 +4,22 @@
|---|---|
| **Feature** | [#1190](https://github.com/OffbandMesh/meshcore-client/issues/1190) · Citadel `meshcore-open-oe5` (plan) |
| **Serves** | Standalone. Makes every bug report arrive with its log. |
| **Status** | Draft. Approved when this PR merges. |
| **Status** | Approved (#1197, 2026-11-25). Delivered and signed off 2026-11-30; results in [OUTCOMES.md](OUTCOMES.md). |
| **Owner** | @Strycher |
| **Last updated** | 2026-11-25 |
| **Last updated** | 2026-11-30 |
## At a glance
- **What:** a **Send to Offband** button that redacts, encrypts and uploads the app's logs, opens a private intake issue with a short reference code, and alerts you.
- **Why now:** users must export a log and then email or attach it. Most don't, so most bugs arrive without one.
- **How:** six Epics.
- **How:** seven Epics. G was added on 2026-11-29, after approval; the plan as approved had six.
- A: a Cloudflare intake service.
- B: the log package and a password and PIN redactor.
- C: the encrypted upload and its screen.
- D: an offer to send after a crash, ANR or unexpected exit.
- E: your one-command pull tool.
- F: the privacy policy and store disclosures.
- G: Integration Testing of the whole feature, ending with OUTCOMES.md.
- **Done when:** a user taps Send and gets a code. You get an alert and an issue, and `offband_logs.py pull <code>` leaves a decrypted, unpacked log in `debug_logs/`. offband-prod is untouched.
## 1. Diagnosis
@ -107,10 +108,25 @@ Tasks are 3 to 4 points. Each Epic ends with a verification task and gets one PR
| **F2 · Store disclosures:** Play Data Safety ("Crash logs" and "Diagnostics": optional, encrypted in transit, deletable) and the App Store privacy labels to match. Done through an API where one exists; otherwise you paste text I give you. | 2 |
| **F3 · Epic verification** | 1 |
### Epic G: Integration Testing ([#1300](https://github.com/OffbandMesh/meshcore-client/issues/1300))
Added 2026-11-29. The DifferentWire work-item standard requires a Feature's last Epic to be Integration Testing: it proves Epics A to F working together, on top of each Epic's own verification.
| Task | Pts |
|---|---|
| **G1 · Android send:** a real Android build sends; the code on screen matches its intake issue. | 1 |
| **G2 · Windows send:** the same, from a real Windows build. | 1 |
| **G3 · Pull and redaction:** the owner pulls real uploads; they decrypt, unpack and are marked seen, with passwords and PINs blank. | 1 |
| **G4 · Failure offer:** after an exit, crash or ANR on hardware, the next launch offers to send. | 1 |
| **G5 · Intake refusals:** the size-cap, header and rate-limit tests pass in log-intake CI. | 1 |
| **G6 · Owner sign-off** on G1 to G5. | 1 |
| **G7 · OUTCOMES.md** and this section. | 1 |
## 4. Order and dependencies
- **A and B first**, in parallel. They share no files.
- **C** needs A's endpoint and B's package. **E** needs A's bucket and C1's format. **D** needs C. **F** comes last, so the texts describe what was built.
- **C** needs A's endpoint and B's package. **E** needs A's bucket and C1's format. **D** needs C. **F** follows the build, so the texts describe what was built.
- **G** comes last and depends on every other Epic.
- **#1186** (ChartreuseGate, unmerged) also edits `lib/main.dart`, for lifecycle logging. D1 coordinates with it over Agent Mail and rebases on it if it merges first.
## 5. Grants and authorization
@ -136,6 +152,8 @@ Tasks are 3 to 4 points. Each Epic ends with a verification task and gets one PR
}
```
The grant terms above are the record of what the owner approved on 2026-11-25, and are left as approved. Epic G was added afterwards; its one code change (#1319) and this document went through their own PRs.
## 6. Can't-tell branches
| Where | Can't tell what | Does |

Loading…
Cancel
Save

Powered by TurnKey Linux.