Skip to content

Build the local-first SparkOllama foundation - #1

Merged
Nitin-Sagar-B merged 4 commits into
mainfrom
codex/wave2-local-foundation
Nov 3, 2026
Merged

Nitin-Sagar-B merged 4 commits into
mainfrom
codex/wave2-local-foundation

Conversation

@Nitin-Sagar-B

Copy link
Copy Markdown
Collaborator

Summary

Modernizes SparkOllama as a bounded, local-only Ollama client.

  • separates Streamlit UI, application service, and provider boundaries
  • enforces loopback-only Ollama endpoints and loopback-only Streamlit serving
  • disables Streamlit usage reporting
  • bounds prompts, complete conversation turns, session state, and responses
  • adds safe rendering, typed error translation, partial-stream recovery, locked packaging, and a runnable launcher
  • adds accurate privacy, architecture, limitations, troubleshooting, and llms.txt documentation

Validation

  • 28 deterministic tests
  • Ruff formatting and linting
  • strict mypy
  • wheel and source distribution builds
  • CI package smoke-test matrix for Python 3.11–3.13
  • independent review completed; LAN exposure, telemetry, history, packaging, endpoint, and context-boundary findings were remediated

Known limitation

The current Streamlit interface cannot interrupt a blocked in-flight Ollama request. The application relies on the configured client timeout and documents this explicitly rather than claiming full cancellation.

Part of Wave 2 in the Sparkience modernization plan.

@Nitin-Sagar-B
Nitin-Sagar-B marked this pull request as ready for review November 3, 2026 01:54
@Nitin-Sagar-B
Nitin-Sagar-B merged commit 3538eb9 into main Nov 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant