docs(review): principles for the signing key and the identifier, Feedback Hub consent, Journal rule (#477) #502

Merged
maximus merged 2 commits from issue-477-review-zone-principles into main 2026-10-25 21:47:10 +00:00

2 commits

Author SHA1 Message Date
le king fu
6f97a092db docs(review): say what the steps before the builds can change, and which later steps hold a token (#477)
Self-review of the signing-key bullet: "what a step installs or changes
before them then runs with the key" read as true of every installed
tool, while jq, installed before the builds, only runs after them; the
exact mechanism is that whatever runs before the two builds can change
what they run. And only two of the six steps after the builds carry a
token (release.yml:137 and :208), not all of them.

Resolves #477

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 23:00:04 -04:00
le king fu
abc63436c0 docs(review): principles for the signing key and the identifier, Feedback Hub consent, Journal rule (#477)
Rewrite four zone rules of REVIEW.md, none in the "Niveaux" section:

- Release: everything that runs in the build-and-release job of
  release.yml, up to its two npx tauri build steps, reaches the updater
  signing key (same root container, key in the env of the two builds);
  the steps after them hold the publishing tokens. Examples instead of
  a list presented as complete: the unpinned NodeSource script,
  actions/checkout@v4 (a tag its maintainers move, on the v4.4.0
  commit on 2026-10-24), cargo-xwin (pinned since #449), and what npm run build
  starts, down to a CSS @plugin or @config module. The floating
  toolchain decision written by #461 is kept as is.
- Migrations: changing the identifier orphans everything stored under
  app_config_dir() and app_data_dir(), with profiles.json (profiles and
  their pin_hash) and the whole auth/ folder as examples; KEYCHAIN_SERVICE
  exists in token_store.rs and in account_cache.rs, and does not follow.
- Privacy, Feedback Hub: logs, account email as userId and context are
  each opt-in; the warn lines leave too (getRecentErrorLogs keeps every
  non-info line); the consent (openFeedback of LogViewerCard.tsx, the
  only path to FeedbackDialog, localStorage key feedbackConsentAccepted,
  FeedbackConsentDialog.tsx) is checked on the front only, send_feedback
  does not check it again.
- Privacy, Journal: a line carries no folder, identifier, licence key or
  token, profile content or financial data, since a warn or error line
  can leave with a feedback (decision of Max, 2026-10-24); every
  console.log/warn/error of the webview is a Journal line
  (initLogCapture); example: the two logWarn lines of
  useLicenseMachines.ts write only result.error.code.

Resolves #477

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 22:54:19 -04:00