Files
PaperClipAI/packages/adapters
Josh CoxandReview 4b5000fae0 fix(hermes): state the enforced timeoutSec default (1800) in local adapter docs (#15936)
## Thinking Path

> - Paperclip is a control plane for AI-agent companies.
> - The Hermes local adapter has a `timeoutSec` run limit.
> - The code sets the default in `DEFAULT_TIMEOUT_SEC`. The value is
1800.
> - The UI config builder also floors `timeoutSec` at that default. A
user cannot build a lower value in the UI.
> - Two doc tables still state the default as 300. The README example
config also uses 300.
> - A user who copies the documented value gets runs killed at a wall
the docs implied was normal.
> - This pull request makes the three doc spots state 1800. It changes
no code behavior.

## Linked Issues

Fixes #15903

## What Changed

- `packages/adapters/hermes/README.md`: the Core Configuration table now
states the `timeoutSec` default as `1800`. The example agent config now
uses `"timeoutSec": 1800`, so the example no longer shows a value the UI
builder cannot produce.
- `packages/adapters/hermes/src/index.ts`: the local variant doc table
now states the `timeoutSec` default as 1800.
- The gateway variant docs are not touched. They state 600, and the
gateway code default is 600, so they agree.

## Verification

- Text check: all three local-variant spots now read 1800, and
`DEFAULT_TIMEOUT_SEC` in
`packages/adapters/hermes/src/shared/constants.ts` is 1800.
- The Hermes entrypoint test suite passes: 8 tests, including a new
guard that fails if the doc table and `DEFAULT_TIMEOUT_SEC` drift apart
again.
- Docs-only change; no runtime code was modified.

## Risks

- None for runtime behavior. The only risk is doc drift in the other
direction if the code default changes later; the constant stays the
single source of truth in code.

## Model Used

- **Model:** Meta Muse Spark 1.3

## Checklist

- [x] I have included a thinking path that traces from project context
to this change
- [x] I have specified the model used (with version and capability
details)
- [ ] I have checked ROADMAP.md and confirmed this PR does not duplicate
planned core work
- [x] I have searched GitHub for duplicate or related PRs and linked
them above
- [x] I have either (a) linked existing issues with `Fixes: #` / `Closes
#` / `Refs #` OR (b) described the issue in-PR following the relevant
issue template
- [x] I have not referenced internal/instance-local Paperclip issues or
links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip`
URLs)
- [x] My branch name describes the change (e.g. `docs/...`, `fix/...`)
and contains no internal Paperclip ticket id or instance-derived details
- [x] I have run tests locally and they pass
- [x] I have added or updated tests where applicable
- [x] I have updated relevant documentation to reflect my changes
- [x] I have considered and documented any risks above
- [ ] All Paperclip CI gates are green
- [ ] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
- [x] I will address all Greptile and reviewer comments before
requesting merge

---------

Signed-off-by: Josh Cox <joshuacox@users.noreply.github.com>
Co-authored-by: Review <review@local>
2026-12-04 21:40:29 -08:00
..