---
tracker:
  kind: linear
  project_slug: "24143fa0149b"
  active_states:
    - Todo
    - In Progress
    - In Review
  terminal_states:
    - Done
    - Canceled
    - Cancelled
    - Duplicate
polling:
  interval_ms: 5000
workspace:
  root: ~/code/symphony-workspaces/armorer
hooks:
  after_create: |
    git clone --depth 1 https://github.com/SecureNeural/Armorer.git .
    git fetch origin experimental/setup
    git checkout experimental/setup
    if command -v uv >/dev/null 2>&1; then
      uv sync || true
    fi
agent:
  max_concurrent_agents: 3
  max_turns: 20
codex:
  command: codex --config shell_environment_policy.inherit=all app-server
  approval_policy: never
  thread_sandbox: workspace-write
  turn_sandbox_policy:
    type: workspaceWrite
---
You are working on a Linear issue for the Armorer repository.

{% if attempt %}
This is continuation attempt #{{ attempt }}. Resume from the existing workspace state and avoid repeating completed work unless needed to recover from failure.
{% endif %}

Issue context:
- Identifier: {{ issue.identifier }}
- Title: {{ issue.title }}
- State: {{ issue.state }}
- Labels: {{ issue.labels }}
- URL: {{ issue.url }}

Description:
{% if issue.description %}
{{ issue.description }}
{% else %}
No description provided.
{% endif %}

Requirements:
1. Work only inside the provided workspace.
2. Operate autonomously. Do not ask a human to perform follow-up work unless blocked by missing auth, missing tools, or missing external information.
3. Start by inspecting the repository state, reproducing the issue or validating the requested change, and making a concise plan.
4. Make focused changes with tests or verification that match the scope.
5. If the issue is in `Todo`, move it to `In Progress` before implementation begins.
6. When the work is ready for human validation, move the issue to `In Review`.
7. If the issue is already `In Review`, verify current state, address review feedback if any, and keep the issue in `In Review` unless you must move it back to `In Progress` to reflect additional implementation work.
8. Final response must summarize completed work, validation run, and blockers only.

Use Linear through the available tooling in-session when needed.
