Skip to content

docs(gates): judge G4 and G6 on what we can measure, so 1.0 does not wait on a second-clock device or a 1.5 s x64 line - #381

Merged
GeiserX merged 2 commits into
mainfrom
docs/g4-g6-criteria
Oct 10, 2026
Merged

GeiserX merged 2 commits into
mainfrom
docs/g4-g6-criteria

Conversation

@GeiserX

@GeiserX GeiserX commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner

Two gates could not end as they were worded. G4 asked for the drift between two independent device clocks, which needs an input device we do not have, and for a macOS 14.3 run whose only purpose was lowering a floor we are not lowering. G6 asked four x64 cores for a 1.5 s line while allowing them a real-time factor at which 1.5 s cannot be met.

The decision. We release 1.0 with the guarantees we have measured. We do not hold the stable release for a guarantee we cannot measure today, or one that only a different class of machine misses. What is not guaranteed is written down as a known limitation, and we fix it when a user hits it.

What follows from it.

  • G4 becomes Pass. The criterion is now measured against the host clock, with the system tap and a separate mic stream, and the macOS floor stays at 14.4. Drift between two device clocks is a known limitation, not measured.
  • G6 stays Partial. The x64 line bar is 2.5 s and lines are timed after the first 10 s of a cold call. The Mac half passes under that wording. One x64 run of six fails it for a reason nobody recorded, so the row cannot be an honest Pass.
  • A v1.0.0 dry run now fails on G6 and G7 only.
  • The old wording, the new wording and the reasons are in a dated subsection per gate in docs/gates/M0-results.md, so the change is visible in the record. The older sections keep their verdicts, marked as the verdict of their day.
  • Users find the three limitations in docs/troubleshooting.md: late first lines, two device clocks, and a tap death. CHANGELOG.md is not touched.
  • The same bars are carried into docs/DESIGN.md, docs/TESTING.md and docs/ux/PRINCIPLES.md.

G4, clause by clause

Evidence: g4-signed-hour.json, g4-signed-quiet.json, g4-signed-controls.json (signed 0.6.2, SIP on, 2026-10-08), with the re-runs at 331c7e6 where they measured the same clause.

Clause Measured Run Met
System tap plus a separate mic stream, 60 minutes, a real Mac mic BlackHole 2ch, call in system mode, one part of 3,690.522 s Signed hour Yes
Left-right offset under 200 ms per hour 284 pairs, 8.261 to 8.283 ms, slope 0.01 ms per hour. Controls recover an injected 75 ms per hour as 75.00 Signed hour, controls Yes
No gaps over 20 ms None over 5 ms on either channel in 3,689 s; none in the quiet run's 166 s of call audio Signed hour, signed quiet, hour re-run Yes
Mic frames flowing while the tap is silent from the start Call channel digital silence 0.5 to 27.9 s, mic first audio at capture start, 795.413 s of file for 795.494 s of wall time. At 331c7e6 the tap delivered no buffer for 34.8 s while the mic ran Signed quiet, quiet re-run Yes
First words after silence not lost 0 ms lost after 28 s of silence (0.976) and after the 10-minute mute (0.963) Signed quiet, quiet re-run Yes
Memory flat, call source muted 10 minutes Helper 16.3 to 16.0 MB (hour), 17.6 to 19.3 MB (quiet) Signed hour, signed quiet Yes
Both channels equal length 3,690.522 s each, 795.413 s each Signed hour, signed quiet Yes

The two faults of the first runs. The 20 ms lost at a first start was fixed in #13 and measured again twice at 0 ms. The 10.5 s tap death did not recur in two hour runs, and its fix shortens a death to about 1 s, it does not prevent one. A tap death cannot be forced on a real device, so that figure rests on simulated tests and on forced rebuilds of 72 to 88 ms. It is the second known limitation of G4, in the gate section and in docs/troubleshooting.md.

G6, clause by clause

Evidence: g6-after-hold-mac.json (8 runs), g6-after-hold-x64.json (6 runs), every run included. A cold-start line is one whose speech ends less than 10 s into the call, which is the first two lines of each channel. The 10 s comes from the Mac data: every Mac line over 1.5 s ends at 3.98, 4.94 or 8.74 s. The same rule is applied to both machines and both diarizers.

Clause Measured Met
Real-time factor under 0.25, M-series 0.107 Yes
Real-time factor under 0.5, four x64 cores 0.250, 0.249 Yes
Line within 1.5 s on the Mac, after the cold start, every run 1.25 s at worst over eight runs Yes
Line within 2.5 s on x64, after the cold start, every run 2.27 s at worst in five runs; 4.32 s in embeddings run 1, 18 of 20 lines over No
Worst line With every line After the first 10 s
Mac, mic 5.77 s 1.17 s
Mac, call 5.11 s 1.25 s
x64, mic, five runs 1.85 s 1.80 s
x64, call, five runs 2.27 s 2.27 s
x64, embeddings run 1 4.32 s 4.32 s

Embeddings run 1 on x64 was normal for its first six lines, then every line from 17 s into the call was 3.77 to 4.32 s late. That is not a cold start. Until now the page left it out of the verdict without a reason, and there is no measured reason to call it unrepresentative, so it stands as a failed run. One more x64 series that records per-line decode time and per-process CPU would say what it was.

The 2.5 s reasoning is in the gate text. The Parakeet path decodes a line whole after its segment closes, 0.7 s after the speech ends (close in src/main/asr/live-worker.ts). At 0.5 for two channels, 0.25 for one, a 4 s utterance takes 1.0 s to decode and commits at 1.7 s at the earliest.

Follow-ups

Checked

  • tests/release-evidence.test.ts and tests/docs-ids.test.ts pass on the pinned Bun 1.4.2.
  • With the G4 row set back to Partial, release-evidence fails on Expected to not contain: ": G4 ". So the test's passed list follows the row.
  • Every relative link and anchor added here resolves.

…wait on a second-clock device or a 1.5 s x64 line

We release 1.0 with the guarantees we have measured. What is not
guaranteed is written down as a known limitation.

G4 is now measured against the host clock, with the system tap and a
separate mic stream, and the macOS floor stays at 14.4. Every clause has
a committed measurement through the signed app, so the row is Pass.
Drift between two independent device clocks is a known limitation.

G6 gives four x64 cores 2.5 s for the committed line, and times lines
after the first 10 s of a cold call. The Mac half passes. One x64 run
of six fell 4 s behind from 17 s into the call with no reason on
record, so the row stays Partial.
@coderabbitai

coderabbitai Bot commented Oct 10, 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 27 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: cd805644-7bff-4628-9509-2a25e1f77ea7

📥 Commits

Reviewing files that changed from the base of the PR and between 22ffe72 and ed99d95.


📒 Files selected for processing (11)
  • docs/CI-CD.md
  • docs/DESIGN.md
  • docs/ROADMAP.md
  • docs/TESTING.md
  • docs/TRAPS.md
  • docs/gates/M0-results.md
  • docs/troubleshooting.md
  • docs/ux/PRINCIPLES.md
  • scripts/gates/g4-macos14-vm.sh
  • tests/g4-macos14-vm.test.ts
  • 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 d406195 into main Oct 10, 2026
46 of 49 checks passed
@GeiserX
GeiserX deleted the docs/g4-g6-criteria branch October 10, 2026 09:13
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