Skip to content

Add SystemPrompt (self-hosted AI governance gateway)#981

Open
Ejb503 wants to merge 1 commit into
IceWhaleTech:mainfrom
Ejb503:add-systemprompt
Open

Add SystemPrompt (self-hosted AI governance gateway)#981
Ejb503 wants to merge 1 commit into
IceWhaleTech:mainfrom
Ejb503:add-systemprompt

Conversation

@Ejb503

@Ejb503 Ejb503 commented Jul 16, 2026

Copy link
Copy Markdown

Type of change

New app: SystemPrompt under Apps/SystemPrompt/.

What is this app

SystemPrompt is a self-hosted governance gateway for AI providers (Claude, OpenAI, Gemini): policy checks, secret scanning, audit trails, rate limits, and MCP orchestration. The app bundles the gateway with a Postgres 18 database.

What changed

Adds Apps/SystemPrompt/ with:

  • docker-compose.yml with a top-level x-casaos block per the v2 protocol reference (id: io.systemprompt.gateway, main, index, port_map, icon, locale-keyed title/tagline/description/tips/release_notes, category: Developer, version, update_at, website/repo/support/docs)
  • icon.svg and screenshot-1.png app assets

How it was validated

  • docker compose config -q passes on the app compose file.
  • ./scripts/build_dist.sh completes without errors for this app: dist/index.json includes the app and dist/apps/io.systemprompt.gateway/ is generated with per-architecture compose files, meta.json, icon PNG fallback, and the optimized screenshot.
  • The exact compose stack was booted end to end against the pinned image with a real provider key: first-boot database migrations complete, the container healthcheck passes, /health and /v1/models return 200, and a restart on the persisted volumes recovers cleanly.

Notes for reviewers

  • At least one AI provider API key is required or the app will not start (documented in tips.before_install and in the env descriptions).
  • POSTGRES_PASSWORD must be set before first start; the bundled database is initialised with it.

Ejb503 added a commit to systempromptio/systemprompt-template that referenced this pull request Jul 16, 2026
Reverse-domain x-casaos.id, en_US locale keys, version/update_at/
release_notes/website/repo/support/docs fields; sync script now bumps
x-casaos.version alongside the image pin. Upstream draft PR:
IceWhaleTech/CasaOS-AppStore#981.
@sonarqubecloud

Copy link
Copy Markdown

@Ejb503
Ejb503 marked this pull request as ready for review July 16, 2026 14:06
@Ejb503

Ejb503 commented Jul 16, 2026

Copy link
Copy Markdown
Author

Hi team, thanks for maintaining the store! This is my first submission here, so I hope I've followed the v2 conventions correctly. I went through the protocol docs and ran ./scripts/build_dist.sh locally, but if anything is off or doesn't match how you like apps packaged, just let me know and I'll fix it up quickly.

Happy to answer any questions about the app itself too. Feel free to reach out any time, either here or via the issues on our repo.

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