Run all available tests and linters, check for anti-patterns, and generate a comprehensive code quality report
The English summary is being prepared. Showing the original description.
Check code for standardization, readability, maintenance complexity, and defensive coding practices
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
Analyze the apple-fm codebase for code hygiene issues. Generate a report on standardization, readability, maintenance complexity, and defensive coding.
Scope: src/, apple-fm-helper/main.swift, and (where relevant) tests/.
src/ is lowercase/camelCase matching the primary concept
(cliArgs.ts, protocol.ts, session.ts). Flag a name that matches neither..js; import type for type-only
imports (eslint enforces order — if lint passes, order is fine). The .js
check is your responsibility.--temp expects a number, got "abc"). Flag terse throw new Error('failed').src/protocol.ts,
apple-fm-helper/main.swift, tests/fixtures/stub-helper.js, and
docs/4-protocol.md must all agree. Flag any divergence.src/*.ts over ~200 LOC.apple-fm-helper/main.swift may touch FoundationModels;
only helper.ts spawns the process; pure logic stays in protocol.ts /
session.ts / cliArgs.ts. Flag any layer violation (e.g. session.ts
spawning directly instead of going through an injected GenerateFn).package.json dependencies stays empty. Flag additions.parseArgs rejects unknown commands/flags and bad
numbers; parseEvent throws on malformed lines; helper.ts bounds the
subprocess with a timeout and captures stderr. Verify these still hold.any / non-null: grep src/ for : any, as any, <any>, and !
non-null assertions (tests get a pass). House style is unknown + narrowing.error event (not a bare crash)
and exits nonzero; availability is checked before generation.For each finding: File (path + lines), Category (standardization | readability | maintenance | defensive), Severity (high | medium | low), Description, Suggestion.
End with a prioritized top-N (apple-fm is small — expect 0–5 in a healthy state).
Suggest Hot Sheet tickets (hs-task for cleanups, hs-bug for defects) for
non-trivial findings.
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Run all available tests and linters, check for anti-patterns, and generate a comprehensive code quality report
The English summary is being prepared. Showing the original description.
Check requirements docs against implementation and report discrepancies
The English summary is being prepared. Showing the original description.
Read the latest Glassbox code review and apply all feedback annotations
The English summary is being prepared. Showing the original description.
Read the Hot Sheet worklist and work through the current priority items
The English summary is being prepared. Showing the original description.
Run as a distributed worker — continuously claim, work, and release Up Next tickets
The English summary is being prepared. Showing the original description.
Create a new bug ticket in Hot Sheet
The English summary is being prepared. Showing the original description.