Files
ai_studio/Docs/PHASES.md
T

74 lines
4.6 KiB
Markdown

# AI Studio phase progress
| Phase | Status | Scope |
| --- | --- | --- |
| 1. Native foundation | Complete | SwiftUI chat, Ollama-first inference, MLX fallback, SQLite persistence, scripts |
| 2. Studio features | Complete | App icon and startup screen, MLX catalog, Qwen thinking, document retrieval, MCP Streamable HTTP tools |
| 3. Release readiness | Awaiting external checks | Authenticated gateway tests, archive verification, live remote interoperability and distribution signing |
| 4. Chat workspace | Complete | Chat search and rename, formatted answers, global prompt modes, prompt builder, performance dashboard |
| 5. Generation and local tools | Awaiting Docker daemon check | Silent system instructions, runtime parameter overrides, confirmed Docker commands, Finder file actions |
| 6. Compatibility extensions | Awaiting live LM Studio check | OpenAI-compatible endpoint and MCP stdio |
| 7. Desktop and runtime controls | Planned | Extend user-initiated desktop actions and local runtime controls |
| Final external verification | Awaiting services and credentials | Live LM Studio, Docker, remote Ollama and MCP, Developer ID signing and notarization |
## Phase 6 checklist
- [x] Verify OpenAI-compatible model discovery and streamed chat.
- [ ] Verify with a running LM Studio server.
- [x] Verify MCP stdio discovery, confirmed invocation support, cancellation, and disconnect against a local fixture.
## Phase 3 checklist
- [x] Keep build, test and release entry points together in `Scripts/` and resolve the project root from their location.
- [x] Verify that the build command opens the app.
- [x] Verify authenticated Ollama streaming, invalid credentials and redirect handling with the loopback gateway.
- [x] Verify the ZIP checksum, then extract it and verify the app signature and arm64-only executable.
- [ ] Run a smoke test against a real remote Ollama endpoint with a preinstalled model.
- [ ] Run a smoke test against a real remote MCP endpoint.
- [ ] Sign and notarize with a Developer ID Application identity and notary profile.
## Phase 4 checklist
- [x] Search chat titles and body text, rename conversations, and copy replies or fenced code blocks.
- [x] Add global prompt presets and editable custom instructions stored in app preferences.
- [x] Build prompts from role, task, context, audience, constraints, format, examples, and success criteria.
- [x] Display generation histories, time to first output, wall-clock time, and provider-reported throughput.
- [x] Verify the workspace changes with XCTest, rebuild the app, and confirm the build launches.
## Verification log
**16 November 2026.** The release-readiness test run passed 17 checks and skipped
the opt-in catalog download. The run covered live local Ollama, native MLX
fallback, and an authenticated loopback gateway. Remote verification requires
the intended Ollama and MCP endpoints. Developer ID signing requires an
installed Developer ID Application identity and a configured notary profile.
**16 November 2026.** The workspace test run passed 21 of 22 checks with the
opt-in catalog download skipped. It exercised live local Ollama and MLX,
prompt assembly, throughput calculations, Markdown code blocks, and chat
search and rename. The Debug build launched from `Scripts/build.sh`.
**16 November 2026.** The release archive matched its SHA-256 checksum. The
extracted app passed strict signature verification and contained only the
arm64 executable slice. The package used ad-hoc signing for local testing.
**16 November 2026.** Generation settings and Local Tools built successfully.
24 tests passed and the opt-in catalog download was skipped. The live Ollama
and MLX checks used temperature and token-cap overrides. The new tests cover
the system-role request, option encoding, cross-chunk stop matching, and Docker
argument handling. Docker CLI discovery succeeded; the local daemon socket
was missing during the read-only test. Finder actions were compiled.
**16 November 2026.** The compatible endpoint passed authenticated model
listing and SSE streaming tests against a local fixture. The running Ollama
server also completed a direct smoke check of the compatible wire format.
The Debug build succeeded. 26 tests passed and the opt-in catalog download
was skipped. A live LM Studio check remains pending because its local server
was unavailable.
**16 November 2026.** Local MCP stdio passed process startup, version
negotiation, paginated discovery, invocation, cancellation and reconnect
tests. The Debug build passed. 28 tests passed and the opt-in catalog
download was skipped. One implementation phase remains, followed by
external verification.