Skip to content

gitrey/scion-appteam

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

56 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– Scion AppTeam

An Autonomous, Multi-Agent Software Development Team Orchestrated by Scion

Scion Compatible Orchestration License

scion-appteam is an advanced, fully containerized multi-agent simulation environment designed for autonomous software engineering. Rather than relying on a single monolithic LLM context, it models a professional, role-based agile software development team using specialized agents working in concert.


🎯 Project Goal

The primary goal is autonomous end-to-end feature delivery, code quality assurance, and project tracking. By dividing complex engineering operations into isolated roles (Product Management, Architecture, Engineering, Testing, and Review), scion-appteam:

  • Eliminates context bloating by keeping each agent focused strictly on their domain.
  • Enforces professional workflows (specs are approved before coding begins, code is tested before review).
  • Enables parallel implementation using isolated Git worktrees and containerized environments.

πŸ—οΈ Team Architecture & Workflow

The project demonstrates a complete agile software development lifecycle through specialized agent personas interacting via defined messaging interfaces:

Phase 1: Planning & Backlog Creation

graph TD
    User["πŸ‘€ User"] -->|1. Triggers Pipeline with Feature Prompt| PM["πŸ“‹ Product Manager (PM)"]
    
    subgraph "Planning & Backlog Phase"
        PM -->|2. Requests JIRA Stories| PO["βš™οΈ PO Agent (Atlassian MCP)"]
        PO -->|3. Creates & Grooms Issues| JIRA[("JIRA Board")]
        PM -->|4. Creates Product Spec| Spec[("docs/specs/")]
        PM -->|5. Requests Schema & Seed Design| DB["πŸ“Š db-agent (Schema & Seed)"]
        DB -->|6. Designs DDL/DML & Migrations| DBScripts[("db/schema.sql & db/data.sql")]
        PM -->|7. Hands off Spec, JIRA IDs & Schemas| TPM["βš™οΈ Technical Product Manager (TPM)"]
        TPM -->|8. Populates Backlog| Backlog[("docs/BACKLOG.md")]
    end
Loading

Phase 2: Implementation & Quality Assurance (QA)

graph TD
    TPM["βš™οΈ Technical Product Manager (TPM)"] -->|1. Assigns Tasks| SWE1["πŸ’» SWE-1"]
    TPM -->|1. Assigns Tasks| SWE2["πŸ’» SWE-2"]
    
    subgraph "Implementation & QA Triad Phase"
        SWE1 -->|2. Transitions JIRA & Writes Code| Codebase["πŸ› οΈ Workspace Code"]
        SWE2 -->|2. Transitions JIRA & Writes Code| Codebase
        Codebase -->|3. Verifies Code Quality| Test["πŸ§ͺ SWE-Test"]
        Codebase -->|3. Verifies Visual Layout| UITest["🎨 ui-test (Chrome DevTools)"]
        Codebase -->|3. Verifies Performance| Perf["⚑ perf-test (Locust)"]
        Codebase -->|3. Audits Security & Vulns| Sec["πŸ›‘οΈ secops-agent (semgrep)"]
        UITest -->|4. Captures Screenshots| Screenshots[("docs/screenshots/")]
        Perf -->|4. Generates Load Reports| PerfReports[("docs/perf-reports/")]
        Sec -->|4. Generates Vuln Reports| SecReports[("docs/security-reports/")]
        Test -->|5. Opens PR referencing JIRA ID| PR["GitHub Pull Request"]
        UITest -->|5. Links Screenshots in PR| PR
        Perf -->|5. Links Performance in PR| PR
        Sec -->|5. Links Security in PR| PR
    end
Loading

Phase 3: Review, Deployment & Observability

graph TD
    PR["GitHub Pull Request"] -->|1. Reviews PR & Comments| Reviewer["πŸ” Reviewer"]
    
    subgraph "Review, Deploy & Observability Phase"
        Reviewer -->|2. Syncs API Specs & Wiki| Doc["πŸ“ˆ doc-agent (OpenAPI)"]
        Doc -->|3. Updates API Specs| OpenAPI[("docs/api/openapi.yaml")]
        Reviewer -->|4. Triggers Deployment| DevOps["πŸ› οΈ DevOps Agent"]
        DevOps -->|5. Provisions & Deploys| GCP[("Google Cloud")]
        DevOps -->|6. Triggers Health Probes| SRE["πŸ“Š sre-agent (Observability)"]
        SRE -->|7. Configures Alerts & Probes| Monitoring[("GCP Cloud Monitoring")]
        SRE -->|8. Releases Milestone| Release["πŸ“„ docs/RELEASENOTES.md"]
        Release -->|9. Reports Completion| PM["πŸ“‹ Product Manager (PM)"]
        PM -->|10. Delivers Summary| User["πŸ‘€ User (Product Owner / CEO)"]
    end
Loading

πŸ‘₯ The Personas

