CWS Upload Gate (Solo Maintainer)
This runbook defines the lightweight mandatory gate before Chrome Web Store upload.
Goal
Catch common release mistakes with one command and one short manual checklist.
Automated preflight
From repository root:
npm --prefix scripts run preflight:cws
What it checks:
- manifest integrity and referenced files
- icon file dimensions
- locale placeholder coverage for
__MSG_* - fixed helper environment IDs are not placeholders
- broad permission posture warnings (
<all_urls>,all_frames,match_about_blank) - literal remote URL presence warnings
- package noise (
.DS_Store, temp files)
Report output:
- Markdown report under:
docs/runbooks/cws_preflight_reports/
Gate behavior:
- Any
FAILcheck exits non-zero and blocks upload. WARN/INFOdo not block upload but must be reviewed.
Manual checklist (required)
Before upload, confirm all:
- Preflight report exists for current release candidate and has zero
FAIL. - Permission changes (if any) are intentional and documented in reviewer notes.
- Privacy policy and store listing text match actual data behavior (especially local sensitive data handling).
- Helper onboarding was tested in both states: helper available and helper unavailable.
- Final package is clean (no debug artifacts, no temporary/system files).
Notes for current project state
- Fixed helper extension IDs in
apps/gui/resources/helper_extension_ids.jsonmust be non-placeholder for production upload. - Sentence-history data policy is currently conservative:
- default OFF
- no URL retention in sentence/history records