Skip to content

docs(gates): G1 passes, because Linux passed four runs in a row after the quit fix and macOS passes on the runner - #371

Merged
GeiserX merged 12 commits into
mainfrom
docs/g1-pass
Oct 9, 2026
Merged

GeiserX merged 12 commits into
mainfrom
docs/g1-pass

Conversation

@GeiserX

@GeiserX GeiserX commented Oct 9, 2026

Copy link
Copy Markdown
Owner

G1 was Partial for two reasons: macOS had never been run, and on Linux akou quit hung after a call on one run of two. Both are now answered, so the row can say Pass.

The summary row, the G1 section's verdict, the two ROADMAP lines and the stable-release evidence test now carry G1 as passed. That test goes red if the row is put back to Partial.

Still open, and not blocking the row: a complete run on a real Mac with akou's Accessibility grant on. Without the grant the hotkey registers and never fires, which is the platform rule DK-K1 describes.

Runs:
https://github.com/GeiserX/akou/actions/runs/37922595750
https://github.com/GeiserX/akou/actions/runs/37922606346
https://github.com/GeiserX/akou/actions/runs/37922614113
https://github.com/GeiserX/akou/actions/runs/37922622120
https://github.com/GeiserX/akou/actions/runs/37950658117

GeiserX added 12 commits October 9, 2026 11:27
…ems it names

The G1 runner had window, tray and login item probes for Linux and Windows only, so macOS arm64
was never measured. It now runs the same five phases on a Mac:

- the app starts through LaunchServices (`open --env`), so the bundle is the process macOS checks
  grants for, and its API takes a free port so a running akou server cannot stop it starting;
- a small Swift probe, built with swiftc at the start of the run, reads windows through
  CGWindowList, the status item through the app's Accessibility tree (on macOS 26 the item's
  window belongs to Control Center), and posts Option+Command+R as HID events with Finder in
  front, since ElectroBun's monitor is global only;
- the login item is the LaunchAgent, read with plutil and run as launchd runs it at login: a copy
  with the scratch AKOU_HOME, bootstrapped into the GUI domain and booted out after;
- screenshots hold akou's window or its status item only, never the rest of the desktop;
- the result records what the probe was allowed to see and akou's own Accessibility grant, which
  the hotkey needs (DESKTOP.md DK-K1), and names it when a press does nothing.

`akou status` that does not answer no longer reads as "no call", so a hung app cannot pass the
second press. A run that stops early removes a LaunchAgent that points into its scratch folder.
The release workflow's macOS job runs the gate after G2, recorded and not enforced, with akou's
Accessibility row written first as a person switches it on.
…bundle without /private

The macOS runner's temporary folder is /private/var/folders. The probe resolved the running app's
bundle path with resolvingSymlinksInPath, which drops /private, so it never equalled the gate's
realpath: the first CI run found no window and no tray item while the hotkey started and stopped
calls in all three phases. Both sides are now canonicalized with realpath in the gate.
…y's grant and failing only the hotkey without it

