Skip to content

Agile-V/agentic_agile_v

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

40 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Agentic Agile-V Infrastructure

This repository scaffold operationalizes the paper framework Agentic Agile-V: From Vibe Coding to Verified Engineering in Software and Hardware Development.

The goal is simple:

Conversation discovers intent. Structured artifacts control implementation. Evidence controls acceptance.

The scaffold gives teams a practical way to run AI agents inside a disciplined engineering process without turning development into uncontrolled "vibe coding".

What is included

  • AGENTS.md: repository-level rules for coding agents.
  • templates/: feature, bug, hardware/firmware, test, review, and evidence templates.
  • docs/: process documentation for Agile-V, SCOPE-V, testing, hardware, and evidence gates.
  • schemas/: JSON schemas for task briefs, evidence bundles, system graph, impact map, and traceability.
  • scripts/: local validation and task bootstrap tools.
  • .github/: PR template, issue templates, and CI workflow for evidence gates.
  • examples/: sample feature, bug, and hardware task packages.
  • src/agilev/: Python runtime library β€” graph adapter, impact analysis, traceability.
  • tests/: Unit tests for the Python runtime library.

Recommended workflow

  1. Start with a conversation to discover intent.
  2. Convert the conversation into a structured task brief.
  3. Classify risk level from L0 to L4.
  4. Ask the agent to inspect the repository and produce a plan.
  5. Approve the plan for non-trivial changes.
  6. Implement in small slices.
  7. Generate or update tests.
  8. Produce an evidence bundle.
  9. Run validation gates.
  10. Merge only after human review and risk-appropriate evidence.

Quick start

Create a new task package:

python scripts/new_task.py --type feature --id AAV-001 --title "Add device status endpoint"

Validate all evidence bundles:

python scripts/validate_evidence.py --root evidence

Validate one bundle:

python scripts/validate_evidence.py --bundle evidence/examples/feature/evidence_bundle.json

Risk levels

Level Typical scope Required evidence
L0 Docs, comments, trivial internal cleanup Brief, plan, reviewer note
L1 Low-risk internal code Tests or test rationale, lint/static check
L2 Normal production feature or bug fix Unit/integration tests, CI, reviewer gate
L3 Security, customer-visible, data, APIs, persistent state Regression tests, security/privacy check, rollback path, approval
L4 Safety, hardware/firmware, regulated, money movement, critical infrastructure Independent verification, HIL/simulation/formal evidence, traceability matrix, approval

OpenHands Integration

NEW: Agentic Agile-V now integrates with OpenHands as an execution backend.

OpenHands provides autonomous code implementation while Agile-V maintains control through:

  • Skills that teach OpenHands about Agile-V rules
  • Hooks that enforce evidence gates and scope control
  • Policies that define risk-based requirements

Quick Start

# Initialize OpenHands integration
agilev openhands init

# Validate setup
agilev openhands doctor

# Create a task
agilev new --title "Add retry handling" --risk L2

# Run OpenHands (skills and hooks activate automatically)
# ...

# Validate the session
agilev openhands validate --task AAV-0001

Documentation

Key Features

  • βœ… Task brief enforcement (no implementation without brief)
  • βœ… Dangerous command blocking (rm -rf /, etc.)
  • βœ… Scope validation (warn on out-of-scope changes)
  • βœ… Tool usage logging (audit trail)
  • βœ… Evidence validation (block completion until evidence passes)
  • βœ… Risk-based policies (L0-L4 requirements)

Status: MVP complete (Phases 0-4 of 12)


Understand Anything Integration

Agile V can consume an Understand Anything knowledge graph to add system context, impact analysis, graph traceability, and regression-test selection to the Agile-V lifecycle.

# Install the runtime library
pip install -e .[dev]

# Run tests
make test

See docs/understand-anything-integration.md for full usage documentation.

The companion skill documentation is in agile_v_skills/integrations/understand-anything/.

OpenWiki Integration

Agile-V treats OpenWiki-generated documentation (openwiki/) as a validated, evidence-linked knowledge layer rather than optional reading material.

# Scaffold required pages + manifest
agilev wiki init

# (optional) also invoke the real `openwiki` CLI
agilev wiki init --run-openwiki

# Validate structure and freshness
agilev wiki validate

# Record a knowledge_snapshot in a task's evidence bundle
agilev wiki snapshot --task AAV-0001

See docs/integrations/openwiki.md for the full integration design, required page structure, CI workflows, and backlog.

Principle

Do not let an agent implement from a long chat history. Let it implement from a reviewed, versioned brief.

About

πŸš€ Agentic Agile V Scaffold - Production-ready template for verifiable AI-augmented engineering. Structured briefs, evidence bundles, CI gates, and automated traceability. Build trustworthy software/hardware with AI agents following the Agile Vβ„’ framework.

Topics

Resources

License

Stars

4 stars

Watchers

0 watching

Forks

Contributors