Files
OpenShell/scripts/agents/gator/agent.yaml
45060f4492 feat(agents): add manifest-driven gator agent (#1826)
* chore(gator): add gator gate skill

* chore(gator): add sandbox launcher scaffold

* chore(gator): add codex image and docs checks

* chore(gator): fold approved provider policy rules

* chore(gator): add deterministic reviewer runner

* chore(gator): clarify ok-to-test comments

* chore(gator): structure launcher harnesses

* chore(gator): require e2e for dependabot

* chore(gator): add codex refresh profile

* chore(gator): wip manifest agent launcher

* feat(agents): supervise watch cycles in sandbox

* fix(agents): preserve gateway refresh state

* fix(gator): continue human response threads

* fix(agents): keep watch supervisor retrying

* fix(agents): use refreshed Codex credential aliases

* fix(gator): avoid misleading gh auth checks

* docs(agents): remove architecture build update

* fix(gator): use REST-backed GitHub writes

* fix(agents): bake immutable agent payloads

* fix(agents): upload writable agent workspace

* fix(agents): surface gator watch progress

* fix(agents): prevent codex stdin hang

* fix(agents): align codex subagent input

* fix(agents): heartbeat during active cycles

* fix(agents): clean up heartbeat sleep

* fix(agents): disable gh telemetry in codex harness

* fix(agents): reconcile closed gator PRs

* fix(agents): query closed gator PR labels separately

* fix(agents): tolerate rotated credential placeholders

* fix(agents): enforce gator same-sha comment guard

Signed-off-by: John Myers <johntmyers@users.noreply.github.com>

* docs(agents): scope gator trusted commentary

Signed-off-by: John Myers <johntmyers@users.noreply.github.com>

* fix(gator): treat reviewer failures as transient

Signed-off-by: Evan Lezar <elezar@nvidia.com>

* feat(agents): refine gator supervised workflow

Signed-off-by: John Myers <johntmyers@users.noreply.github.com>

* fix(agents): stream codex prompts via stdin

Signed-off-by: John Myers <johntmyers@users.noreply.github.com>

* docs(agents): clarify trusted gator responses

Signed-off-by: John Myers <johntmyers@users.noreply.github.com>

* refactor(agents): scope gator PR to scripts

Signed-off-by: John Myers <johntmyers@users.noreply.github.com>

---------

Signed-off-by: John Myers <johntmyers@users.noreply.github.com>
Signed-off-by: Evan Lezar <elezar@nvidia.com>
Co-authored-by: John Myers <johntmyers@users.noreply.github.com>
Co-authored-by: Evan Lezar <elezar@nvidia.com>
2026-07-01 10:22:40 -07:00

92 lines
2.1 KiB
YAML

# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
id: gator
display_name: Gator Gate Agent
description: Validate and monitor OpenShell GitHub issues and pull requests through the gator state machine.
sandbox:
name_prefix: gator
from: agent://.
gateway: docker-dev
background_log_dir: logs
harness:
default: codex
supported:
codex:
model: gpt-5.5
reasoning: high
runtime:
mode: watch
poll_interval_seconds: 900
max_transient_failures: 5
profile_paths:
- providers
settings:
- key: providers_v2_enabled
value: true
- key: agent_policy_proposals_enabled
value: true
- key: proposal_approval_mode
value: auto
providers:
- id: github
name: github-gator
profile: github-gator
credential_mode: explicit
credentials:
- env: GITHUB_TOKEN
source:
kind: host_command
command: gh auth token
export: true
- id: codex
name: codex-gator
profile: codex-gator
harness: codex
credential_mode: from_existing
credentials:
- env: CODEX_AUTH_ACCESS_TOKEN
source:
kind: file_json
path: ~/.codex/auth.json
query: tokens.access_token
export: true
- env: CODEX_AUTH_ACCOUNT_ID
source:
kind: file_json
path: ~/.codex/auth.json
query: tokens.account_id
export: true
refresh:
credential_key: CODEX_AUTH_ACCESS_TOKEN
strategy: oauth2-refresh-token
materials:
- name: client_id
value: app_EMoamEEZ73f0CkXaXp7hrann
- name: refresh_token
secret: true
source:
kind: file_json
path: ~/.codex/auth.json
query: tokens.refresh_token
skills:
- id: gator-gate
source: agent://skills/gator-gate/SKILL.md
destination: skills/gator-gate/SKILL.md
subagents:
- id: principal-engineer-reviewer
source: repo://.claude/agents/principal-engineer-reviewer.md
destination: subagents/principal-engineer-reviewer.md
expose_as: REVIEWER_COMMAND
prompt_template: prompts/gator.md