v1.3.0 release: graceful-release fix, quickstart template + demo, documentation accuracy pass
- Fixed: SynthesizerBase subclasses' release/free now dispatch correctly (gated synths were hard-freed instead of released). - New: quickstart project template + LyrebirdQuickstartDemo. - Docs: every example typechecked or provably illustrative (426->542); ~20 wrong-API examples fixed; root docs brought under the compile guard. - Fixed: NRT/Score demo Package.swift build from terminal again. See RELEASES.md for details.
This commit is contained in:
@@ -69,6 +69,25 @@ swift test --no-parallel 2>&1
|
||||
|
||||
If tests fail, report the failures immediately and stop — do not proceed to review.
|
||||
|
||||
## Step 2b: Report doc impact
|
||||
|
||||
Doc rot is overwhelmingly *caused* by a public-API change, and a review that reads only the
|
||||
diff structurally cannot find it — the stale references live in files the diff never touches.
|
||||
That is exactly how `engine.add` gained `throws` while 11 examples kept calling it without
|
||||
`try`, and how `LyrebirdFloat` was deleted with 75 references outliving it.
|
||||
|
||||
```bash
|
||||
bash scripts/check-doc-impact.sh main...HEAD
|
||||
```
|
||||
|
||||
This **never fails** — it reports candidates it cannot adjudicate. Capture its output and
|
||||
paste it into Agent A's prompt below, under a heading `## Doc impact (from
|
||||
check-doc-impact.sh)`. If it prints `OK: the diff changes no public declarations`, say so in
|
||||
the prompt instead and move on.
|
||||
|
||||
References inside fences that `check-doc-snippets.sh` already typechecks are suppressed by
|
||||
design, so everything it lists is something no automation is checking.
|
||||
|
||||
## Step 3: Run reviews in parallel
|
||||
|
||||
Launch **both agents in a single message** (two Agent tool calls):
|
||||
@@ -84,6 +103,16 @@ You are a strict senior audio systems engineer reviewing a Swift audio synthesis
|
||||
|
||||
Apply the Lyrebird-specific review rules defined in your agent instructions.
|
||||
|
||||
## Doc impact (from check-doc-impact.sh)
|
||||
|
||||
<paste the Step 2b output here>
|
||||
|
||||
For every entry above, verify the doc was updated or is genuinely unaffected, and report the
|
||||
ones that were not. The tool cannot make that judgement — that is why it is your job. Note
|
||||
that it matches a member name across types, so qualify by the owning type it shows. Anything
|
||||
listed under "Changed public API with NO doc reference anywhere" is a finding unless the API
|
||||
is genuinely internal-facing.
|
||||
|
||||
Generate a summary titled "Lyrebird Review Results for branch '<name>'" where <name> is the current git branch name.
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user