feat: single component release transaction (marqdo#96 M1) #98

Merged
cflmy merged 4 commits from feat/component-release-kit into main 2026-12-02 23:12:57 +08:00
4 Commits
Author SHA1 Message Date
cflmy b10b360cf4 fix: harden the component release transaction after review
- Build the archive from exact Git objects (git ls-tree / git cat-file) with
  fixed tar and gzip metadata instead of git archive + gzip, so export-ignore,
  export-subst and local attribute files cannot silently drop or rewrite
  released bytes; verify every member and byte against the commit blobs.
- Select the same-SHA CI pipeline deterministically (lowest successful number)
  so re-running the transaction reproduces already published evidence.
- Preflight the remote tag identity, require channel consistency on idempotent
  re-runs, add --reset-draft recovery for interrupted drafts, and stop
  forwarding the publish token across redirects.
- Reject case/NFC collisions, backslash/control-character members, wildcard
  allow entries, unknown/duplicate dependency fields; honor --source-sha and
  --out-dir in check; clean temporary directories.
- Fix the documented/template dependency syntax and add regression tests for
  determinism, export attributes, collisions, deterministic CI selection and
  remote tag identity.
2026-12-02 23:12:44 +08:00
cflmy 6259a5ce4a Merge remote-tracking branch 'origin/main' into feat/component-release-kit 2026-12-02 23:12:36 +08:00
cflmy 603756db69 ci: re-run the protected gates for the component release kit
ci/woodpecker/pr/eco Pipeline is pending
2026-12-02 22:42:26 +08:00
cflmy 1228ed887c feat: add the single component release transaction for #96
ci/woodpecker/pr/eco Pipeline is pending
Add one shared, self-contained component release implementation for stdlib and
extension repositories (marqdo#96 M1): deterministic allowlisted packaging of
the exact tagged commit, release-evidence.json with same-SHA Woodpecker CI
discovery, and an immutable Gitea draft->publish transaction with byte readback.

The kit is pinned by root commit + sha256 in each component repository's
protected tag workflow; ordinary push/PR lanes only run the deterministic
package self-check and never receive the publish token. No stdlib/ext specific
manifest or second release service is introduced.

Adds contract tests for packaging determinism, archive path safety, evidence
shape, dependency identity, CI discovery and publish ordering.
2026-12-02 22:17:25 +08:00