Files
poli0981andClaude Opus 5.5 7b197c702b
CI / build (push) Successful in 3m17s
CI / gates (push) Successful in 58s
CI / record (push) Skipped
Reusable / Qodana / Qodana (push) Successful in 2m55s
Qodana / qodana (push) Successful in 2m55s
Reusable / Security / Secrets (gitleaks) (push) Successful in 11s
Reusable / Security / Rust (cargo-deny) (push) Skipped
Reusable / Security / .NET (NuGetAudit) (push) Skipped
Reusable / Security / SAST (Opengrep) (push) Successful in 25s
Reusable / Security / Dependencies (osv-scanner) (push) Successful in 16s
Security / security (push) Successful in 52s
CI / deploy (push) Successful in 1m5s
Reusable — Announce Release to Discord / announce (release) Successful in 9s
notify / announce (release) Successful in 9s
chore(release): v1.5.0 — the move to Gitea (D38), suite 4.0 (#4)
- chore(release): v1.5.0 — the move to Gitea (D38), suite 4.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 06:41:13 +00:00

17 KiB
Raw Permalink Blame History

13 — Release & Operations

1. Versioning model

The site deploys continuously from main — no version numbers on content. Git tags mark milestones only: v1.0.0 at public launch (tagged and released 2026-07-30), v1.1.0 for the post-launch review (tagged and released 2026-10-21; package.json version follows the tag), v1.2.0 for the upkeep release — re-check automation, Node 26 / TypeScript 7, CI-based SonarQube Cloud, catalogue batch 2 (2026-10-23), v1.3.0 for the site-wide rate limit (D32, 2026-10-26), v1.4.0 for accessibility — the statement, the "/" switch, the WCAG 2.2 fixes and the Accessibility category (D33, D34, 2026-11-09), v1.4.1 for the start of maintenance mode and Qodana (D36, D35, 2026-11-15), v1.5.0 for the move to Gitea — the forge, CI, deploy and the GitLab bug report — with catalogue batch 4 alongside (D38, D39, 2026-11-24; the first release tagged and published on Gitea), minor tags when a feature phase ships. Publishing a release — on Gitea since D38, by hand — fires notify.yml → Discord (docs/12 §2). Tags v1.0.0–v1.4.1 were GitHub releases; the tags moved to Gitea with the code, their release pages did not. Data changes never tag. CHANGELOG.md (Keep-a-Changelog, dates UTC) records feature work and anything a visitor should know — v1.1.0 leads with the privacy changes — not app additions: the RSS feed is the data changelog.

In maintenance mode (D36) a tag follows a fix, not a feature: a patch (v1.4.x) when a fix is worth announcing — a security fix, a bug or accessibility fix a visitor would notice, an urgent dependency or runtime update — and a minor for a platform major (TypeScript 7 alone, Astro, Wrangler, the forge — D38). Routine dependency merges (Renovate's) and data changes still never tag.

2. Launch checklist (gate for calling it v1.0.0)

Status 2026-10-21. v1.0.0 shipped on 2026-07-30 (tag + GitHub Release) once the content blocker below cleared: 326 apps, 320 clean and 6 held at unverified, every one with its scan linked. v1.1.0, the post-launch review (CHANGELOG.md), was released on 2026-10-21; its last merge (#25) is deployed (checked in production the same day). Unchecked boxes below are still open, not forgotten; items added for v1.1 are marked (v1.1).

Status 2026-07-28 (kept for the record). The infra section below was green — verified against production after the M6 deploy: http→https 301, www→apex 301 with path and query preserved, apex 200, branded 404, HSTS present, no X-Robots-Tag, workers.dev route dead (404), DMARC resolving, and /api/apps.json, /rss.xml, /sitemap-index.xml, security.txt all 200. What blocked v1.0.0 then was content: 5 entries, all unverified.

Infra & correctness

  • Spikes S1–S5 all passed (docs/11 §3); fallbacks recorded if taken
  • pnpm build clean; validate:data clean; i18n parity clean
  • curl -I shows full header set (docs/09 §4); observatory scan grade A
  • /apps/nonexistent → HTTP 404 branded page; airplane-mode → offline page
  • /api/apps.json, /rss.xml, /sitemap-index.xml valid (W3C feed validator). Since v1.1 check:feed asserts the emitted feed's guids, links and order on every build (docs/05 §A4).
  • PWA icons exist (v1.1) — public/icons/ 192, 512 and maskable 512 PNGs plus apple-touch-icon.png and favicon.ico, generated by pnpm icons; the manifest lists them and Base.astro links it, so the site is installable (docs/08 Part D).
  • security.txt Expires is in the future — 2027-07-28 (annual task, §6)
  • Domain package verified end-to-end (docs/16 §10 command block): DNSSEC signing, www → 301 apex with path+query, http → https, workers.dev main route dead, HSTS header present (P3 observed 2026-10-21), DMARC record resolves, and (v1.1) a test mail to the @poli0981.dev purpose addresses arrives (D27 — the old contact@softharbor.net is retired)
  • No stray workers.dev references in the repo. git grep workers.dev outside docs/ and the lockfile should return only deliberate ones: CLAUDE.md's hosting summary, the wrangler.jsonc comments, the _headers rule that marks PR previews noindex, and a Turnstile test fixture host. Anything else is a real stray.
  • X-Robots-Tag: noindex removed from public/_headers (2026-07-28). It was added pre-launch so an empty site could be deployed without being indexed. Verify with curl -sI https://softharbor.net/ | grep -i robots returning nothing — only PR preview hosts carry it now.
  • Search Console Domain property for softharbor.net verified; sitemap https://softharbor.net/sitemap-index.xml submitted; Bing imported from GSC; Crawler Hints enabled (docs/16 §8). The google-site-verification TXT record is published (observed 2026-10-21); the rest ⚠ verify.
  • (v1.1) Runtime secret TURNSTILE_SECRET set on the production Worker (docs/08 Part E). A POST /api/verify with a junk token and a same-origin Origin must answer 403 {"error":"rejected"}, not 503 {"error":"not_configured"} — without the secret the gate fails open for everyone, silently. Verified 2026-10-21 (403 rejected, no-store JSON from the Worker). Re-check whenever the Worker is re-created.
  • (v1.1) After the merge, the "Workers Builds" check on the merge commit is green and production has been verified (§3) — never assume a merge reached production. Done for #25 (2c40baf) on 2026-10-21: Workers Builds: softharbor, build, gates and codeql green; production served /contact, the v1.1 CSP meta, a single immutable Cache-Control on hashed assets and 403 rejected from /api/verify. Repeat on every merge (§6).

Content & legal

  • All seed apps merged (§4 — 326), every entry vetted (docs/09 §6) with the scan permalink in security.evidence, zero flagged — done 2026-07-30: 320 clean, 6 held at unverified
  • Summaries proof-read in both locales (L4, docs/03 §2 — still open)
  • Legal text reviewed by Kokone — H6 approved the drafts on 2026-07-28; sign-off on the 2026-10-21 rewrite ⚠ verify. Contacts live (D27), LEGAL_VERSION = 2026-10-21 (docs/14 Part 2); gate — both steps — tested on a fresh profile in both locales (automated since v1.1 in e2e/gate.spec.ts; a manual pass on real hardware still worth doing)
  • LICENSE (GPL-3.0) + LICENSE-DATA.md present; footer license line "Code GPL-3.0 · Data CC BY-SA 4.0" correct

Quality bar

  • Lighthouse mobile on /apps: Performance ≥ 95 · A11y = 100 · Best Practices = 100 · SEO = 100
  • JS on /apps < 80 KB gzip (docs/00 §2.5) — every first-party /_astro/*.js file combined is ~41 KB gzip (local build, 2026-10-21), MiniSearch included; /apps loads a subset of that. The page's HTML is the heavier part (~119 KB gzip, docs/15 §2 item 9).
  • Both gates above are enforced in CI, not just checked once here — Lighthouse CI (assert A11y = 100) and a size-limit budget on the /apps bundle, wired into ci.yml (docs/12 §2). A launch-day-only check is a number that starts regressing on day two. (v1.1: the Playwright suite now enforces axe — serious/critical findings in light and dark — console- and CSP-clean pages and no sideways overflow on every PR; Lighthouse and the size budget are still not wired. v1.4: moderate findings fail too, axe also runs on the open gate, filter sheet and display menu, and reflow at 320 px and forced colours are tested — e2e/a11y.spec.ts.)
  • (v1.1) End-to-end suite enforced in CI — Playwright + axe on the built site, desktop + Pixel 7, in ci.yml's build job on every PR and push to main (docs/11 §5); a red e2e run blocks the merge like any other required check.
  • (v1.4) Keyboard-only + Narrator (Windows 11; Chrome, Brave, Firefox) pass on the whole site — owner, 2026-11-09, no barriers found; recorded in ACCESSIBILITY.md and /legal/accessibility
  • VoiceOver (macOS) + NVDA (Windows) pass on grid, filter sheet, gate
  • Vietnamese diacritics visually clean in all three fonts at all scale steps (docs/06 §3)

3. Release sequence (every merge, every tagged release)

After every merge to main — verify production, never assume it. The merge commit's CI run deploys: build and gates, then the deploy job (wrangler deploy, docs/12 §3). The runner is the maintainer's PC, so the run waits while it is off.

  1. Wait until the merge commit's CI run is green, its deploy job included — that job's last step already polls /api/apps.json until production answers with the new build's generatedAt. (Until D38 this step waited for Workers Builds' "Workers Builds: softharbor" check.)
  2. Then verify production itself:
    • the new content-hashed /_astro/ asset names are served (compare the page source with the local dist/), so the new build is live;
    • the headers: curl -sI https://softharbor.net/ — header CSP exactly frame-ancestors 'none', the security headers, HSTS; one hashed asset with a single Cache-Control: public, max-age=31536000, immutable;
    • the per-page CSP meta lists the two Cloudflare origins (docs/09 §4);
    • /api/verify is answered by the Worker: curl -s -X POST -H 'Origin: https://softharbor.net' -H 'Content-Type: application/json' -d '{"token":"x"}' https://softharbor.net/api/verify → 403 {"error":"rejected"} (a 503 not_configured means the runtime secret is missing; a bare 405 from the asset server means the Worker is not deployed);
    • the site-wide rate limit (D32, docs/08 Part F) answers a burst over one connection — one curl with many URLs reuses its connection; parallel curls would land on different machines and pass (Part F): curl -s $(for i in $(seq 70); do printf -- '-o /dev/null https://softharbor.net/robots.txt '; done) -w "%{http_code}\n" | sort | uniq -c → about 60 × 200, then 429s; add --next -s -D - -o /dev/null https://softharbor.net/apps to the same command to see a refused page: 429, Retry-After: 10, Cache-Control: no-store and the _headers set. Ten seconds later everything is 200 again;
    • /rss.xml serves the expected items (guid = slug, docs/05 §A4).
  3. Prefer re-running the deploy job to a hand wrangler deploy — a local deploy bypasses CI (docs/08 A3).

Tagged release (v1.1.0 and later):

  1. Merge (squash — docs/12 §8), then complete the three steps above.
  2. Update CHANGELOG.md and package.json version in the release PR; after it is merged and verified, push a signed annotated tag (git tag -s vX.Y.Z, then git push origin vX.Y.Z) and publish the Gitea release by hand (https://git.poli0981.dev/poli0981/softharbor/releases → New release → the tag; notes from the CHANGELOG section, links only — no binaries). Release notes must be accurate before publishing: notify.yml announces them to Discord at once (docs/12 §2; a manual re-run takes a tag input, passed on as tag_override). A release a workflow created with the job token would not fire release: published, which is why this step is manual.
  3. Manual posts where the automation doesn't reach (Discord announcement channels with role pings, pinned messages).

Launch day (v1.0.0, 2026-07-30) followed the same shape: final seed PR merged → production verified → tag + release → Discord via notify.yml → manual posts → the RSS → notify.py cron enabled for ongoing per-app announcements (§5).

4. Seed list — 32 launch apps (proposed; H7 approves)

Balanced across the 12 categories; every entry must still pass vetting individually. (1) = onetime, (f) = free with C3 ruling noted.

Count — superseded 2026-07-29. The table below was the original 32 distinct apps (7-Zip is listed twice, primary category utilities and also under file-management; counted once). The seed that actually shipped is 326 apps — 290 in the first batch, then 37 more filling communication, less one dropped at L3 — imported under D24. The table is kept as the record of what was originally proposed to H7, not as the current dataset; src/data/apps/ is the only authority for that.

No category is empty. communication was the last gap and is now the largest single-category batch in the set (37 entries, Thunderbird among them). Whatever the final number, it must be updated here and in §2's checklist together.

Category Apps
browser Firefox · Brave
graphics GIMP · Krita · Inkscape · paint.net · Affinity Photo (1)
developer-tools Git · Windows Terminal
ide-editor VS Code · VSCodium · Notepad++ · Sublime Text (1)
media VLC · OBS Studio · mpv · Audacity · HandBrake
productivity Obsidian (f) · LibreOffice
utilities 7-Zip · Everything · ShareX · PowerToys
security-privacy KeePassXC · Bitwarden (f) · VeraCrypt
communication Thunderbird
file-management (7-Zip primary) · FreeFileSync
gaming Playnite
system Rufus · Ventoy

Notes for vetting: Obsidian — free for personal use incl. commercial since 2025 policy change, sync is a paid add-on → free with C3 note; Bitwarden — free tier self-sufficient → free (C3); Sublime Text — perpetual license → onetime. Rulings land in the decision log on merge.

5. Ongoing announcements (notify.py integration)

The existing cross-poster consumes /rss.xml (guid = slug, docs/03 §7) on its own schedule, in its own repository, and posts new items to Telegram, Discord webhook, Bluesky, Mastodon, X, Facebook. It announces every <guid> it has not seen, so its failure modes are public and irreversible. SoftHarbor-side contract: never reuse or rename a slug; never backdate addedAt; the feed stays deterministic (pinned collator, docs/05 §A4); never change the guid shape or the 50-item window's order without meaning to announce. check:feed enforces the emitted shape on every build. Message template (configured on the notify.py side): 🆕 {name} — {summary.en} · {site}/apps/{slug}.

6. Operating cadence

Cadence Task
per-PR vetting checklist on new/changed entries
per issue / PR triage against D36 (maintenance mode): listings, re-checks, bugs, UI/UX and accessibility are in scope; a feature request is closed as not planned with wontfix
after every merge wait for the merge commit's CI run (its deploy job), then verify production (§3)
daily (auto) quarantine sweep (docs/12 §4)
weekly (auto) link-check triage — the one link-rot issue is refreshed or closed (docs/12 §5); fix, replace with official mirror, or flag
daily (auto, 13:31 UTC) Renovate (central, D38): a grouped non-major PR when something is due (npm releases ≥ 3 days old, action pins), OSV security PRs at once — merge when CI is green; osv/audit findings fail CI on their own. The Dependency Dashboard issue lists what is pending
daily (auto, 13:59 UTC) VirusTotal re-check (docs/12 §4b): checks older than 90 days are re-scanned into the one vt/recheck PR — review and merge it; triage any [vt] <slug> issue (false positive → back to clean with a note; confirmed → flagged + pnpm quarantine). Scheduled runs need the maintainer's PC on (13:00–16:00 UTC); a run waits up to 24 h for it
monthly (manual, ~10 min) GSC review: Coverage, Core Web Vitals, hreflang errors; skim DMARC reports (docs/16 §6/§8)
annually (manual, ~2 min) Roll Expires in public/.well-known/security.txt forward one year (docs/09 §5). An expired security.txt is treated as invalid by scanners and researchers — and nothing else in this repo would notice.
by 2026-12-31 Renew the Qodana Ultimate licence (Qodana Cloud; the scan log prints its end date) — without it every qodana run is red from 2027-01-01 (docs/12 §2, D35)
once, post-launch HSTS phase transitions P1 → P2 (+2 weeks) → optional P3/preload (H9) — docs/16 §5. Observed 2026-10-21: already at P3 (preload in the header) — docs/15 §5
quarterly review category taxonomy & criteria rulings; prune tags

7. Incident playbook (listed app turns out harmful)

  1. Set flagged and run pnpm quarantine in the same PR (validate:data rejects a flag left in place); the nightly workflow is the safety net for anything that slips through. Site updates once the merge has deployed — verify it (§3).
  2. Tracking issue gets evidence links; entry's page 404s (acceptable — the RSS item remains historical, do not rewrite the feed).
  3. If users were plausibly exposed (app was clean at the time), post a notice via the announcement channels referencing the issue.
  4. Post-mortem line in the decision log: which checklist step failed, and whether §6 cadence or docs/09 §6 needs tightening.