Skip to content

docs: default version bump to patch in AGENTS.md - #2

Merged
softmaxe merged 1 commit into
mainfrom
docs/version-bump-default
Oct 11, 2026
Merged

softmaxe merged 1 commit into
mainfrom
docs/version-bump-default

Conversation

@softmaxe

Copy link
Copy Markdown
Owner

Summary

When the owner asks to update or bump the version without naming one, agents bump the patch.

 ### Merging and releasing

 Merging a pull request or publishing a release follows `docs/agents/merge-and-release.md`.
+
+When the owner asks to update or bump the version without naming one, bump the patch: add 0.0.1
+to the current `VERSION` in the `Makefile` (e.g. 0.0.1 → 0.0.2). This replaces the SemVer choice
+in step 1 of the release procedure.

Evidence

This changes only the docs; there is no code or test to run.

  • Before: "update the version" → agent picks major/minor/patch from commit types (merge-and-release.md step 1)
    After: "update the version" → VERSION 0.0.1 → 0.0.2, whatever the commit types

Merge Danger

Door: two-way

Blast Radius: agent-only

Affects only how agents choose a version number when the owner gives none. An explicitly named version still wins.

@softmaxe
softmaxe merged commit 9f53b7f into main Oct 11, 2026
3 checks passed
@softmaxe
softmaxe deleted the docs/version-bump-default branch October 11, 2026 19:58
softmaxe added a commit that referenced this pull request Oct 15, 2026
## Summary

Maintenance pass looking for unnecessary tests and code that is hard to
maintain long-term. The repo is already lean (the demo was removed in
#5), so the changes are small:

- **raycast/** — each of the five scripts carried the same 20-line
binary lookup (an `if/elif` chain plus a `for` loop over candidates). It
is replaced with `path+=(...)` + `whence -p ferry`, so each script drops
from 39 to 24 lines. Scripts stay self-contained so the README's "copy
the five files" / "copy a script for Space 6+" workflow still works.
Lookup order is unchanged: `FERRY_BINARY` → inherited `PATH` →
`/opt/homebrew/bin` → `/usr/local/bin` → `~/.local/bin` → `build/` next
to `raycast/`. The missing-binary message and exit status 127 are
unchanged.
- **src/ferry.m** — `g_verbose` was a file-scope global used only inside
`main`; it is now a local.
- **tests/follow.m** — names the fullscreen space type
(`SPACE_TYPE_FULLSCREEN`) instead of using the literal `4` twice,
matching `ferry.m`.

## Reviewed and kept

- `tests/cli.sh`: each case covers a distinct argument-parsing branch
(non-numeric, zero, overflow, missing value, unknown option, extra
index). None are redundant.
- `tests/follow.m`: manual-only, but it is the only test of real move
and Follow behavior (the issue #2 regression).
- `macho_find_symbol` and the focus code mirror yabai and stay as they
are, per AGENTS.md "upstream first".

## Test plan

- Ran a Raycast script under zsh with stub binaries for each lookup
case: nothing found (exit 127 + message), `build/` fallback,
`~/.local/bin` beating `build/`, `PATH` beating fallbacks,
`FERRY_BINARY` winning, a missing `FERRY_BINARY` erroring, and
invocation from another cwd. All match the old order.
- The `.m` changes could not be compiled locally (Linux container). CI
builds them on macOS 26 with `-Werror`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01P1i79aMaG5M7eTyaXZuVS9

---
_Generated by [Claude
Code](https://claude.ai/code/session_01P1i79aMaG5M7eTyaXZuVS9)_

Co-authored-by: Claude <noreply@anthropic.com>
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