NFR-OPS-1 — diagnostics. Untagged, and the two tags it used to carry were the worse kind of wrong.
The tags that were removed
One on compute_coverage and one on the gesture extractor — both on the traceability tool. A coverage calculation and a documentation generator are not diagnostics under any reading. These were real tags rather than test fixtures, which makes them the worse case: CONTRIBUTING.md warns about it in its own words, a tag proves a tag exists.
What the requirement actually asks for
A rotating, size-capped on-disk log in the XDG state directory.
Credential redaction.
A consented diagnostics bundle.
What exists
Logging goes to stderr and logcat. Nothing else.
Related
#33 — crash reporting shares the "no local record, no consented upload path" problem and should be designed with this in one go.
See docs/outstanding.md §9.
**NFR-OPS-1 — diagnostics.** Untagged, and the two tags it used to carry were the worse kind of wrong.
## The tags that were removed
One on `compute_coverage` and one on the gesture extractor — **both on the traceability tool**. A coverage calculation and a documentation generator are not diagnostics under any reading. These were real tags rather than test fixtures, which makes them the worse case: `CONTRIBUTING.md` warns about it in its own words, *a tag proves a tag exists*.
## What the requirement actually asks for
- [ ] A rotating, size-capped on-disk log in the XDG state directory.
- [ ] Credential redaction.
- [ ] A consented diagnostics bundle.
## What exists
Logging goes to stderr and logcat. Nothing else.
## Related
#33 — crash reporting shares the "no local record, no consented upload path" problem and should be designed with this in one go.
See `docs/outstanding.md` §9.
Built — most of it before this issue was filed, which was written from an out-of-date outstanding.md:
rotating, size-capped log in the state dir: platform/dr-plat/src/diagnostics.rs (465f5a7, c62edd3), tests the_log_stays_under_its_stated_cap and rotation_keeps_the_newest_lines_and_drops_the_oldest
redaction: diagnostics/redact.rs, with its own tests
consented bundle: diagnostics/bundle.rs (369eb8f) — preview first, written only on a second press; wired into settings
Leftover: the module comment in crash.rs (~line 54) still says the rotating log is unbuilt.
Built — most of it before this issue was filed, which was written from an out-of-date `outstanding.md`:
- rotating, size-capped log in the state dir: `platform/dr-plat/src/diagnostics.rs` (465f5a7, c62edd3), tests `the_log_stays_under_its_stated_cap` and `rotation_keeps_the_newest_lines_and_drops_the_oldest`
- redaction: `diagnostics/redact.rs`, with its own tests
- consented bundle: `diagnostics/bundle.rs` (369eb8f) — preview first, written only on a second press; wired into settings
Leftover: the module comment in `crash.rs` (~line 54) still says the rotating log is unbuilt.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
NFR-OPS-1 — diagnostics. Untagged, and the two tags it used to carry were the worse kind of wrong.
The tags that were removed
One on
compute_coverageand one on the gesture extractor — both on the traceability tool. A coverage calculation and a documentation generator are not diagnostics under any reading. These were real tags rather than test fixtures, which makes them the worse case:CONTRIBUTING.mdwarns about it in its own words, a tag proves a tag exists.What the requirement actually asks for
What exists
Logging goes to stderr and logcat. Nothing else.
Related
#33 — crash reporting shares the "no local record, no consented upload path" problem and should be designed with this in one go.
See
docs/outstanding.md§9.Same machinery as #33. Design the consented path once, for both.
Built — most of it before this issue was filed, which was written from an out-of-date
outstanding.md:platform/dr-plat/src/diagnostics.rs(465f5a7,c62edd3), teststhe_log_stays_under_its_stated_capandrotation_keeps_the_newest_lines_and_drops_the_oldestdiagnostics/redact.rs, with its own testsdiagnostics/bundle.rs(369eb8f) — preview first, written only on a second press; wired into settingsLeftover: the module comment in
crash.rs(~line 54) still says the rotating log is unbuilt.