refactor: complete bootstrap of ARNES agent harness framework
- Add complete agent harness structure with 8 roles (leader, triager, architect, implementer, reviewer, security, qa, documenter) - Implement strict workflow with 9 stages and mandatory gates - Add comprehensive verification script and runtime status tracking - Create artifact-based evidence system with contracts and schemas - Add agent policy matrix with permissions and anti-cheat rules - Include test suite (44 tests passing) and CI-ready structure - Add documentation: README, HOWTO, CHECKPOINTS, templates - Configure model routing policies and token-aware task assignment - Add BDD/SDD specification guides and feature templates - Include starter pack for quick project onboarding All verification checks pass. Framework ready for production use.
This commit is contained in:
36
scripts/run.sh
Executable file
36
scripts/run.sh
Executable file
@@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
# Script para arrancar el servidor ARNES UI API
|
||||
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# Configuración
|
||||
PORT=${1:-8000}
|
||||
HOST="0.0.0.0"
|
||||
|
||||
# Colores
|
||||
GREEN='\033[0;32m'
|
||||
YELLOW='\033[1;33m'
|
||||
NC='\033[0m'
|
||||
|
||||
echo -e "${GREEN}========================================${NC}"
|
||||
echo -e "${GREEN} ARNES API - Starting...${NC}"
|
||||
echo -e "${GREEN}========================================${NC}"
|
||||
echo ""
|
||||
echo -e " URL: ${YELLOW}http://localhost:${PORT}/ui/login.html${NC}"
|
||||
echo -e " Host: ${YELLOW}${HOST}:${PORT}${NC}"
|
||||
echo ""
|
||||
echo -e " Credenciales de prueba:"
|
||||
echo -e " Email: ${YELLOW}alice@example.com${NC}"
|
||||
echo -e " Password: ${YELLOW}SecurePass123!${NC}"
|
||||
echo ""
|
||||
|
||||
# Instalar dependencias si falta
|
||||
if ! python3 -c "import fastapi" 2>/dev/null; then
|
||||
echo -e "${YELLOW}Instalando dependencias...${NC}"
|
||||
pip3 install -q fastapi uvicorn pydantic PyJWT bcrypt httpx
|
||||
fi
|
||||
|
||||
# Arrancar servidor
|
||||
exec python3 -m uvicorn src.main:app --host "$HOST" --port "$PORT" --reload
|
||||
Reference in New Issue
Block a user