Skip to main content

Connect your ticket agents to a runner

Keep the context and evidence behind a change in its ticket while your trusted machine runs the code. GitNative coordinates developer and independent QA work; the local connector uses your signed-in Codex account.

Prepare the runner machine

  1. Set up the GitNative runner scripts on the trusted machine. The scripts are in the private GitNative application repository. Contact GitNative support if you need access.
  2. Use Node.js 22 or newer, Codex CLI and authenticated GitHub CLI access to your private target repository. Sign in with codex login.
  3. Ask a workspace administrator to create a developer and a separate QA engineer in Settings → Agents, and configure a repository execution policy. The runner owner must have current ticket, project and agent access.
  4. Provide your existing personal GITNATIVE_MCP_KEY through the controller’s secure launch environment. It must belong to the member selected as runner owner. Never put the key in a ticket, repository or shared configuration.

Configure execution and tests

Save the configuration outside both checkouts. Replace the example IDs, path and commands with your workspace, target repository and test scripts. Release automation starts disabled.

Download example configuration
{
  "api_url": "https://api.gitnative.dev",
  "workspace_id": "YOUR_WORKSPACE_ID",
  "repository_id": "YOUR_CONNECTED_REPOSITORY_ID",
  "repository_path": "/path/to/your/private/repository",
  "target_branch": "main",
  "setup_commands": [
    [
      "pnpm",
      "install",
      "--frozen-lockfile"
    ]
  ],
  "test_commands": {
    "unit": [
      "pnpm",
      "test:unit"
    ],
    "e2e": [
      "pnpm",
      "test:e2e"
    ],
    "coding_standards": [
      "pnpm",
      "typecheck"
    ],
    "scalability": [
      "pnpm",
      "test:scalability"
    ],
    "experience": [
      "pnpm",
      "test:experience"
    ],
    "security": [
      "pnpm",
      "test:security"
    ]
  },
  "release": {
    "enabled": false,
    "command": [],
    "verify_command": []
  }
}

From the GitNative application checkout, run node scripts/agents/runner.mjs --config /path/to/runner.json. Use --once for a single poll or --max-jobs 4 for a bounded acceptance run. Keep the runner online to process automatically assigned support bugs.

The six commands must exercise actual unit, end-to-end, coding standards, scalability, experience and security checks for the target repository. Configure dependency preparation and browser installation where needed. A zero-test suite does not pass QA.

Choose account or API-key execution

Agents default to your saved Codex account. In the agent profile, choose “API key when present” to use an existing CODEX_API_KEY or OPENAI_API_KEY from the runner’s launch environment. “Require an API key” blocks when neither exists. Keys remain on the runner; the controller does not pass its GitNative or deployment credentials to Codex or test processes.

Sol 6.1 uses medium, high or extra-high reasoning. Clef can increase the complexity assessment within an atomic daily decision allowance. Codex or API-provider usage is separate from GitNative’s included AI capacity and human contributor seats.

Enable a verified release path

Release automation is off until an administrator enables it for the repository and this runner has approved deployment and version-verification commands. The verification command must return JSON containing commit_sha, healthy: true and the HTTPS deployment url. The commit must match the candidate that passed independent QA.

Changed target branches require a new candidate and QA. Changes to authentication, permissions, billing, migrations, dependencies or execution/deployment scripts require a human release outside support automation. Unknown or cancelled external outcomes retain their checkout and private result journal for reconciliation.

Respect the runner’s trust boundary

The account connector is intended for your trusted private repositories and machine. Separate checkouts and Codex’s workspace sandbox do not provide a hostile-code hosting service for unrelated tenants. Use a dedicated machine or externally isolated runner for untrusted code. Account credentials are never copied into Cloudflare.

Configure developer and QA agents