Skip to content

Harden builds, polish releases, add plugin agents and docs#199

Merged
jeremy merged 3 commits intomainfrom
s-plus-round-2
Mar 5, 2026
Merged

Harden builds, polish releases, add plugin agents and docs#199
jeremy merged 3 commits intomainfrom
s-plus-round-2

Conversation

@jeremy
Copy link
Copy Markdown
Member

@jeremy jeremy commented Mar 5, 2026

Summary

  • Build hardening: -trimpath and CGO_ENABLED=0 for local builds matching release artifacts; make test-release for local goreleaser dry-runs; Homebrew cask completions: field for auto-installed shell completions
  • Surface test: Distinguishes removals (always hard fail) from additions (soft fail, -update-surface accepts)
  • Style guide: Import ordering and testing conventions

Test plan

  • make build produces binary with CGO_ENABLED=0 and -trimpath=true (go version -m)
  • No absolute source paths in binary (! strings ./bin/basecamp | grep -Fq "$(pwd)")
  • goreleaser check validates config
  • go test ./internal/commands/ -run TestSurfaceSnapshot passes

Copilot AI review requested due to automatic review settings March 5, 2026 17:35
@jeremy jeremy changed the title S++ elevation round 2: build hardening, release polish, plugin agents, docs Harden builds, polish releases, add plugin agents and docs Mar 5, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3a083bb6fc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions github-actions bot added enhancement New feature or request commands CLI command implementations tests Tests (unit and e2e) ci CI/CD workflows docs and removed enhancement New feature or request labels Mar 5, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

jeremy added 2 commits March 5, 2026 10:34
Add -trimpath to BUILD_FLAGS and goreleaser flags to strip absolute
source paths from binaries. Set CGO_ENABLED=0 on local build targets
to match release artifacts. Add test-release target for local
goreleaser dry-runs. Add completions field to homebrew cask config
so brew install auto-installs shell completions.
Surface test now distinguishes removals (always hard fail) from
additions (soft fail, accepted with -update-surface). Add import
ordering and testing conventions to STYLE.md.
Copilot AI review requested due to automatic review settings March 5, 2026 18:35
@github-actions github-actions bot removed the ci CI/CD workflows label Mar 5, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Narrow baseline creation to os.ErrNotExist (not any ReadFile error).
Fix module path in STYLE.md import ordering section. Clarify
test-release comment: notarize disabled via empty env vars, not
--skip flag.
@jeremy jeremy merged commit 50ac43e into main Mar 5, 2026
21 checks passed
@jeremy jeremy deleted the s-plus-round-2 branch March 5, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commands CLI command implementations docs enhancement New feature or request tests Tests (unit and e2e)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants