# Component release helpers (authoritative copy) This directory is the **single authoritative implementation** of the thin component release helpers required by [marqdo#10](https://git.cflmy.cn/cflmy/marqdo/issues/10) §4 (immutable release identity) and §6 (notify after publish). Active component repositories vendor an identical copy under `scripts/release/` and run only that local copy. CI must never download these scripts from the parent repository at runtime. When the helpers change, update this directory first, re-run the root unit tests, then copy the same bytes into each consumer and record the content hashes in that consumer's `scripts/release/README.md`. | Module | Role | | --- | --- | | `package_source.py` | Deterministic source archive + `.sha256` from an allowlist | | `write_evidence.py` | Emit `release-evidence.json` (external index; no self-hash) | | `publish_gitea.py` | Draft → upload assets (index last) → undraft; never overwrite public assets | | `notify_root.py` | Bounded retry trigger of the root `reconcile` Woodpecker workflow | Secrets stay out of package/evidence scripts. Publish workflows hold `gitea_publish_token`; notify workflows hold `woodpecker_notify_token`.