mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-14 04:59:28 +08:00
* fix(gator): run supervisor as sandbox main process Signed-off-by: John Myers <johntmyers@users.noreply.github.com> * feat(gator): persist supervised state history Signed-off-by: John Myers <johntmyers@users.noreply.github.com> * refactor(gator): remove obsolete background launch mode Signed-off-by: John Myers <johntmyers@users.noreply.github.com> --------- Signed-off-by: John Myers <johntmyers@users.noreply.github.com> Co-authored-by: John Myers <johntmyers@users.noreply.github.com>
95 lines
2.3 KiB
YAML
95 lines
2.3 KiB
YAML
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
id: gator
|
|
payload_version: 9
|
|
display_name: Gator Gate Agent
|
|
description: Validate and monitor OpenShell GitHub issues and pull requests through the gator state machine.
|
|
|
|
sandbox:
|
|
name_prefix: gtr
|
|
from: agent://.
|
|
gateway: docker-dev
|
|
|
|
harness:
|
|
default: codex
|
|
supported:
|
|
codex:
|
|
model: gpt-5.6-sol
|
|
reasoning: medium
|
|
|
|
runtime:
|
|
mode: watch
|
|
poll_interval_seconds: 900
|
|
max_transient_failures: 5
|
|
|
|
profile_paths:
|
|
- providers
|
|
|
|
settings:
|
|
- 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
|
|
|
|
resources:
|
|
- id: gator-review-findings-schema
|
|
source: agent://skills/gator-gate/references/review-findings-schema.md
|
|
destination: skills/gator-gate/references/review-findings-schema.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
|