hermes-agent/website/docs/developer-guide
kshitij a4f468e832 refactor(gateway/desktop): consent-first truncation precedence + dedup (simplify pass)
Final-diff simplify/review pass findings on #83785:

- Consent gate (confirm_truncate -> 4029) now checked BEFORE target
  resolution, restoring the pre-PR precedence: an unconfirmed submit
  carrying truncation params refuses without paying the durable-transcript
  read or heal-stamping live history dicts, and an unconfirmed out-of-range
  ordinal returns 4029 (not 4018). Malformed params still refuse first
  with 4004. Regression test added (spy DB asserts zero reads pre-consent;
  mutation-checked against the previous commit).
- _coerce_truncate_ordinal generalized to _coerce_truncate_int(param_name):
  the row_id branch was inlining the exact bool-guard + int() -> 4004
  pattern the helper had just extracted.
- Deleted the dead user_indices re-read after _resolve_truncate_row_id
  (heal mutates dicts in place; the filter output is identical) and the
  duplicate range check that had deadened the pre-existing guard.
- Desktop: exported isVisibleUserMessage from use-prompt-actions/utils and
  used it in visibleUserOrdinal / visibleUserIndexAtOrdinal /
  rebindSurvivorRowIds — one predicate for the ordinal parity all three
  depend on instead of three verbatim copies.
- Docs: programmatic-integration.md documents survivor_user_row_ids.
2026-08-13 13:35:55 +05:30
..
plugins feat(plugins): manifest v2 — schema version, api_version, inter-plugin deps, pip-dependency declaration seam, config schema (#64165) 2026-08-12 18:39:22 -07:00
_category_.json
acp-internals.md
adding-platform-adapters.md feat(platforms): add typed plugin send paths 2026-08-12 16:27:19 -07:00
adding-providers.md docs: DX sweep — 7 verified-absent documentation items 2026-08-07 08:58:08 -07:00
adding-tools.md
agent-loop.md Revert "feat: add DCP context engine" 2026-08-08 23:09:43 +05:30
architecture.md Revert "feat: add DCP context engine" 2026-08-08 23:09:43 +05:30
browser-provider-plugin.md
browser-supervisor.md
codebase-ownership.md docs: DX sweep — 7 verified-absent documentation items 2026-08-07 08:58:08 -07:00
context-compression-and-caching.md feat(compression): native OpenAI Responses server-side compaction for gpt-5.6 2026-08-08 11:24:45 -07:00
context-engine-plugin.md fix(agent): isolate the pooled compression worker from the live transcript (review F3) 2026-08-02 16:16:36 -07:00
contributing.md cleanup: remove references to simple-term-menu 2026-08-10 15:13:29 -04:00
creating-skills.md
cron-internals.md
desktop-plugin-sdk.md feat: profiles.list/profiles.create ws RPC + plugin session-navigation doors (#85093) 2026-08-12 23:33:58 -07:00
egress-internals.md
extending-the-cli.md
gateway-internals.md
image-gen-provider-plugin.md
memory-provider-plugin.md
model-provider-plugin.md
plugin-llm-access.md fix(plugins): complete task-routed LLM integration 2026-08-12 16:25:20 -07:00
programmatic-integration.md refactor(gateway/desktop): consent-first truncation precedence + dedup (simplify pass) 2026-08-13 13:35:55 +05:30
prompt-assembly.md
provider-runtime.md
secret-source-plugin.md fix: track secret source registration origin 2026-08-12 16:25:10 -07:00
session-storage.md perf(state): add messages(session_id, id) index for window/ordering queries 2026-08-02 21:16:17 +05:30
subagent-lifecycle-api.md
tools-runtime.md docs(plugins): clarify tool description sources 2026-08-09 00:52:07 -07:00
trajectory-format.md
video-gen-provider-plugin.md
web-search-provider-plugin.md
worktree-ui-dev.md