Skip to content

[Copilot Dreams] Avoid rejecting valid inherited server timeouts - #15997

Merged
lpcox merged 1 commit into
mainfrom
copilot/dream-curate-memories-20261105025848
Nov 5, 2026
Merged

lpcox merged 1 commit into
mainfrom
copilot/dream-curate-memories-20261105025848

Conversation

@Copilot

Copilot AI commented Nov 5, 2026

Copy link
Copy Markdown

🧠 How this helps Copilot

The old guidance could lead Copilot to reject valid server settings because it says every timeout must be positive. Removing that blanket restriction avoids unnecessary overrides when a server inherits the gateway's timeout.

Automated details

Source: curate-memories Dream, analyzing main at d855b1e.

⚠️ Validation not completed

make agent-finished could not pass five existing logger permission-fallback tests when run as root. Those same tests passed under an unprivileged user. The aggregate also skipped golangci-lint because it was unavailable; the separate Rust guard tests passed.

Copilot AI adaptive review requested due to automatic review settings November 5, 2026 02:58
Comment thread AGENTS.md
- **Note**: For the full JSON stdin field list and complete TOML examples (including `gateway.keepalive_interval`, top-level `sequential_launch`, and `guards_mode`), see `docs/CONFIGURATION.md` and `config.example.toml`
- **Note**: For the full gateway field list (including `trusted_bots`, `rate_limit_threshold`, `rate_limit_cooldown`, and all server fields), see [`docs/CONFIGURATION.md`](docs/CONFIGURATION.md)
- Port range validation: 1-65535
- Timeout validation: positive integers only

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

🧹 Accept inherited timeouts: The positive-only claim could make Copilot reject valid server settings: the HTTP-server input schema accepts zero. Zero inherits the gateway timeout; gateway-specific positive/minimum requirements still apply.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The documentation-only change removes an inaccurate blanket timeout rule while preserving guidance for inherited server timeouts, and no active review issues are identified.

No open issues 🎉

What changed in this PR

This documentation-only PR updates AGENTS.md to avoid rejecting valid per-server timeouts that inherit the gateway timeout.

Changes:

  • Removed the blanket requirement that all timeout values be positive.
  • Preserved guidance for inherited server timeout behavior, including toolTimeout: 0.
File Summary
AGENTS.md Removes the inaccurate blanket timeout-validation rule.

Review effort: Lite (auto)

@lpcox

lpcox commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

@copilot address review feedback

Copilot AI commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

@copilot address review feedback

The timeout guidance feedback is already addressed in commit 42ba06b: it removes the blanket positive-timeout requirement so valid inherited server timeouts are not rejected.

Copilot AI requested a review from lpcox November 5, 2026 15:45
@lpcox
lpcox merged commit 3316899 into main Nov 5, 2026
43 checks passed
@lpcox
lpcox deleted the copilot/dream-curate-memories-20261105025848 branch November 5, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants