Skip to main content

CLI for AI-assisted repository and workspace workflows

Project description

augint-tools

Python 3.12+ PyPI CI/CD Pipeline

CLI orchestration layer for AI-assisted repository workflows.


Pipeline Artifacts

Reports are published to GitHub Pages on every push to the default branch.

Report Link
API Documentation svange.github.io/augint-tools
Coverage Report svange.github.io/augint-tools/coverage
Security Reports svange.github.io/augint-tools/security
License Reports svange.github.io/augint-tools/compliance
Test Report svange.github.io/augint-tools/tests

What This Does

augint-tools provides a stable, machine-parseable command surface for humans and AI agents to coordinate development workflows. It is designed to be called directly by AI skills, replacing ad-hoc shell scripts with reliable, JSON-enabled commands.

  • AI-first design: Every command supports --json output for agent parsing
  • Repo-type aware: Understands library and service repository patterns
  • Safe defaults: No destructive git operations without explicit commands
  • GitHub integration: Issue management, PR creation, CI status monitoring
  • Health dashboard: Real-time TUI showing CI, PRs, issues, and compliance across all your repos
  • YAML compliance engine: Declarative standards checking driven by a single standards.yaml -- rule ownership lives with the standards maintainer, not in this tool

Getting Started

This project uses AI-assisted development. You do not need to memorize git commands or CI configuration -- your AI agent handles that.

Prerequisites

  • Python 3.12+
  • uv package manager

First-time setup

uv sync --all-extras

Running locally

# CLI help
uv run ai-tools --help

# Check repository status
uv run ai-tools repo status --json

# Run all pre-commit hooks
uv run pre-commit run --all-files

# Run tests
uv run pytest

Installation (from PyPI)

pip install augint-tools

Or with uv:

uv tool install augint-tools

How to Contribute

Contributions are made through AI agents (Claude Code, Copilot, etc.). You describe what you want changed in plain language; the agent handles branching, coding, testing, and submitting a pull request.

  1. Open Claude Code (or your AI agent) in this repo.
  2. Describe the change you want -- a bug fix, a new feature, a doc update.
  3. The agent will:
    • Create a feature branch
    • Make the changes
    • Run pre-commit checks and tests
    • Open a pull request
  4. Review the PR when the agent is done. CI runs automatically.
  5. Merge once CI is green.

If you need to work manually, see the full contributor guide (if available).


Architecture

Command Surface

ai-tools repo status        # git state + upstream + open PR + CI + next action
ai-tools repo branch prepare # create work branch from correct base
ai-tools repo submit        # run checks, push branch, create PR, enable automerge
ai-tools repo ci triage     # classify CI failures
ai-tools repo check run     # execute validation plan
ai-tools repo issues pick   # issue recommendation and search
ai-tools dashboard --all    # launch the compliance TUI

Global output flags: --json, --actionable, --summary

YAML Compliance Engine

The dashboard includes a declarative compliance engine that evaluates repos against rules defined in a standards.yaml file maintained in the ai-cc-tools repo. Rule ownership lives with the standards maintainer, not in augint-tools.

Adding a new compliance rule is a single YAML entry in ai-cc-tools -- no code change in augint-tools required (unless the rule needs a new handler type).

Built-in check types:

  • file_exists / file_absent -- verify presence of config files
  • file_content_matches -- regex with numeric/string assertions
  • workflow_job_has_step -- verify pipeline jobs contain required steps
  • workflow_all_jobs_scan -- detect cheat patterns (|| true, continue-on-error, set +e)
  • ruleset_has_required_checks -- verify GitHub rulesets enforce expected status checks

Handler escape hatch: For checks that need external data (AWS API calls, HTTP probes), a handler type dispatches to registered Python functions. Three built-in handlers: aws_oidc_trust_policy_scope, http_health_probe, and lambda_deploy_sha_match.


Dashboard Deployment Links

Each repo card can surface clickable shortcuts to its live deployment URLs (plus the repo's PyPI page for Python libraries). Links come from a user-global yaml file so the same config works from any terminal or WSL shell.

Yaml file

Path: ~/.augint-tools/deployments.yaml (resolves to %USERPROFILE%\.augint-tools\deployments.yaml on Windows).

Schema: a map of owner/repo slugs to a flat list of {label, url} entries.

augmentingintegrations/aillc-web:
  - { label: dev,  url: "https://www.org.aillc.link/" }
  - { label: main, url: "https://www.augmentingintegrations.com/" }
augmentingintegrations/ai-lls-api:
  - { label: dev,  url: "https://lls-api.lls.aillc.link" }
  - { label: main, url: "https://lls-api.landlinescrubber.link" }

Reserved labels

label glyph treatment
main p prod -- middle-click on card title opens this
dev s staging -- shift + middle-click on card title opens this
pypi π auto-synthesized for Python libraries; manual entry overrides

Interaction model

Keyboard shortcuts (work on the selected repo, one-hand cluster):

Key Action
z Open prod/main deployment URL
x Open dev/staging deployment URL
c Open 1st supplemental link (after main/dev)
v Open 2nd supplemental link
b Open 3rd supplemental link
f Open the "Manage deployment links" modal

Mouse (on the title row):

  • Middle-click on the title -> open prod URL (falls back to GitHub repo page if no main link)
  • Shift + middle-click on the title -> open dev URL
  • Ctrl + left-click on the title -> open the "Manage deployment links" modal
  • Left-click on a glyph -> terminal-native OSC-8 link opens the URL directly

The detail drawer (press d) lists every link in a deployments: section with the host shown as visible text and the full URL as the OSC-8 target.

Manage modal

Press f or middle-click on the repo name to open a modal scoped to the selected repo. The modal has dedicated fields for Production and Staging URLs at the top (Set/Clear), plus an add row for supplemental links. Existing supplementals are listed inline with Remove buttons. Every mutation writes the yaml immediately.


License

MIT

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

augint_tools-5.42.2.tar.gz (201.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

augint_tools-5.42.2-py3-none-any.whl (261.4 kB view details)

Uploaded Python 3

File details

Details for the file augint_tools-5.42.2.tar.gz.

File metadata

  • Download URL: augint_tools-5.42.2.tar.gz
  • Upload date:
  • Size: 201.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for augint_tools-5.42.2.tar.gz
Algorithm Hash digest
SHA256 728930cbaf26e46146d1468f520b42a75c94934c637bf0da8abd8a8dcc76971b
MD5 be579172a07a581230907cdc788a71cb
BLAKE2b-256 7d63a4176f9a71c0247315e59f0c3ad2b946d3da700627fa428fa0d091549f40

See more details on using hashes here.

Provenance

The following attestation bundles were made for augint_tools-5.42.2.tar.gz:

Publisher: publish.yaml on svange/augint-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file augint_tools-5.42.2-py3-none-any.whl.

File metadata

  • Download URL: augint_tools-5.42.2-py3-none-any.whl
  • Upload date:
  • Size: 261.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for augint_tools-5.42.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4d5e215b4821d26aaad9fdee21a30aecfcf2a6560b5992565e61e1a5fa7dd6e1
MD5 957eff0192800e4fc1048078774251e1
BLAKE2b-256 a73f3b7076ad315fb9b7c765e8e28df5a715a1f05d72f26787ba558ffc3b80f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for augint_tools-5.42.2-py3-none-any.whl:

Publisher: publish.yaml on svange/augint-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page