πŸ“‹ Planning & Backlog Team

  • πŸ“‹ Product Manager (PM): The primary entry point for users; drafts product specs and orchestrates the high-level pipeline.
  • πŸ‘€ Product Owner (PO): Manages the JIRA backlog, translating specs from the PM into JIRA stories using native Atlassian MCP tools.
  • πŸ“Š Database & Data Specialist Agent (db): Designs logical DDL schemas and generates test seed data (DML) once specs are approved and before tasks are assigned.
  • βš™οΈ Technical Product Manager (TPM): Breaks down specs, database schemas, and JIRA IDs into granular tasks in docs/BACKLOG.md and coordinates assignments.

πŸ’» Engineering & Implementation Team

  • πŸ’» Software Engineer 1 (swe-1): Specializes in CLI, Wizard, interactive prompts, and input validation on feature branches.
  • πŸ’» Software Engineer 2 (swe-2): Specializes in text/template rendering, file generation, and data structures on feature branches.

πŸ§ͺ Quality Assurance (QA) & Security Team

  • πŸ§ͺ Software Engineer Test (SWE-Test): Responsible for generating unit, integration, and end-to-end tests to verify acceptance criteria.
  • 🎨 UI Test Automation Agent (ui-test): Specializes in automated browser testing, DOM/CSS inspection, visual verification, and screenshot audits using the Chrome DevTools MCP.
  • ⚑ Performance Testing Engineer Agent (perf-test): Specializes in concurrent traffic simulation (Locust), scalability audits, response time/latency profiling (p50, p95, p99), and performance metrics reporting.
  • πŸ›‘οΈ AppSec & SecOps Agent (secops): Specializes in Static Application Security Testing (SAST via gosec/semgrep), dependency vulnerability audits (SCA via govulncheck), and secret scanning.

πŸš€ Review, Release & Operations Team

  • πŸ” Reviewer: Performs comprehensive code reviews, grants approvals, and reviews Pull Requests via gh CLI, leaving final merges for human engineers.
  • πŸ“ˆ Technical Writer Agent (doc): Specializes in generating and maintaining OpenAPI/Swagger schemas (openapi.yaml), interactive component diagrams (Mermaid), and architectural wikis upon PR review.
  • πŸ› οΈ DevOps Engineer Agent (devops): Specializes in declarative infrastructure provisioning (Terraform), container orchestration (Kubernetes YAML), and secure automated cloud deployments (using gcloud to Cloud Run).
  • 🩺 Site Reliability Engineer Agent (sre): Specializes in post-deployment liveness/readiness HTTP audits (/healthz, /readyz), provisioning GCP alerting policies via Terraform, and documenting SLOs/SLIs.
  • 🀝 Human Resources Agent (hr): Specializes in team health, onboarding, enforcing protocols, and coordinating team feedback loops.

πŸ“‚ Project Structure

scion-appteam/
β”œβ”€β”€ .scion/                  // Scion orchestration settings
β”‚   └── templates/           // Agent templates & custom prompts
β”‚       β”œβ”€β”€ po/              // Product Owner configuration, system prompt & JIRA skills
β”‚       β”‚   └── skills/      // PO JIRA skills (/story, /groom)
β”‚       β”œβ”€β”€ pm/              // Product Manager configurations & skills
β”‚       β”œβ”€β”€ hr/              // HR Agent configuration, prompt & skills
β”‚       β”œβ”€β”€ reviewer/        // Reviewer configurations & skills
β”‚       β”œβ”€β”€ swe-1/           // Software Engineer 1 configurations & skills
β”‚       β”œβ”€β”€ swe-2/           // Software Engineer 2 configurations & skills
β”‚       β”œβ”€β”€ swe-test/        // QA/Testing configurations & skills
β”‚       β”œβ”€β”€ ui-test/         // UI Test Automation Agent configuration, prompt & skills
β”‚       β”‚   └── skills/      // UI Test skills (/visual-verify)
β”‚       β”œβ”€β”€ devops/          // DevOps Engineer Agent configuration, prompt & skills
β”‚       β”‚   └── skills/      // DevOps skills (/deploy, /logs, /cloud-run-basics & references/)
β”‚       β”œβ”€β”€ perf-test/       // Performance Testing Agent configuration, prompt & skills
β”‚       β”‚   └── skills/      // Performance skills (/locust)
β”‚       β”œβ”€β”€ secops/          // AppSec/Security Agent configuration, prompt & skills
β”‚       β”‚   └── skills/      // Security skills (/audit, /google-cloud-waf-security)
β”‚       β”œβ”€β”€ doc/             // Tech Writer Agent configuration, prompt & skills
β”‚       β”‚   └── skills/      // Documentation skills (/openapi)
β”‚       β”œβ”€β”€ sre/             // SRE Agent configuration, prompt & skills
β”‚       β”‚   └── skills/      // Reliability skills (/health, /google-cloud-networking-observability & references/)
β”‚       β”œβ”€β”€ db/              // Database & Data Agent configuration, prompt & skills
β”‚       β”‚   └── skills/      // Database skills (/seed, /cloud-sql-basics & references/)
β”‚       └── tpm/             // Technical Product Manager configurations & skills
β”œβ”€β”€ db/                      // Database schemas & test data migrations
β”‚   β”œβ”€β”€ schema.sql           // Logical DDL relational schema
β”‚   β”œβ”€β”€ data.sql             // Relational DML test seed dataset
β”‚   └── migrations/          // Sequential SQL migrations
β”œβ”€β”€ docs/                    // Shared documentation & agile tracking
β”‚   β”œβ”€β”€ specs/               // Feature specifications & requirements
β”‚   β”œβ”€β”€ adr/                 // Architecture Decision Records
β”‚   β”œβ”€β”€ protocols.md         // Team protocols (Git, Hub, Sync)
β”‚   β”œβ”€β”€ BACKLOG.md           // Global product backlog
β”‚   β”œβ”€β”€ PROGRESS.md          // Active work item status
β”‚   β”œβ”€β”€ RELEASENOTES.md      // Completed milestones & version history
β”‚   β”œβ”€β”€ perf-reports/        // Headless Locust performance HTML reports
β”‚   β”œβ”€β”€ security-reports/    // Gosec and dependency vulnerability JSON logs
β”‚   β”œβ”€β”€ reliability/         // Availability, SLO/SLI documentation wikis
β”‚   └── api/                 // OpenAPI/Swagger specifications (openapi.yaml)
└── README.md                // Project overview (this file)

