Add grounded Sam learning assistant - #214
Open
davidortinau wants to merge 9 commits into
Open
Conversation
Build Sam as a persistent language-learning assistant with guarded app operations, durable encrypted conversations, learner-controlled memory, evidence-backed responses, repair disclosures, and opportunity telemetry.\n\nAdd the shared web and macOS surfaces, provider-specific migrations, recovery tooling, runbooks, and comprehensive API, UI, PostgreSQL, JavaScript, and native migration coverage. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>\nCopilot-Session: 163ed41e-3832-4c08-a70e-97e5ce42b13f
The SentenceStudio.Application namespace shadows the MAUI Application type in native heads. Fully qualify the base type so iOS and the other native projects compile consistently. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 163ed41e-3832-4c08-a70e-97e5ce42b13f
Make Sam modal on mobile with a scrim, safe full-screen controls, isolated message scrolling, and exact scroll restoration. Add a tenant-scoped deterministic latest-study read with grounded evidence, durable history, neutral non-plan refusals, and display-language copy. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 163ed41e-3832-4c08-a70e-97e5ce42b13f
Make GPT-5.6 Sol the explicit fail-closed default, keep all task-aware and fallback selections within the OpenAI catalog, validate VS Code sessions, migrate stale Ralph state, and require explicit GPT models in issue assignment workflows. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 163ed41e-3832-4c08-a70e-97e5ce42b13f
Register voice discovery only when ElevenLabs is configured, return service unavailable from the authenticated endpoint otherwise, and cover both configured and unconfigured host startup. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 163ed41e-3832-4c08-a70e-97e5ce42b13f
Keep authoritative migration and schema failures fatal while excluding unrelated SQLite errors emitted after the schema sanity signal. Add log-only regression coverage for production failure messages and post-startup CoreSync noise. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 163ed41e-3832-4c08-a70e-97e5ce42b13f
Build publish manifests from explicit environment values only so Development Sam defaults cannot leak into production. Preserve local configuration behavior and cover fail-closed and explicit production manifests. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 163ed41e-3832-4c08-a70e-97e5ce42b13f
Declare a dedicated secret AppHost parameter, forward it only to the API, and cover the generated manifest so production remains fail-closed without exposing or reusing key material. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 163ed41e-3832-4c08-a70e-97e5ce42b13f
Give the production shell and every viewport-bound interactive surface explicit CSS safe-area ownership while keeping backdrops edge-to-edge. Cover portrait, landscape, asymmetric insets, modal, offcanvas, Coach, Sam, Scene, quiz, toast, and Resources geometry. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 163ed41e-3832-4c08-a70e-97e5ce42b13f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sam needs to be a durable language-learning partner without inventing learner state or bypassing SentenceStudio's application boundaries. This change replaces the earlier narrow conversation agent with a grounded, tenant-scoped assistant that can teach, retain protected history, explain its evidence, and propose guarded app operations.
What changed
Review notes
--isolatedfrom the same AppHost path can take ownership of the live stack, so recovery now verifies API health and the mounted database volume instead of trusting a WebApp redirect alone.Validation
net11.0-macosmigration and schema sanity gate passed through DevFlow