Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.11 KB

File metadata and controls

27 lines (21 loc) · 1.11 KB

MikuCode Engineering Rules

Required checks before every push

Run the CI-equivalent commands and do not push a failing result. First ensure the active developer directory is a full Xcode installation; this workstation's default Command Line Tools directory cannot compile XCTest targets:

export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
swift build -Xswiftc -warnings-as-errors
swift test -Xswiftc -warnings-as-errors

The GitHub workflow currently selects Xcode 16.4. Treat Swift concurrency diagnostics from that toolchain as release-blocking: shared AppKit objects must be isolated to @MainActor or created on demand, never stored in unisolated static mutable state.

For changes to the companion or terminal presentation, also launch swift run MikuCodeApp and manually verify idle movement, hover focus, open, terminal input, and close-to-idle. After a push, inspect the matching GitHub Actions run before reporting CI as healthy.

Keep the app as one panel with one local PTY per workspace leaf. Do not add a preview desktop window, external-terminal launch path, or permanent demo controls.