Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .agents/skills/monitor-ci/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ The decision script returns one of the following statuses. This table defines th
| `cipe_canceled` | Exit, CI was canceled |
| `cipe_timed_out` | Exit, CI timed out |
| `polling_timeout` | Exit, polling timeout reached |
| `circuit_breaker` | Exit, no progress after 5 consecutive polls |
| `circuit_breaker` | Exit, no progress after 13 consecutive polls |
| `environment_rerun_cap` | Exit, environment reruns exhausted |
| `fix_auto_applying` | Self-healing is handling it — just record `last_cipe_url`, enter wait mode. No MCP call or local git ops needed. |
| `error` | Wait 60s and loop |
Expand Down
8 changes: 4 additions & 4 deletions .agents/skills/monitor-ci/scripts/ci-poll-decide.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function categorizeTasks() {
}

function backoff(count) {
const delays = [60, 90, 120];
const delays = [60, 90, 120, 180];
return delays[Math.min(count, delays.length - 1)];
}

Expand Down Expand Up @@ -145,7 +145,7 @@ function isNewCipe() {
// 3. still waiting → wait (waiting_for_cipe)
// NORMAL MODE:
// 4. polling timeout → done (polling_timeout)
// 5. circuit breaker (5 polls) → done (circuit_breaker)
// 5. circuit breaker (13 polls) → done (circuit_breaker)
// 6. CI succeeded → done (ci_success)
// 7. CI canceled → done (cipe_canceled)
// 8. CI timed out → done (cipe_timed_out)
Expand Down Expand Up @@ -177,7 +177,7 @@ function classify() {

// --- Guards ---
if (isTimedOut()) return { action: 'done', code: 'polling_timeout' };
if (noProgressCount >= 5) return { action: 'done', code: 'circuit_breaker' };
if (noProgressCount >= 13) return { action: 'done', code: 'circuit_breaker' };

// --- Terminal CI states ---
if (cipeStatus === 'SUCCEEDED') return { action: 'done', code: 'ci_success' };
Expand Down Expand Up @@ -267,7 +267,7 @@ const messages = {

// guards
polling_timeout: () => 'Polling timeout exceeded.',
circuit_breaker: () => 'No progress after 5 consecutive polls. Stopping.',
circuit_breaker: () => 'No progress after 13 consecutive polls. Stopping.',

// terminal
ci_success: () => 'CI passed successfully!',
Expand Down
16 changes: 7 additions & 9 deletions .codex/config.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
[mcp_servers.nx-mcp]
command = "npx"
args = [ "nx", "mcp", "--minimal" ]

mcp_servers.nx-mcp.command = 'npx'
mcp_servers.nx-mcp.args = [
'nx',
'mcp',
'--minimal',
]
features.multi_agent = true
[features]
multi_agent = true

[agents.ci-monitor-subagent]
description = 'CI helper for /monitor-ci. Fetches CI status, retrieves fix details, or updates self-healing fixes. Executes one MCP tool call and returns the result.'
config_file = 'agents/ci-monitor-subagent.toml'
description = "CI helper for /monitor-ci. Fetches CI status, retrieves fix details, or updates self-healing fixes. Executes one MCP tool call and returns the result."
config_file = "agents/ci-monitor-subagent.toml"
2 changes: 1 addition & 1 deletion .gemini/commands/monitor-ci.toml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ The decision script returns one of the following statuses. This table defines th
| `cipe_canceled` | Exit, CI was canceled |
| `cipe_timed_out` | Exit, CI timed out |
| `polling_timeout` | Exit, polling timeout reached |
| `circuit_breaker` | Exit, no progress after 5 consecutive polls |
| `circuit_breaker` | Exit, no progress after 13 consecutive polls |
| `environment_rerun_cap` | Exit, environment reruns exhausted |
| `fix_auto_applying` | Self-healing is handling it — just record `last_cipe_url`, enter wait mode. No MCP call or local git ops needed. |
| `error` | Wait 60s and loop |
Expand Down
127 changes: 0 additions & 127 deletions .gemini/skills/link-workspace-packages/skill.md

This file was deleted.

Loading
Loading