feat(bug): show the consent notice once before the first interactive session #31

Merged
Breadway merged 4 commits from feature/breadbug-consent into main 2026-10-20 10:55:07 +08:00
Owner

Part of BOS-86 (the first-run consent item). Stacked on #30.

  • bread_bug::consent::CONSENT_TEXT: the single source of the notice (what is in a report, that personal values are replaced, that you can read it all first, that nothing is sent unless you choose Send, that sending is off by default, that saving to a file is an alternative).
  • The CLI shows it once before the first interactive session. Enter acknowledges and records it (consent-shown in the breadbug state dir); q or EOF stops without recording, so it is shown again. Scripted use (--dry-run, --save, --send, --app, any subcommand) never shows it.
  • docs/breadbug.md now points at the constant instead of carrying a second copy of the text.

Tests: shown once then not again; quitting does nothing and shows it again next time; scripted use never shows it; EOF is a clean stop. All earlier interactive tests pre-acknowledge it. clippy clean.

Part of BOS-86 (the first-run consent item). Stacked on #30. - `bread_bug::consent::CONSENT_TEXT`: the single source of the notice (what is in a report, that personal values are replaced, that you can read it all first, that nothing is sent unless you choose Send, that sending is off by default, that saving to a file is an alternative). - The CLI shows it once before the first interactive session. Enter acknowledges and records it (`consent-shown` in the breadbug state dir); `q` or EOF stops without recording, so it is shown again. Scripted use (`--dry-run`, `--save`, `--send`, `--app`, any subcommand) never shows it. - docs/breadbug.md now points at the constant instead of carrying a second copy of the text. Tests: shown once then not again; quitting does nothing and shows it again next time; scripted use never shows it; EOF is a clean stop. All earlier interactive tests pre-acknowledge it. clippy clean.
feat(bug): show the consent notice once before the first interactive session
Some checks failed
check / check (push) Failing after 6m40s
1e49507a6c
bread_bug::consent::CONSENT_TEXT is the single source for the notice the CLI,
GUI, bos-settings and breadhelp show. The CLI displays it before the first
interactive session (Enter records it, q stops without recording); scripted
use (--dry-run, --save, --send, --app, subcommands) never shows it.

Refs BOS-86
Merge branch 'feature/breadbug-release' into feature/breadbug-consent
All checks were successful
check / check (push) Successful in 21m37s
864d73f0a7
# Conflicts:
#	breadbug/src/lib.rs
#	docs/breadbug.md
Breadway changed target branch from feature/breadbug-release to main 2026-10-20 10:54:32 +08:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Breadway/bread!31
No description provided.