Version 2.3.2 · free for 48 hours from the first installationDownload →
AISprintFlow

AI SprintFlow architecture and security overview#

AI SprintFlow turns tickets - Jira stories, Salesforce work items and cases, ServiceNow records, GitHub issues and more - into tested, independently reviewed draft pull requests, and can explain a ticket or a whole codebase with UML and architecture diagrams. This overview is for the architects and security teams who evaluate it: how it is built, where it runs, what data goes where, and the controls around it.

Five principles

  1. People merge. AI SprintFlow pushes only to its own branches and opens draft pull requests. No code path can merge, approve or mark a pull request ready - no code-host adapter has such a method, and a test enforces it.
  2. It runs in your environment - on a developer's Windows PC, or on your own servers. Your code and tickets stay there, except for what you send to the code host, the ticket system and the AI model you chose.
  3. You choose the AI model - Claude (Anthropic, Amazon Bedrock, Google Vertex AI), another cloud model, your company's model gateway, or a model on your own hardware with nothing leaving your network.
  4. Nothing is sent to us. No telemetry, no usage reporting, no license server: license keys are verified offline. It works on locked-down and air-gapped networks (with a local model).
  5. Every step is recorded - each run keeps its full event log, the AI's steps, tokens and cost, and the review verdict; the audit log records every sign-in, change and action.

1. System context#

AI SprintFlow system context
Connection Direction What travels
Ticket system both Reads tickets, comments and screenshots; writes comments, attachments (proof videos, analysis reports) and status changes - only on the tickets it works on.
Code host both Clones the repository; pushes its own branch; opens a draft pull request; reads review comments and CI results on its pull requests.
AI model outbound Only what a step needs - the ticket, the relevant code, build and test output - after personal data and secrets are replaced with placeholders.
Alerts outbound Short messages to the channels you configure (approvals, pull requests, failures, budgets).
AI SprintFlow vendor none Nothing.

2. How a ticket becomes a draft pull request#

Diagram
  • Every stage is saved when it completes: a run survives restarts and crashes and resumes where it stopped.
  • Only some stages call the AI model (understand, plan, implement, review, fix rounds, writing the browser test). Preparing, building, testing, recording and publishing are plain code and cost nothing.
  • Every step has time, cost and turn limits; every run, day and month has a budget.
  • Analysis runs take a shorter path - prepare, analyse, draw the diagrams, deliver - and change no code.

3. What goes to the AI model, and how it is protected#

Diagram
  • Data guard (on by default) replaces names, e-mail addresses, phone numbers, IDs, keys and tokens with stable placeholders before anything reaches the model, and puts the real values back in the code locally.
  • Credential files, private keys and production configuration are withheld from the model entirely.
  • Ticket text, comments and file contents are treated as data: instructions hidden in them are not followed.
  • The model never sees the tokens of your ticket system, code host or AI provider.
  • Data residency: choose the provider and region (for example Amazon Bedrock in your region), or a model on your own hardware (Ollama, LM Studio, vLLM) so nothing leaves your network.

4. Components#

Component Responsibility
Console The web UI and REST API: runs, sprint, dashboards, connections, settings, users, audit log, built-in documentation. Session cookies, CSRF protection, strict content-security policy.
Pipeline Runs the stages for one ticket: checkpoints, fix and review loops, budgets, resuming after a restart, self-healing.
AI agent A bounded, tool-using conversation with the model - read, search and edit files in the run's own copy of the repository - that must submit a structured, validated result.
Verify Detects the build and test commands of 30+ ecosystems (or reads them from your CI configuration); builds and tests; compares each test with the baseline; re-runs flaky tests.
Reviewer A separate AI conversation that never saw how the code was written, checks the change against every acceptance criterion and the team's rules.
Browser proof Starts the app, has the AI write a Playwright test, records a captioned video of each acceptance criterion.
Analysis Explains a ticket or a codebase: architecture, impact, approach, risks - with UML and architecture diagrams drawn and checked locally.
Integrations 15+ ticket systems, 6 code hosts, 14+ AI providers, Slack / Teams / e-mail alerts.
Memory Per-repository lessons from earlier runs and human reviews, so later runs are faster and cheaper.
Supervisor A watchdog: resumes interrupted runs, reminds about waiting approvals, checks dependencies and disk.
Storage Files on one machine, or PostgreSQL and S3-compatible storage for a scaled-out server.