πŸ› οΈ Key Agent Skills

Each agent template is equipped with specialized / skills designed to automate common software processes:

πŸ“‹ Planning & Backlog Skills

  • /story (PO): Automates creation of highly-structured JIRA stories and bugs with testable acceptance criteria via the Atlassian MCP server.
  • /groom (PO): Performs comprehensive JIRA backlog grooming, auditing ticket descriptions, and refining priorities dynamically.
  • /pipeline (PM/TPM/SWE): Spins up the full agent team, creates tasks, and initiates the structured workflow in dedicated execution panes.
  • /regenerate (PM): Reads project configurations from .appteam/settings.json and automatically regenerates template structures while preserving core tracking files.

πŸ§ͺ Quality Assurance (QA) & Security Skills

  • /visual-verify (ui-test): Automates end-to-end visual QA and browser interactions, capturing state screenshots via Chrome DevTools MCP.
  • /locust (perf-test): Executes headless Locust load tests simulating high concurrent user traffic, profiling response time latencies (p50, p95, p99) non-interactively.
  • /audit (secops): Automates static code security scans (gosec/semgrep) and dependency vulnerability analysis (govulncheck) non-interactively.
  • /google-cloud-waf-security (secops): Audits GCP environments for secure Least-Privilege IAM, KMS encryption-at-rest, and Cloud Run ingress/egress network rules.

πŸ“Š Database & Documentation Skills

  • /seed (db): Automates relational database schema design (DDL) and generates rich, interconnected test seed data datasets (DML) non-interactively.
  • /cloud-sql-basics (db): Provisions Cloud SQL instances, configures HA replicas, maps physical resources to application logical schemas, and manages SQL backups.
  • /openapi (doc): Scans implemented paths and models to generate and synchronize OpenAPI schemas (openapi.yaml) and visual request sequence maps automatically.
  • /adr (SWE-Test/PM/Reviewer): Automates the creation of Architecture Decision Records under docs/adr/ with standard templates.
  • /release (PM): Automates release note aggregation and version tagging upon milestone completion.

πŸ› οΈ Infrastructure & Observability Skills

  • /deploy (devops): Builds container images, provisions GCP infrastructure via Terraform, and deploys microservices to Cloud Run non-interactively.
  • /cloud-run-basics (devops): Manages Cloud Run service, Job, and Worker Pool deployments, autoscaling rules, and ensures code listens on 0.0.0.0:$PORT.
  • /logs (devops): Automatically queries and audits application logs from Cloud Run or GKE pods to isolate technical blockers.
  • /health (sre): Audits deployed microservice health probes (/healthz//readyz) and automatically provisions Cloud Monitoring alert policies via Terraform.
  • /google-cloud-networking-observability (sre): Observes Cloud Monitoring metrics, audits VPC Flow Logs, liveness paths, and checks VPC firewall/NAT threat anomalies.

πŸš€ Getting Started

πŸ“¦ Import Agent Templates

To import and register pre-configured specialized agent templates into your active Scion Grove:

  1. Open the Settings menu for your Scion Grove.
  2. Select Resources / Templates.
  3. Provide the repository source URL:
    https://github.com/gitrey/scion-appteam
    
  4. Click "Import Templates" and wait for the import to complete.

Once imported, all roles (PO, PM, TPM, SWEs, QA Triad, DevOps, SRE, and SecOps) will be immediately configured and ready to orchestrate!

Template Import

About

Scion App Team Agents Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors