Commit Graph

9 Commits

Author SHA1 Message Date
Grant Gilliam d770e52d8f Refresh Current state: backend connected end-to-end; Settings save confirmed 2026-06-15 20:45:20 -05:00
Grant Gilliam fc80f6707a Hand off: stage next work, move eval debt to ROADMAP, trim Current state 2026-06-13 18:16:04 -05:00
Grant Gilliam 0af86411c2 Document the backend-IP history scrub in AGENTS.md 2026-06-13 16:08:46 -05:00
Grant Gilliam 5bed24a454 Replace real backend IPs with placeholders in docs and tests
The backend host and LAN IPs are kept out of source by convention; the prior
commit committed the real primary/fallback IPs into AGENTS.md and the new test.
Swap them for neutral wording and the RFC 5737 documentation IP (192.0.2.1).

These IPs remain in commit 3629dbd (already pushed); purging them from history
is a separate filter-repo + force-push decision.
2026-06-13 16:04:44 -05:00
Grant Gilliam 3629dbdaaa Default TLS validation on; scope skip-TLS bypass to the configured host
The app shipped with certificate validation bypassed globally and on by
default — InsecureTrustDelegate trusted any cert from any host. That was
the evaluation's P1: anyone on the LAN could MITM call audio, transcripts,
and voiceprints.

The backend's Start9 cert already validates under normal system trust when
the StartOS Root CA is installed in the keychain (confirmed: URLSession
default validation returns 200 against the backend and its fallback), so the
bypass is unnecessary:
- skip-TLS now defaults to off
- when explicitly enabled, the bypass is scoped to the configured host via
  InsecureTrustDelegate.allowsTrustOverride, never "trust any server"
- the host gate is pure and unit-tested (InsecureTrustDelegateTests)

Docs reconciled: AGENTS.md backend/TLS line and Current state.
2026-06-13 16:02:57 -05:00
Grant Gilliam 13a8972abb Triage evaluation findings into AGENTS.md Current state 2026-06-13 14:39:41 -05:00
Grant Gilliam 4df3835f2e Document history scrub and pushed state in AGENTS.md 2026-06-13 12:54:35 -05:00
Grant Gilliam 9791ca45d7 Record configured Gitea remote; drop done backlog items
The remote is now set (origin → self-hosted Gitea over SSH), so update
the commit convention, clear the "decide a git remote" Next/ROADMAP
items, and keep the remote URL out of source (it lives in .git/config).
2026-06-13 12:40:32 -05:00
Grant Gilliam 11eb82178f Add agent instructions; extract signing/backend secrets from source
- Add AGENTS.md (canonical) + CLAUDE.md symlink + ROADMAP.md
- Move Apple Team ID from project.yml into a gitignored
  Config/Signing.xcconfig via configFiles; commit the .example template
- Replace hardcoded backend host in AppSettings with a neutral
  placeholder + SPARK_BACKEND_URL env-var fallback
- Scrub the Team ID, .local host, and raw LAN IP from README/docs
- Ignore Config/Signing.xcconfig and .env
2026-06-13 12:23:54 -05:00