5. Where it runs#

Diagram
  • Desktop: the Windows app. Everything - settings, encrypted secrets, runs, reports and videos - is in the user's local data folder.
  • Single server: Docker Compose or Kubernetes, one console process, state on a persistent volume. No database.
  • Scale-out: stateless consoles and workers; PostgreSQL holds run state, events, the job queue and console data; S3-compatible storage holds artifacts. Consoles elect a leader so background work runs exactly once; workers claim jobs safely and a dead worker's job is retried.

6. Security controls#

Layer Control
Output Draft pull requests only - people merge. Risk rules (paths or code owners) require a person's approval before the pull request opens. Optional checkpoints after the acceptance criteria, after the plan and before the pull request.
Model input Data guard on by default; credential and production files withheld; prompt-injection hardening; you choose the provider and region.
Execution Each run works in its own copy of the repository. The AI cannot change the team's rules or protected paths. Its shell commands are guarded (git read-only, nothing outside the repository, no remote shells). Optional container isolation (Docker or Podman, recommended on servers): build and test run as non-root in a throwaway container with no network, CPU and memory limits.
Access Roles: viewer, operator, manager, admin. Single sign-on with OpenID Connect (Microsoft Entra ID, Okta, Google, Keycloak), roles from groups.
Secrets Encrypted at rest (Fernet: AES-128-CBC with HMAC-SHA256). On a server the master key comes from your secrets manager (AWS Secrets Manager, Azure Key Vault, HashiCorp Vault). Shown only as their last four characters; never returned by the API, written to logs or sent to the model.
Inbound Webhooks authenticated (HMAC or tokens); strict content-security policy, CSRF protection, secure cookies.
Accountability Audit log of every sign-in, change and action; a full event log per run.
Cost Limits per step and per run; daily and monthly budgets with early warnings; one switch pauses all automation.

Least-privilege accounts for every connection - a Jira bot account with browse, comment, attach and transition permissions only; fine-grained code-host tokens without administration rights; a Salesforce integration user with a dedicated permission set; an AI key with a spend limit. The Security guide lists each grant.

7. Data, storage and retention#

Data Where it lives
Settings, users, encrypted secrets Desktop: the local data folder. Server: the persistent volume or PostgreSQL.
Run records (state, events, report, patch) Desktop: the local data folder. Server: PostgreSQL and S3-compatible storage.
Proof videos, screenshots, analysis reports Alongside the run, and attached to the ticket.
Repository copies A private workspace per run, on the machine that runs it.
Memory (lessons per repository) Alongside the run records.

Back it up like any application data, or with sprintflow backup create / verify / restore.

8. Reliability and operations#

  • Resumable runs: every completed stage is saved; a restart continues where it stopped.
  • Self-healing: network and API outages are retried and runs resumed automatically; flaky tests are re-run; a base branch that moves during a run is rebased and re-verified.
  • Supervisor: watches runs, waiting approvals, dependencies and disk, and alerts when a person is needed.
  • Monitoring: Prometheus metrics, JSON logs and OpenTelemetry traces (each stage and each model call, with tokens and cost) for Grafana, Datadog, Jaeger and similar tools.
  • Health page: readiness, toolchain, budgets, alerts and supervisor status in the console.
Document For
Code analysis, AI engine and MCP How code is analysed, the AI SDKs and their versions, MCP 2026-07-28
Security guide Least-privilege grants per integration, threat model, penetration-test checklist
Deployment Docker Compose, Kubernetes, scale-out, organisation-wide rollout, go-live checklist
Connecting Salesforce The integration user, External Client App and sign-in options
User guide Using AI SprintFlow day to day
Licensing Seats, trial, renewal, offline license keys
In the app: Administer → Documentation Every connection, setting and feature, with search
AI SprintFlow 2.3.2 · Questions? Contact us