ia_dev/gitea-issues/agent-loop.env.example
Nicolas Cantu 61cec6f430 Sync ia_dev: token resolution via .secrets/<env>/ia_token, doc updates
**Motivations:**
- Align master with current codebase (token from projects/<id>/.secrets/<env>/ia_token)
- Id resolution by mail To or by API token; no slug

**Root causes:**
- Token moved from conf.json to .secrets/<env>/ia_token; env from directory name

**Correctifs:**
- Server and scripts resolve project+env by scanning all projects and envs

**Evolutions:**
- tickets-fetch-inbox routes by To address; notary-ai agents and API doc updated

**Pages affectées:**
- ai_working_help/server.js, docs, project_config.py, lib/project_config.sh
- projects/README.md, lecoffreio/docs/API.md, gitea-issues/tickets-fetch-inbox.py
2026-03-16 15:00:23 +01:00

20 lines
884 B
Plaintext

# Agent-loop parameters (Cursor Agent CLI, model, interval).
# Copy to .secrets/gitea-issues/agent-loop.env and set as needed.
# Do not commit .secrets/gitea-issues/agent-loop.env (directory is gitignored).
#
# Run Cursor Agent when unread mails are detected (0 or 1)
# AGENT_LOOP_RUN_AGENT=1
#
# Model used by the CLI (default: sonnet-4.6 to avoid Opus usage limits)
# List: agent models
# AGENT_LOOP_MODEL=sonnet-4.6
#
# Polling interval in seconds (default: 60)
# AGENT_LOOP_INTERVAL_SEC=60
#
# Optional: custom paths for status, pending, lock and stop files
# AGENT_LOOP_STATUS_FILE=ia_dev/projects/<id>/logs/gitea-issues/agent-loop.status
# AGENT_LOOP_PENDING_FILE=ia_dev/projects/<id>/logs/gitea-issues/agent-loop.pending
# AGENT_LOOP_LOCK_FILE=ia_dev/projects/<id>/logs/gitea-issues/agent-loop.lock
# AGENT_LOOP_STOP_FILE=ia_dev/projects/<id>/logs/gitea-issues/agent-loop.stop