Implementation roadmap: SPB Git for iOS 1.0.0
Phases follow the project mandate. Each phase ends with a build that compiles, tests that pass, commits pushed to SPB Git, and a short entry in the progress log at the end of this file. A phase is not closed by intent: the log states what was verified and what was not.
Fixed decisions
| Subject | Decision | Reason |
|---|---|---|
| Minimum system | iOS and iPadOS 26.0 | Liquid Glass is used through the system APIs; no imitation layer for older systems, so no compatibility strategy is needed |
| Language and UI | Swift 6 (strict concurrency), SwiftUI, Observation; UIKit only where SwiftUI has no equivalent | mandate |
| Dependencies | none | the forge API covers every need; a local Git engine is not in 1.0 (see below) |
| Project | xcodegen (project.yml), sources by folder |
several engineers add files without touching the project file |
| Data | server as source of truth; disk cache of API payloads with their age; SwiftData for favourites, history, downloads | offline reading without duplicating the forge |
| Server | additive /api/v1 routes in spbgit 3.3.0 |
the audit showed which reads and writes were missing |
| Shield | native proof-of-work visitor pass | see PLATFORM_AUDIT.md section 3 |
| Local Git engine (clone, fetch, push on device) | not in 1.0 | Swift has no Git engine; libgit2 (GPLv2 with linking exception, C, about 1.5 MB, own TLS and SSH configuration to maintain) would be the only serious candidate. All 1.0 use cases are served by the API with real commits made on the server. Evaluation recorded in IOS_ARCHITECTURE.md |
| Passkeys | not in 1.0 | the server has tokens, no accounts and no WebAuthn endpoint |
Phases
| Phase | Content | Exit criteria |
|---|---|---|
| 0 Audit | server code and production read; PLATFORM_AUDIT.md, API_INVENTORY.md, API_CONTRACT.md, SECURITY_MODEL.md, this roadmap; repository created |
documents pushed |
| 1 Foundations | Xcode project, modules, networking (ETag, coalescing, shield pass, typed errors), models, design system, navigation shell, first dashboard and repository list; server 3.3.0 developed in parallel | unit tests pass; app runs in the simulator against production |
| 2 Public browsing | dashboard complete, repository explorer (list, grid, filters, sorts, collections, favourites, history), repository overview with README, file explorer, code viewer with highlighting, file viewers (Markdown, PDF, image, JSON, CSV, HTML source, audio, video, Quick Look) | each screen verified in the simulator with production data |
| 3 Git in depth | commit list with filters, commit detail, unified and side-by-side diff, commit graph, branches, tags, releases, compare | diff engine unit-tested on real commits |
| 4 Analytics and search | insights (global and per repository, comparison), heatmap, charts, activity centre, global search with code search and suggestions | figures match the server metrics endpoint |
| 5 Owner mode | token sign-in, Keychain and Face ID, scopes, metadata editing, branch and tag management, editor with real commits and conflict handling, tokens, audit log, admin overview | every write tested against a development server, refusals included |
| 6 Apple platform | widgets, App Intents and Shortcuts, Spotlight, Universal Links, Handoff, share sheet, background refresh, notifications, iPad multi-column layout, keyboard shortcuts | each integration exercised in the simulator; device-only parts listed as such |
| 7 Security and performance | security review against SECURITY_MODEL.md, accessibility pass (Dynamic Type, VoiceOver labels, contrast, Reduce Motion and Transparency), measurements (launch, scrolling, memory, large files), fixes |
SECURITY_REPORT.md, PERFORMANCE_REPORT.md with measured values and their conditions |
| 8 Distribution | icon, screenshots, App Store texts (French and English), privacy policy and support pages on the forge, signing, archive, TestFlight upload | build visible and valid in App Store Connect |
| 9 Release | tag v1.0.0, user guide, final documentation, release notes |
tag pushed and verified |
Server work (repository spbgit)
Developed and tested in a separate clone, pushed in atomic commits, then deployed on the forge host by fast
forward, npm ci --omit=dev and a process restart, with the health check and a comparison of the existing
routes before and after. Rollback is a checkout of the previous commit and a restart; the new data files
(audit.jsonl, devices.json) are ignored by the previous version.
Known limits accepted for 1.0
- Measurements on a physical device (launch time, 120 Hz, energy) depend on a device being connected; simulator figures are reported as simulator figures.
- Remote notifications need an APNs key configured on the server; without it the application uses background refresh and local notifications, whose timing iOS decides.
- Universal Links need the association file to be live on the forge and a build signed with the Associated Domains entitlement; they cannot be verified end to end in a simulator build without it.
Progress log
| Date | Phase | Result |
|---|---|---|
| 2026-12-02 | 0 | Audit documents written; repository spbgit-ios created (public); App ID ai.spboucher.git (5C8N9N4898) and App Store Connect record "SPB Git" (6842226503) created |