The problem
Private development repositories contain operational configuration, experiments and history that should not automatically become public. A source mirror also does not establish that release attachments are safe or that their public downloads match the approved bytes.
Repo Relay exports a pinned branch snapshot into separate staging, applies a reviewed release profile and produces an immutable file review. A persistent worker publishes approved files with separate public history. The console shows actual job stages and keeps enough durable state to reconnect after a browser refresh.
My contribution
Built the publishing console, persistent worker, release profiles, attachment synchronization and public Gitea presentation. Gitea, Git and Gitleaks provide the underlying repository and scanning capabilities; Repo Relay defines the review, transfer and verification workflow around them.
Engineering decisions
Tie approval to the reviewed bytes
A review records the source revision, exported manifest and profile digest. Changes to the snapshot or release policy invalidate approval. Exact-hash scanner exceptions require a specific file and reason; changed bytes cannot reuse that exception.
Keep work durable and observable
The web process and worker share persistent job records in SQLite. Progress separates snapshot download, checks, Git upload and verification. Unknown totals remain unknown, and completing an upload does not imply the destination has passed verification.
Verify the public artifact
The first destination is created privately. The worker checks the pushed revision before exposing it and performs an anonymous clone check. Release tags point to sanitized public commits, while approved attachments are verified by SHA-256 after upload. Existing unrelated public history is not force-pushed.
A failure that shaped the design
Release synchronization worked against a fresh schema but encountered an older deployed database missing a source-revision column. The repair added a migration and a regression fixture using the earlier schema. This is why upgrade testing must include existing state, not only a new empty installation.
Evidence and scope
These are reviewed recorded results unless explicitly described as current public-access verification. Application tests and physical-device checks were not rerun for this portfolio.
| Check | Recorded result | Conditions & limits |
|---|---|---|
| Live publishing | The October 7 deployment record describes a reviewed update on the real worker followed by successful anonymous clone verification. | Recorded live disposable-repository acceptance. |
| Regression coverage | Source tests cover changed review bytes, changed profiles, saved exclusions, stale approvals, attachment hashes and migration from an older release schema. | Inspected test definitions and recorded results; the suite was not rerun for this portfolio. |
| Public access | This gallery and its public repositories were checked anonymously during the portfolio build. | Current public-access verification; detailed release receipts accompany portfolio delivery. |
Walk through the recovery path
An illustrated explanation of the design. This is not a live application or a recording of a device trial.
- 01
Pin
Download the chosen source revision into isolated staging.
- 02
Review
Apply the release profile, scan the export and bind approval to the exact manifest.
- 03
Publish
Append a sanitized public commit and publish the approved release assets.
- 04
Verify
Check the public revision, anonymous clone and attachment hashes before recording success.
Remaining limits
- A secret scanner reduces exposure risk but does not replace review of content, licenses or opaque binary attachments.
- Transfer estimates depend on measurable stage counters. The overall progress indicator is a workflow estimate, not a total-byte percentage.
Evidence references
These filenames identify the source and acceptance records used to prepare this write-up. Private application files are not published as part of the portfolio.
- repo-publisher/README.md — review and release workflow
- publisher.py — immutable reviews, durable jobs and clone verification
- tests/test_publisher_security.py — approval and exclusion regressions
- tests/test_release_sync.py — attachment integrity and existing-schema migration
- ui-verification/2026-10-07/verification.md — recorded live acceptance
Revision: Deployment evidence dated 2026-10-07; this workspace is not one Git checkout.
The publishing-service implementation remains private. The portfolio source, diagrams and case studies are public.