The GitHub release: Attach packages workflow supports stable releases starting with v1.3.0. It builds
GitHub release assets only. It does not create or move tags, create releases,
invoke PlasmoHQ/bpp, use BPP_KEYS, or submit anything to a browser store.
Publishing a GitHub release cannot trigger an automated Edge submission.
Store upload is a separate, human-authorized operation. Uploading a draft package does not authorize certification, submission, or publication. Edge has a manually dispatched Edge store: Plan, status or draft upload workflow with an offline plan and protected draft-only upload. Certification and publication stay manual in Partner Center; see Edge setup and operation. Firefox has a separate, manually dispatched Firefox store: Plan or publish workflow with an offline plan and protected approval gate. It can synchronize AMO metadata or submit a new version, but is never triggered by a push or GitHub release. Its listing pack is not an extension; use the separate Firefox package.
| Actions name | Entry point | Responsibility and outputs | External writes |
|---|---|---|---|
Check: Test and build packages (ci.yml) |
Push, pull request, or reused by the other workflows for an exact ref | Shared regression/browser/lint checks, release-assets, and generated store-listings gallery/packs |
None |
GitHub release: Attach packages (publish.yml) |
Published GitHub release, or manual existing stable tag | Resolve the immutable tag commit, reuse checks, verify and attach the resulting assets | GitHub release assets only; never store submission |
Firefox store: Plan or publish (firefox-publish.yml) |
Manual, workflow on main, exact approved SHA/version | Default offline amo-plan; protected read-only credential check, sync or new-version submission |
auth-check reads AMO only; authorized sync/publish can write, with amo-receipt |
Edge store: Plan, status or draft upload (edge-publish.yml) |
Manual, workflow on main, exact approved SHA/version | Default offline edge-plan; protected real-operation status/credential check or explicitly confirmed draft upload |
status uses GET only; upload replaces the draft package, with intent/receipt; never certification or publication |
The old screenshots.yml was only a second entry point to publish.yml; it has
been removed. Prior run history can still show the old workflow names. Release
attachment and AMO publication remain separate because their destinations,
credentials and approval requirements differ. They reuse one check/build
workflow and the same packaging helpers, not separate capture pipelines.
No current workflow captures or approves new artwork. The listing-artifact step
is gated on the canonical artwork record, so running checks for an older ref
does not invoke that ref’s historical artwork-regeneration command.
Firefox setup, smoke tests and linting also require scripts/manifest.firefox.json in
the selected checkout. Historical release retries without Firefox packaging
still run their own regression tests and release builder, without calling
missing Firefox npm scripts.
The store plan and protected-operation jobs use the same
.github/actions/setup-publisher composite action from the trusted tooling
checkout at the workflow’s github.sha. It selects Node.js 24, disables automatic
npm caching, and installs tooling/scripts locked dependencies with lifecycle
scripts disabled. Candidate source checkouts never supply this action.
Checkouts, artifact transfers, environment approvals, permissions, credentials,
and store-specific operations remain explicit in each workflow.
CI is already the reusable test/package workflow for all three destinations.
CI and GitHub release attachment keep their Node setup inline because historical
exact-tag checkouts may predate repository-local actions. All jobs use GitHub-hosted
ubuntu-latest; the Node 24 actions require runner 2.327.1 or later.
Checkout’s 2.329.0 requirement for authenticated Git in Docker is not applicable:
credentials are not persisted; the Pages Jekyll Docker action does not need
authenticated Git commands.
Upload v6 and download v7 retain the v4 artifact backend and named-download
layout, so release/plan paths, immutable uploads and retention remain unchanged.
Pages uses configure-pages v6 and deploy-pages v5 on Node 24, and
upload-pages-artifact v5, whose nested upload-artifact v7 also declares Node 24.
The uploader retains the github-pages name, tar-in-ZIP format and one-day
retention. include-hidden-files: true preserves the old v3 archive behavior
(excluding .git and .github); v4 would exclude dotfiles and still nest a
Node 20 action. Jekyll remains the Docker-based jekyll-build-pages v1.
Manual Pages runs still build without deploying unless deploy is selected;
push deployment remains limited to main and the github-pages environment.
| Maintained source | Generated output |
|---|---|
docs/store-assets.md listing sections and certification notes |
Each store’s English/Spanish Markdown/plain descriptions and generic reviewer notes |
_locales/en/messages.json, _locales/es/messages.json and shared public-link constants in scripts/store-assets.js |
Localized name, summary and listing links |
scripts/copy.json |
Caption files and screenshot/demo composition text |
web/privacy.html, root LICENSE |
Shared plain-text policy and license copies |
icons/, screenshots/en/, screenshots/es/ |
Reused production icons and localized Edge/Chrome screenshots |
Unique approved store-artwork/ PNGs and approved.json |
Padded Chrome icon, shared promos, Firefox gallery, per-store inventories |
amo/listing.json, amo/versions/VERSION/ and scripts/manifest.firefox.json |
AMO-specific choices, version payloads and Firefox package metadata |
edge/product.json |
Owner-confirmed Edge Partner Center identity in offline plans and protected draft uploads |
npm --prefix scripts run stores deterministically builds dist/store-assets/:
three store folders/ZIPs, a gallery and its local font/CSS. These are ignored
outputs, also downloadable as the store-listings CI artifact. Release
packaging and AMO planning use the same in-memory builder directly, so they
cannot read stale local ZIPs. The generated inventories include hashes for
canonical copy, artwork, source inputs and the build scripts. ZIP timestamps
and text line endings are normalized.
The single artwork approval record replaces three duplicated committed
inventories. Its migration receipt records the prior source commit and inventory
hashes. Migration preserved all 22 logical store images exactly and all 33
approved text/license/caption files with canonical LF; no image was recaptured.
There are 14 unique approved image sources, six of which live in store-artwork/.
Artwork verification covers the full runtime allowlist (including added/removed
files), render inputs, fonts and approved PNG bytes. Only the manifest’s version
value is excluded from artwork freshness checks. All other manifest/runtime
changes still fail closed until the relevant artwork has been reviewed.
Normal build/check/release/AMO commands never rewrite the approval record.
For intentional visual/runtime changes, regenerate the affected production
icons and localized screenshots first, then explicitly run
npm --prefix scripts run stores:capture. This renders the store-only images
and records their new source/output hashes for review. Review the PNG diff and
approval-record diff before merging. Listing-only policy/description updates
are built from their shared sources and do not require recapturing images.
The canonical policy currently uses headings, paragraphs and inline
emphasis/code/links; unsupported markup fails explicitly rather than silently
losing content in the plain-text conversion.
Chrome Web Store upload is also separate and human-authorized. Build the
Chrome-specific extension ZIP using CHROME.md, from the approved
release checkout. It reuses the release runtime allowlist and deterministic ZIP
writer, but substitutes the approved padded Chrome icon. The release workflow’s
maskify.zip remains unchanged for Edge; maskify-chrome-assets.zip remains a
listing pack, not an extension. No Chrome store upload is automated.
manifest.json’s version.npm --prefix scripts run stores and npm --prefix scripts run stores:check.
A version-only change reuses the approved PNGs and copy, while generated
inventories record the new manifest bytes. There are no ZIPs or derived
inventories to commit. The old stores:version rewrite helper is no longer
needed; strict non-version source and image checks remain in the builder.npm --prefix scripts test, open a PR, and wait for GitHub CI. CI also
builds a downloadable release-assets artifact. A PR artifact records its
tested PR merge SHA, not the eventual squash-merge SHA.Do not run stores:capture, screenshot, or icons merely to prepare a version.
For actual artwork or runtime changes, review the relevant assets and source
hashes instead of rebaselining them to bypass review.
These commands are for the release owner, after merging the release PR. Replace
MERGED_COMMIT_SHA with the exact merged commit, not the PR head. Use a clean
checkout containing that commit:
git tag -a v1.3.0 MERGED_COMMIT_SHA -m "Maskify v1.3.0"
git push origin refs/tags/v1.3.0
gh release create v1.3.0 --repo mike-mo/maskify --verify-tag --title "Maskify v1.3.0" --generate-notes --latest
Creation of a published release triggers GitHub release: Attach packages (publish.yml).
It resolves the existing tag to its exact commit (including annotated tags),
checks out that commit, requires manifest/tag agreement, and runs the same
Node 24 / Playwright Chromium and desktop Firefox checks as PR and push CI before
building artifacts.
The workflow defaults to contents: read. The resolve job needs
contents: write because GitHub requires push access to discover draft releases.
It only reads release metadata and tag refs. The verifier stays read-only;
the upload job retains contents: write and is the only job that mutates release
assets. All checkouts use persist-credentials: false.
The workflow attaches:
maskify.zip: the actual Chromium extension with background.js, manifest,
locales, popup, content scripts, data, and only the 16/32/48/128 runtime icons.maskify-firefox.zip: the unsigned desktop Firefox extension, with an MV3
event-page background and Firefox identity/data declarations.maskify-firefox-source.zip: matching reviewer sources and reproducible build
instructions in this document, including the manifest overlay and locked tools.maskify300x300.png: the approved store logo.maskify-edge-assets.zip, maskify-chrome-assets.zip, and
maskify-firefox-assets.zip: reproducible listing packs built from canonical sources.screenshots.zip: all six approved English/Spanish screenshots, plus the
three en-*.png attachments for optional release-note images.release-provenance.json and SHA256SUMS: exact tag/commit and file hashes.Watch that workflow to completion before downloading or uploading the extension
package. The release itself can exist while asset checks are still running.
Inspect release-provenance.json and confirm its commit equals the tagged merged
commit. Use the downloaded maskify.zip for a manual Partner Center package upload,
not a store listing pack.
The separate Edge workflow rebuilds and compares that same package from its
own exact-ref CI run; it never relies on an unverified local or release ZIP.
To retry a failed run or attach assets to an existing draft/stable release:
gh workflow run publish.yml --repo mike-mo/maskify --ref main -f tag=v1.3.0
gh run list --repo mike-mo/maskify --workflow publish.yml --limit 5
gh run watch RUN_ID --repo mike-mo/maskify --exit-status
Use the explicit tag for release work. A blank tag calls GitHub’s
releases/latest endpoint, which selects the stable latest, not the
newest-created prerelease. The historical v1.2.0-screenshot-test prerelease
will not be selected. Use this single manual entry point for retries or backfills.
Retries compare existing asset bytes, upload only missing files, and verify the
saved bytes. They never use --clobber, move a tag, or rewrite release notes.
Tag checks before and after upload detect a moved tag, but GitHub provides no
atomic tag-ref-and-asset-upload operation. A manual tag move during an upload
can leave some assets attached before the workflow fails. Treat such a run as
invalid, compare the recorded source commit, and do not use its package.
Do not move or delete release tags; use repository tag protection/immutability
where available and create a new version for changed code. The workflow does
not change repository rules or request administrative permissions.
A mismatched asset, incomplete upload, or incompatible/immutable release also fails explicitly. Inspect a conflict manually instead of deleting or replacing historical assets to make a retry pass.
Use Node.js 24 LTS and npm 11 on Windows, Linux, or macOS. The same commands work in each environment; the packaging code normalizes text to LF and uses fixed ZIP timestamps. Start in the repository root:
npm --prefix scripts ci --ignore-scripts
npm --prefix scripts run firefox:build -- dist/firefox
npm --prefix scripts run firefox:lint
npm --prefix scripts run test:firefox
Choose a new or empty output directory. firefox:build creates
maskify-firefox.zip and maskify-firefox-source.zip. It does not sign, upload,
contact AMO, change the Chromium manifest, or regenerate approved artwork.
Relative output paths are resolved from the package’s repository root, including
when npm runs the command from scripts/; absolute paths are used unchanged.
dist/ is local output, not source to commit.
The root manifest.json remains Chromium MV3 with background.service_worker.
scripts/manifest.firefox.json replaces that section with background.scripts for a
non-persistent Firefox MV3 event page. Runtime files are shared unchanged between
packages. The background chooses Firefox’s promise-based browser namespace or
Chromium’s chrome namespace. The popup/content scripts retain Firefox-supported
callback APIs. No polyfill, bundling, minification, or remote runtime code is used.
The Firefox overlay declares:
@maskify.mike-mo, the developer-chosen immutable ID used by the existing
AMO listing, add-on 3119745, slug maskify. Keep it unchanged for all updates.
The owner submitted 1.3.0 manually; do not create another listing or resubmit
that version. See the submission receipt in amo/listing.json.data_collection_permissions.required: ["none"]. Page content is processed
locally and never stored or transmitted by Maskify. Preferences and the action
count use browser-managed storage.sync; browser account settings control
syncing. There is no developer telemetry or external data endpoint. Reassess
this declaration if data handling changes.firefox:lint validates the actual generated ZIP contents with locked Mozilla
web-ext/addons-linter versions. Validation must have zero errors. Three
existing warnings remain: two UNSAFE_VAR_ASSIGNMENT reports for popup labels
using innerHTML with static, bundled English/Spanish messages (only <strong>
markup), and an Android minimum-version warning because the desktop consent
system starts at 140 but Android’s starts at 142. This package does not declare
gecko_android and makes no Android compatibility claim. Review new warnings
rather than assuming every warning is acceptable. AMO may request changes.
The Firefox smoke checks install the ZIP temporarily in clean headless Firefox,
grant the MV3 site access normally approved on installation, and check both
English and Spanish using the official matching Mozilla language pack. They
exercise the actual popup, page/title/link/form masking, saved format options,
and Firefox’s registered Alt+Shift+M command dispatch into the event page.
Command dispatch does not verify physical keyboard delivery or OS shortcut
conflicts. Manually check the toolbar popup and physical shortcut before
submission. For local checks install desktop Firefox, optionally set
FIREFOX_BINARY to its executable, and allow Selenium Manager to obtain
geckodriver. These tooling/language-pack downloads are test-only, not runtime
extension dependencies or requests.
CI checks both Firefox 140.0 and the latest stable Firefox before producing
release artifacts. The local geckodriver path-install endpoint keeps the actual
ZIP available for Firefox 140’s lazy script loading throughout the test.
Attach maskify-firefox-source.zip as the matching source code during AMO
submission because the build generates the Firefox manifest from an overlay.
It contains readable runtime code, the original Chromium manifest, the overlay,
the minimal packaging scripts, npm manifest/lockfile, license, and these build
instructions, but no dependencies, credentials, development browser profiles,
or generated listing graphics.
Extract the source archive into a new directory. From its root, run:
npm --prefix scripts ci --ignore-scripts
npm --prefix scripts run firefox:build -- dist/firefox
Compare the resulting dist/firefox/maskify-firefox.zip byte-for-byte with the
submitted extension ZIP. The build is cross-platform and does not require git,
a browser, or store credentials. The minimal source archive supports the build,
not the full repository test suite. Dependency downloads use the official npm
registry. Browser tests and linting are performed from the full repository.
The initial 1.3.0 submission already reused the approved repository descriptions, summaries, icon, screenshots, captions, privacy policy and license. The remaining browser-authored choices and notes are now tracked without copying that artwork or listing prose into another source:
| Submitted content | Canonical repository input |
|---|---|
| English/Spanish names and summaries, homepage/support/policy URLs | Package locale messages and shared public-link constants in scripts/store-assets.js |
| English/Spanish descriptions | Listing sections in docs/store-assets.md |
| Privacy policy | Plain text derived from web/privacy.html plus privacy_policy_suffix in amo/listing.json; only English was submitted |
| Custom license | Root LICENSE plus its submitted name in amo/listing.json |
| Icon, ordered screenshots and bilingual captions | icons/maskify128x128.png, unique store-artwork/firefox-*.png, and shared scripts/copy.json; AMO image IDs and approved-image/caption fingerprints in amo/listing.json |
| Category Privacy & Security, tag privacy, non-experimental, no required payment/service/hardware, blank support email, locale mapping | amo/listing.json |
| Public version notes and reviewer instructions | amo/versions/1.3.0/release-notes.txt and reviewer-notes.txt, captured from the submitted text |
| Desktop >=140, no Android, extension ID and data declarations | scripts/manifest.firefox.json |
| Initial submitted source commit, package/source hashes and AMO version/file IDs | initial_submission in amo/listing.json |
Listing text is built from canonical shared sources, not from generated loose
files or stale ZIP copies. buildStoreFiles(root, 'firefox') is shared by AMO
planning and release packaging; neither requires a prior local store build.
The publisher normalizes CRLF to LF and trims trailing text whitespace. It does
not regenerate store packs, change approved art, invent a support email, or
invent a Spanish privacy policy or Spanish release notes. The English policy
is composed with the exact submitted published-policy link suffix. The source
archive contains runtime/build sources, not listing media, and stays a separate
AMO version attachment.
The initial saved gallery IDs are 443842, 443843 and 443844. These came from the owner’s successful media-save response and subsequent rendered English/Spanish image checks, not a later authenticated API read. Live authenticated preflight must still confirm the identity, exact image inventory/order, known captions, dimensions and downloadable image bytes before any write.
The owner accepted the developer agreement and chose the public account display name in AMO. Account identity, agreement acceptance, account security and API credentials are not listing/package configuration and are not changed by the publisher. Do not add them to the extension manifest or automate profile edits. At the initial submission handoff, version 1.3.0 was Awaiting Review, not yet publicly available. The repository records submission identity, not live review status.
An owner must perform this setup outside chat:
main. Enable GitHub Actions
for the repository if needed. No AMO mutation occurs just by merging.amo-production with
Selected branches and tags, allowing only the branch main (no tag
rules). Disable administrator bypass and require a designated owner/release
reviewer. Choose the reviewer policy explicitly: a sole maintainer who
dispatches and approves runs needs self-review allowed; preventing self-review
requires another eligible reviewer. Do not grant access or choose reviewers
implicitly. Confirm these controls are supported and read back the saved
settings. Do not add credentials or enable a production apply run until an
effective approval gate is configured.AMO_JWT_ISSUER (AMO API key/issuer) and
AMO_JWT_SECRET (AMO API secret). Keep both in amo-production, not
repository-wide secrets. No GitHub write token or AMO credentials are needed
for plan mode. These settings are not automatically created by the repo.Environment approval, branch restrictions and disabled administrator bypass are
server-enforced settings, not properties established by the workflow YAML.
The YAML separately limits dispatch to main and checks immutable main ancestry,
version agreement and exact artifacts. Main’s required GitHub Actions checks
are check, firefox (140.0) and firefox (latest), with up-to-date branches
required and no ruleset bypass actors. Existing conversation-resolution,
Copilot-review and force-push/deletion protections remain separate.
Use the Firefox store: Plan or publish workflow (.github/workflows/firefox-publish.yml)
on main. Every run requires the full immutable 40-character source_sha
already merged into main and the exact version in that commit’s manifest.
Branch names, tags, non-main workflow refs, unmerged commits and mismatched
versions are rejected. The default operation is plan.
For example, after replacing FULL_MERGED_SHA with the actual approved commit:
gh workflow run firefox-publish.yml --repo mike-mo/maskify --ref main -f source_sha=FULL_MERGED_SHA -f version=1.3.0 -f operation=plan
The workflow runs existing package/runtime/artwork checks, Firefox 140/latest
browser checks and Mozilla linting, then compares the trusted plan’s package
and reviewer-source ZIPs byte-for-byte with the exact CI-tested artifacts.
Download amo-plan and review plan.json, both ZIPs, the icon, and all
screenshot file/ID/caption/hash mappings. The plan includes every API payload
and lists manual exceptions. Plan mode makes no AMO requests, including no
validation upload, and requires no production credentials.
To test newly entered or rotated credentials, dispatch auth-check, not sync:
gh workflow run firefox-publish.yml --repo mike-mo/maskify --ref main -f source_sha=FULL_MERGED_SHA -f version=1.3.0 -f operation=auth-check
This builds and verifies the same offline plan first, then waits for your
amo-production approval in that run’s GitHub Actions page. Approve only after
checking the operation is auth-check and the source SHA/version are intended.
The protected step uses a GET-only transport to read Maskify’s add-on identity
and its recorded initial version’s developer-only reviewer-source metadata.
It requires the exact add-on GUID/slug/ID, version/file IDs and a nonempty source
field, so a publicly readable listing alone cannot count as success. It does
not download the source URL, upload a validation package, synchronize metadata,
create a version or sign/publish anything. Success logs only the verified add-on
ID/slug and read-access result; API bodies, account information, source URLs and
JWTs are not printed or saved. Errors expose HTTP status only (or a generic
network/response error). No mutation receipt is created.
An offline plan does not test credentials. An auth-check success confirms authenticated source read access, not write permission or the entire live listing/media preflight. Those checks still run before separately authorized sync/publish operations. A failed check is not permission to try a mutation, rotate credentials automatically or relax environment protections.
For a local, offline plan from a clean checkout, Node 24 and locked dependencies:
npm --prefix scripts ci --ignore-scripts
node scripts/amo-publish.js plan . dist/amo-plan FULL_CHECKED_OUT_SHA 1.3.0
The local source must be clean and its HEAD must match that SHA. Local planning also works on an unmerged development commit; the production workflow alone requires main ancestry. Use a new/empty output directory. Review plan fields without committing generated packages or payloads.
sync updates the existing listing and the selected existing listed version’s
notes/custom license/desktop compatibility. It does not reset
the compatibility range to AMO defaults: the version PATCH includes the
generated manifest’s explicit Firefox minimum and maximum (* when unbounded),
and readback verifies both bounds and the desktop-only platform set.
It does not upload or replace
the extension or its source archive, and can operate on 1.3.0 awaiting review.
Use it only when the owner authorizes that metadata change. Existing version
sources must already be present. Initial 1.3.0 additionally requires the exact
recorded version/file IDs.
gh workflow run firefox-publish.yml --repo mike-mo/maskify --ref main -f source_sha=FULL_MERGED_SHA -f version=1.3.0 -f operation=sync -f confirmation=maskify:sync:1.3.0:FULL_MERGED_SHA
publish submits a new listed version for review, not an unlisted build.
For a real future release, increase manifest.json only when there are approved
changes to distribute, build/check listing artifacts without recapturing images, and add
amo/versions/NEW_VERSION/release-notes.txt and reviewer-notes.txt. Notes must
describe that specific release and current reviewer steps; do not reuse initial
release notes automatically. Merge, plan and review before authorizing publish.
Then run with operation=publish and
confirmation=maskify:publish:NEW_VERSION:FULL_MERGED_SHA.
The script checks authenticated all-channel version history and refuses an
existing or non-increasing version, including 1.3.0, and refuses to submit
another version while a listed version is awaiting review. It uploads the
exact unsigned package with channel listed, polls Mozilla validation, rechecks
identity/duplicates/media, then creates the version with its matching source
archive in the same multipart request. It applies the custom license, release
notes and reviewer notes through the separate JSON version endpoint. This
separation is required because the API cannot accept nested translated JSON
objects and a source file in one request. Creation initially inherits the
previous version’s license. The source file is never left for a later upload.
Before any mutation, approve amo-production only after reviewing that run’s
plan and immutable source. The credential-bearing job executes the publisher
from the workflow’s trusted main commit, installs only its locked dependencies
with lifecycle scripts disabled, treats the selected source checkout as data,
recomputes/compares the complete plan and files, and rechecks main ancestry.
Candidate build/test scripts never execute with AMO credentials. Secrets are
available only to the apply step, not to candidate CI, planning or npm install.
The GitHub token has only contents: read; no workflow modifies tags/releases.
Supported operations use the official AMO v5 APIs:
listing PATCH for bilingual names/summaries/descriptions, categories, tags,
homepage/support URLs, blank support email and commercial/experimental flags;
EULA-policy PATCH for the English privacy-policy body; multipart icon PATCH;
version PATCH for notes/custom license/desktop compatibility; upload validation
and multipart version creation with reviewer sources; preview creation and
bilingual caption/position PATCH. The support_url write field is also confirmed
in Mozilla’s AddonSerializer writable fields.
The public edit documentation currently omits that field from its field list.
The tooling verifies persisted listing/policy/version/caption fields with
authenticated show_source reads and confirms images remain downloadable.
AMO transforms image files and resizes icons asynchronously; it exposes no
original-byte checksum for those uploads. A successful icon request is an
acknowledged upload, not a byte-identical rendered-icon proof. Inspect the
finished listing after AMO processes it. Existing preview IDs are immutable
image identities, and local approved image hashes are checked before syncing.
Existing screenshots are never blindly reuploaded, and no DELETE endpoint
is called. A changed image at an existing ID fails explicitly. For a deliberately
new image, add an approved PNG and both captions, set its id,
initial_position, uploaded_sha256, and initial_caption_sha256 to null in
the mapping, and review the plan. A successful create records the returned ID,
position, image hash and caption fingerprint in amo-receipt. Commit those
values before another sync. If the run failed after creating an image, first
adopt its receipt ID rather than uploading a duplicate. Missing, extra, reordered
or unexpectedly recaptioned live images fail before writes; a deliberate
repo-order change is accepted only from the recorded initial or desired order.
Image replacement/removal remains an explicit portal operation because the API does not support replacing image bytes and this tooling deliberately does not delete previews. Upload/approve the replacement, remove only the intended old preview in the Developer Hub, then commit the verified new ID/hash/position mapping and captions. Do not guess IDs or silently drop a live screenshot. Unexpected caption changes require reconciling the recorded fingerprint or canonical caption with the owner before syncing.
AMO updates are not transactional. A new version with sources can be created
before a later metadata request fails, or a partial media update can persist.
Requests are not automatically retried after ambiguous transport failures.
Every acknowledged mutation is journaled to the always-uploaded amo-receipt
artifact (90 days); plan artifacts are retained for 30 days. Inspect the live
version and receipt after any failure. A repeated publish refuses duplicate
versions. Once the source attachment is confirmed, use an explicitly authorized
sync run to finish metadata instead of submitting another version. If a
failure occurred before its response/receipt was received, inspect AMO manually
first. Never bump a version merely to get a failed workflow to turn green.
Account agreements/security/profile display name, Mozilla review/signing, reviewer decisions and eventual public availability cannot be synchronized from these repo files. The workflow reports the API’s final file status and does not claim that a submitted or awaiting-review version is published. Credentials have not been configured or exercised as part of implementation; mutating API behavior is covered by offline request/response tests. The first authorized production run must check AMO’s actual responses and rendered result.
Authentication reference: AMO external JWT authentication. The publisher signs unique short-lived HS256 tokens in memory, sends them only to the fixed AMO API origin, and refuses redirects. API errors are surfaced; credentials are redacted and never stored in plan or receipt artifacts.
maskify.zip (Chromium) or maskify-firefox-assets.zip (listing artwork).maskify-firefox.zip, examine AMO’s own validation results, then
attach maskify-firefox-source.zip in the source-code step. Supply Node 24 /
npm 11 and the reviewer build commands above. Explain the three known lint
warnings, site-access grant, and temporary-install refresh step.dist/store-assets/maskify-firefox-assets.zip, also supplied in the
CI/release artifacts. Those media were captured in Chromium and are not
Firefox-verification evidence. Link the
privacy policy, support
issues, and homepage. Use amo/listing.json for listing choices and the
version-specific notes under amo/versions/. Select the license matching
the repository’s custom personal/non-commercial terms, not an incompatible
open-source license.The local ZIP is unsigned and cannot be permanently installed in ordinary release Firefox. Temporary installation is not signing, store approval or publication. The repository never stores AMO credentials. Only the separately authorized protected workflow or owner-operated Developer Hub can submit.
Authoritative references: MV3 background differences, Firefox identity and desktop/Android settings, required data declarations, source submissions, and add-on policies.
The legacy screenshot capture path is retired. Modern workflows refuse tags older than v1.3.0 and do not modify historical release artwork. Capture scripts and legacy asset-selection tests remain available for local development.
Only use committed, approved image attachments. For example:



Release packaging never recaptures these images. Browser tests may render
temporary pages to exercise runtime behavior; they do not write approved
artwork. Icon verification pairs the canonical SVG hash with exact hashes for
all six approved PNGs in icons/asset-inventory.json, then checks dimensions,
transparent margins, coverage, and the gallery. The initial inventory records
the bytes from the approved asset commit, not new captures.
Hosted Chromium rasterizers differed from the original renderer even in alpha and light/dark composited colors. Comparing a fresh rasterization would require accepting visible pixel differences. Exact export/source hashes avoid that tolerance increase and reject even a single changed PNG byte. Intentional icon generation updates the inventory alongside its outputs for artwork review, never as part of a release.