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:
rikrdo
2026-05-17 23:25:35 +02:00
parent 622e5df382
commit 3ff9b70e4c
104 changed files with 8534 additions and 187 deletions

View File

@@ -0,0 +1,48 @@
# Common Steps
Steps reutilizables para múltiples features.
## Navigation
```python
@given('el usuario está en la página principal')
def step_at_home_page(context):
context.current_page = "home"
@when('el usuario hace clic en el elemento de menú "{menu_item}"')
def step_click_menu(context, menu_item):
context.menu_clicked = menu_item
```
## Error Handling
```python
@given('la conexión a internet está disponible')
def step_internet_available(context):
context.internet_available = True
@given('el servidor no responde')
def step_server_down(context):
context.server_responding = False
@then('el sistema muestra toast "{message}"')
def step_show_toast(context, message):
context.toast_message = message
```
## User Session
```python
@given('el usuario tiene sesión activa')
def step_user_logged_in(context):
context.user_logged_in = True
context.token = "valid_token"
@then('el sistema muestra indicador de carga')
def step_show_loading(context):
context.showing_loading = True
@then('después de timeout muestra error "{message}"')
def step_timeout_error(context, message):
assert context.timeout_error == message
```