Skip to content

docs + fix(release): sell-focused README, dev guide, and bash-3.2 artifact collection fix#10

Merged
gocanto merged 6 commits into
mainfrom
combine/readme-and-release-fix
Jun 2, 2026
Merged

docs + fix(release): sell-focused README, dev guide, and bash-3.2 artifact collection fix#10
gocanto merged 6 commits into
mainfrom
combine/readme-and-release-fix

Conversation

@gocanto

@gocanto gocanto commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Combines #8 and #9 into a single PR off a fresh copy of main.

1. Release fix (was #8)

Problem: The Release workflow's collect-release-artifacts.sh used shopt -s globstar + ** recursive globs. macOS GitHub runners (macos-14) ship bash 3.2, where globstar doesn't exist, so the step failed with shopt: globstar: invalid shell option name and the release aborted after building the DMG but before publishing. Observed in the v0.1.1-rc1 run.

Fix: Replace the recursive globs with find, which works on bash 3.2+. Verified locally on bash 3.2.57 (same as the runner): finds artifacts, canonicalizes names, writes SHASUMS256.txt, exits 0.

2. Sell-focused docs (was #9)

Reworks the project docs to sell the app to end users and separates build/run instructions from the pitch.

  • README.md — rewritten as a product pitch (end-user first): hero block (logo, tagline, badges, hero screenshot), "Why you need it", benefit-led "What you get", screenshot gallery, Install (.dmg + planned Homebrew, with the unsigned-app first-launch note), privacy/local-first section, and a slim "Build from source" handoff that keeps the workspace-layout table.
  • docs/development.md (new) — all setup, run, dev, backend CLI, formatting, review-data, and release commands moved out of the README.
  • docs/images/README.md (new) — documents the five expected screenshot filenames the README references.

Notes for reviewers

  • Docs changes are docs-only; the only code change is the release script.
  • Image links point at docs/images/*.png; those PNGs are not in this PR yet, so they render as broken until captures are added (filenames documented in docs/images/README.md).
  • Branch was built fresh from main, cherry-picking the release fix and applying the resolved doc state — no merge commits.

Test plan

  • bash -n syntax check on bash 3.2.57
  • Functional run against fake out/make artifacts
  • Cut a v0.1.1-rcN prerelease after merge to validate end-to-end

gocanto added 2 commits June 2, 2026 15:09
macOS GitHub runners ship bash 3.2, which lacks `globstar`, so the
`shopt -s globstar` + `**` recursive globs in collect-release-artifacts.sh
errored ('shopt: globstar: invalid shell option name') and failed the
release before publishing. Replace the recursive globs with `find`, which
works on bash 3.2.
Reframe the README around end users who download and use the app rather
than developers building from source. Lead with the value proposition,
hero screenshot, benefit-led feature list, install path (with the
unsigned-app first-launch note), and a privacy/local-first section.

Move all setup, run, CLI, and release commands into docs/development.md,
and add docs/images/README.md documenting the expected screenshots.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request restructures the project documentation by moving development instructions from the main README to a new docs/development.md file, polishing the main README, and adding a screenshot guide. It also updates collect-release-artifacts.sh to use find instead of bash globstar (**) to support older bash versions on macOS runners. A review comment correctly points out that using find ... | head -n1 under set -euo pipefail can trigger a SIGPIPE failure (exit status 141) if multiple files are found, and provides a suggestion to temporarily disable pipefail in the subshell.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread packages/ui/scripts/collect-release-artifacts.sh Outdated
gocanto added 4 commits June 2, 2026 15:17
Under set -o pipefail, 'find ... | head -n1' can exit 141 when find keeps
writing after head closes the pipe (multiple artifacts present). Run each
in a subshell with pipefail disabled so the early-exit pipe is ignored
without affecting the parent shell.
The .diff-table/.diff-line/.line-no/.split-side/.comment-row rules styled a
previous custom diff renderer. The diff body now renders via @pierre/diffs
into a Shadow DOM (using [data-line]/diffs-* selectors), so these light-DOM
class rules apply to nothing and are referenced nowhere in src. Removing
~165 lines of misleading dead CSS.
@gocanto gocanto merged commit c07f74a into main Jun 2, 2026
2 checks passed
@gocanto gocanto deleted the combine/readme-and-release-fix branch June 2, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant