Skip to content
Closed
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
1 change: 1 addition & 0 deletions .fullsend/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ agents:
- name: code
runtime: pi
model: xai/grok-4.6
timeout_minutes: 60

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action required

1. The code agent still stops at the 35-minute limit 🐞 Bug ≡ Correctness

The timeout_minutes key is added to the code agent entry, but config.AgentEntry has no
corresponding field and the YAML loader does not reject unknown keys. When this repository loads the
configuration, the value is discarded, so the harness continues using its base timeout instead of
the requested 60 minutes.
Agent Prompt
## Issue description
The new `timeout_minutes: 60` setting is not consumed by this repository. `internal/config.AgentEntry` only models runtime, model, effort, and subagents, while YAML loading accepts unknown keys, so the setting is discarded and the code agent keeps the inherited 35-minute timeout.

## Fix Focus Areas
- .fullsend/config.yaml[24-27]
- internal/config/config.go[51-65]
- internal/config/config.go[500-520]

## Recommended Fix
Add a typed timeout field to the agent configuration model, validate its allowed range, preserve it through layered configuration merges, and pass it to the agent/harness execution path. Add tests proving that `timeout_minutes: 60` survives parsing and effective-config resolution; alternatively, do not add this repository-level key until the consuming configuration support exists.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action required

2. Agent still stops at 35 minutes 🔗 Cross-repo conflict ≡ Correctness

The repository overrides timeout_minutes to 60, but the pinned fullsend-ai/agents code harness
still injects TIMEOUT_SECONDS=2100 into the sandbox. The code implementation skill reads that
variable for its deadline checks, so the agent can stop at 35 minutes before the Fullsend runner's
60-minute timeout and still fail to commit.
Agent Prompt
## Issue description
The local configuration raises the runner-level code-agent timeout to 60 minutes, but the pinned `fullsend-ai/agents` code harness still sets `TIMEOUT_SECONDS` to 2100 seconds. The code implementation skill uses that sandbox variable for its time-budget checks, so the agent may still terminate after 35 minutes.

## Fix Focus Areas
- .fullsend/config.yaml[24-27]
- /cross_repos/agents/harness/code.yaml[75-85]
- /cross_repos/agents/skills/code-implementation/SKILL.md[68-90]

## Recommended Fix
Update the code harness's sandbox `TIMEOUT_SECONDS` to `3600` alongside `timeout_minutes: 60`, then update the pinned harness/source reference or otherwise ensure this repository consumes the synchronized `fullsend-ai/agents` change. Add or update integration coverage so both the runner timeout and the sandbox deadline remain aligned.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[high] runtime-mechanism

timeout_minutes: 60 on the code entry in the per-repo agents: list has no runtime effect. config.AgentEntry (internal/config/config.go) has no TimeoutMinutes field, and its UnmarshalYAML decodes via plain yaml.v3 Decode with no KnownFields(true), so the unknown key is silently dropped. applyAgentSettings (internal/cli/run.go) only copies Model and Effort from a config AgentEntry onto the resolved harness — never a timeout. The actual per-iteration budget comes from the harness-level Harness.TimeoutMinutes field, which this override-only agent entry (no source:) never touches. docs/reference/config-reference.md's documented agents: fields also omit timeout_minutes. As written, the code agent keeps the base harness's 35-minute budget and the exact failure the PR describes (killed near the 35-minute mark before git commit) will recur.

Suggested fix: Create a local harness override (e.g. harness/code.yaml) with base: <upstream code.yaml>#sha256=... and timeout_minutes: 60, then register it in .fullsend/config.yaml via source: harness/code.yaml (dropping the inert timeout_minutes: key from the override-only entry). Alternatively, add a validated TimeoutMinutes field to config.AgentEntry and wire it into applyAgentSettings/harness composition.

- name: fix
model: sonnet
- name: prioritize
Expand Down
Loading