GitHub's macOS runner passed every phase on the app the pull request built, with akou's
Accessibility row written first. The signed 0.6.4 on a Mac mini without that grant passed every
phase but the hotkey, which registers and never fires there (DESKTOP.md DK-K1). G1 stays partial:
a real Mac has no complete run with the grant on, and Linux still hangs in quit after a call (#351).
…is run's evidence

A screenshot left in --shots by an earlier run passed for the current one when screencapture
failed; the file is now removed first and a capture counts only when screencapture exits 0. The
macOS probe reported an unreadable status-item list as no items; it is now an error, as an
unreadable extras menu bar already was. The G1 notes say the no-grant evidence had its paths
shortened by hand, and that #367 fixes the Linux quit hang behind #351.
… once quit stopped hanging

The fix in #367 makes akou quit always finish on Linux. The release workflow ran G1 four times on
its head, and every run passed every phase with no quit failure; their gate-g1-Linux results are
committed unchanged. With Windows passing on both runs and macOS passing on the runner with the
hotkey's grant, every system G1 names has a full pass on record, so the summary row, the roadmap
and the stable-release evidence test now carry G1 as passed.
…vering it lands in the shot

The headless shots captured the status item's screen rectangle with screencapture -R, which holds
whatever is drawn over that spot. The item is now captured by its own status-bar window with -l,
found by place because on macOS 26 Control Center owns it; when no such window is found the run
takes no shot rather than a rectangle.
…as the item's size

The match accepted any status-bar window up to twice the item's width, so a wider one over the
same spot could have been shot instead. It now needs the item's width and height within 4 points,
which fits the runner's 34x32 item in its 32x30 window, and the test has a wider window placed
first that must not win.
…l code

The committed macOS result and its status-item shots came from an earlier run, whose shots of the
status item were screen rectangles. They are replaced by run 37950658117 on the last commit of the
macOS gate work, where every shot is a capture of one window, and the paragraph names that run and
the three earlier passes.
# Conflicts:
#	docs/ROADMAP.md
#	docs/gates/M0-results.md
#	docs/gates/g1-macos-shots/2-recording.png
#	docs/gates/g1-macos-shots/3-headless.png
#	docs/gates/g1-macos-shots/4-login-item.png
#	docs/gates/g1-macos.json
@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: GeiserX/akou/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 922d62ef-a5cc-447b-82ab-e4a9bb22fb7e

📥 Commits

Reviewing files that changed from the base of the PR and between 1884689 and 55d8c4d.


⛔ Files ignored due to path filters (3)
  • docs/gates/g1-macos-shots/2-recording.png is excluded by !**/*.png
  • docs/gates/g1-macos-shots/3-headless.png is excluded by !**/*.png
  • docs/gates/g1-macos-shots/4-login-item.png is excluded by !**/*.png

📒 Files selected for processing (8)
  • docs/ROADMAP.md
  • docs/gates/M0-results.md
  • docs/gates/g1-linux-367-1.json
  • docs/gates/g1-linux-367-2.json
  • docs/gates/g1-linux-367-3.json
  • docs/gates/g1-linux-367-4.json
  • docs/gates/g1-macos.json
  • tests/release-evidence.test.ts


  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@GeiserX
GeiserX merged commit 47eed21 into main Oct 9, 2026
29 checks passed
@GeiserX
GeiserX deleted the docs/g1-pass branch October 9, 2026 16:15
GeiserX added a commit that referenced this pull request Oct 9, 2026
…aker and akou start and akou quit finish (#374)

## Problem

On 0.6.4, with the Nemotron diarizer on, every call line waited about 2 s for its speaker before it reached the transcript. The first `akou start` after an install gave up at 3 s while the app was still coming up. `akou quit` on Linux could hang after a call. All three are fixed on main and no release carries them yet.

## What 0.6.5 ships

- A call line is written when its segment closes, and its speaker follows as a correction to the same line (#359).
- `akou start` waits up to 20 s for a slow first launch and stops the idle launcher afterwards (#360).
- `akou quit` always finishes on Linux (#367).
- A search hit names the speaker who said the matched word (#365).
- A file job without speaker labels fetches, and is admitted for, only the models it runs (#364).
- Three messages no longer point at a command that cannot help (#366).
- Behind the scenes: G1 and G3 pass, G4, G6 and G7 stay Partial (#354, #357, #358, #362, #363, #371, #372), the dictation audio tests wait for the write (#361), and `glama.json` (#373).

The Known limitations list in CHANGELOG.md names what the reviews left open: late first lines after a cold start, the four-core x64 line latency, a launcher left by an earlier failed launch, the silent wait in `akou quit`, and two search citation cases.

## The bump

- `scripts/stamp-version.ts --set 0.6.5` wrote the 11 stamped places.
- By hand: the install line in README.md, the image tags and the `--branch` line in docs/server.md and docs/server-hardware.md, and the "Known in" line in docs/troubleshooting.md. The menu bar item still moves, since nothing touched it after 0.6.4.
- docs/gates and docs/ROADMAP.md keep the versions their evidence ran on.
- `stamp-version.ts --check --tag v0.6.5` passes, and `--tag v0.6.6` fails as the control.

The tag is pushed after the merge.
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