GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - FarrukhAijaz/AuditPilot

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
agents
agents
 
 
db
db
 
 
docker
docker
 
 
eval
eval
 
 
ingestion
ingestion
 
 
rag
rag
 
 
scripts
scripts
 
 
tests
tests
 
 
workflows
workflows
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
PROGRESS.md
PROGRESS.md
 
 
PROJECT_PLAN.md
PROJECT_PLAN.md
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
pyproject.toml
pyproject.toml
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

AuditPilot

Autonomous Policy & Compliance Auditor — ingests internal documents and evaluates them against a regulatory/policy corpus (GDPR, SOC 2, internal security policy), producing per-control pass/fail reports with cited evidence and remediation.

See PROJECT_PLAN.md for architecture and phased roadmap, and PROGRESS.md for the live checklist.

Prerequisites

  • Docker + Docker Compose
  • Python 3.11+
  • (Optional, later phases) Groq / Gemini API keys — not required to start, everything defaults to a local Ollama model.

Setup (Phase 0)

  1. Copy the env template and adjust values:

    cp .env.example .env
  2. Start the core services (Postgres, Qdrant):

    docker compose up -d postgres qdrant
  3. Ollama: this repo defaults to reusing an already-running local Ollama instance at http://localhost:11434 (see OLLAMA_HOST in .env). If you don't have one running:

    docker compose --profile standalone-ollama up -d ollama   # listens on OLLAMA_PORT instead
    docker compose exec ollama ollama pull llama3.1:8b

    and update OLLAMA_HOST in .env to http://localhost:${OLLAMA_PORT}.

  4. Verify health:

    docker compose ps
    curl -sf http://localhost:6333/collections        # Qdrant
    curl -sf http://localhost:11434/api/tags           # Ollama
    docker compose exec postgres pg_isready -U auditpilot -d auditpilot
  5. Create a Python virtual environment and install dependencies:

    python3 -m venv .venv
    source .venv/bin/activate
    pip install -r requirements.txt
  6. Apply database migrations (+ seed a small set of GDPR/SOC2 controls):

    python scripts/apply_migrations.py --with-seed

Running an audit end-to-end

# Policy Router auto-classifies the framework:
python scripts/run_audit_cli.py --file path/to/document.pdf

# ...or specify the framework/controls explicitly:
python scripts/run_audit_cli.py --file path/to/document.pdf --framework gdpr

# Resume a partially-completed run (retries only non-done work items):
python scripts/run_audit_cli.py --resume-run-id <run_id>

# Review escalated (high-risk or low-confidence) findings - stands in for
# Slack Approve/Override/Request-Evidence until those credentials exist:
python scripts/hitl_review_cli.py list-escalations --run-id <run_id>
python scripts/hitl_review_cli.py decide --work-item-id <id> --reviewer [email protected] \
    --decision approve --rationale "..."

# Generate the per-control Markdown/HTML report:
python scripts/generate_report.py --run-id <run_id> --output report

Later phases

  • docker compose --profile orchestration up -d n8n — enable n8n (Phase 4+, once Slack/SMTP credentials are available; the CLIs above already implement the same logic and can be called from n8n Code/HTTP nodes).
  • docker compose --profile ingestion-sidecar up -d unstructured — enable the unstructured parsing API sidecar only if in-process parsing (default) proves insufficient.

Running tests

pytest                        # full suite (includes real Postgres/Qdrant/Ollama integration tests, ~1-2 min)
pytest -m "not integration"   # fast unit tests only (schema, agents with a fake LLM, parsing)

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.