[PR #4441] [CLOSED] [Other] Tell the agent where a fact came from and how this computer reaches the internet #5050

Closed
opened 2026-11-07 16:32:18 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/4441
Author: @xvcezrqpbxtpzblrt
Created: 10/28/2026
Status: ❌ Closed

Base: main ← Head: agent/evidence-and-network-027


📝 Commits (1)

  • 1a5594a [Other] Tell the agent where a fact came from and how this computer reaches the internet

📊 Changes

2 files changed (+7 additions, -1 deletions)

View changed files

📝 apps/host/server/agent/preset.mjs (+3 -0)
📝 apps/host/tests/functional-fixes.test.mjs (+4 -1)

📄 Description

## Problem

The agent had no standing rule about where a fact came from or about the proxy this computer uses, so a search result from a forum could be stated as fact, and a request that failed behind a proxy could be worked around instead of reported.

Result

Three sentences added to the app's system prompt:

  • say where an answer came from: the maker's documentation or source is the reference for what their product does; a blog, forum, video or issue thread is one person talking, so use it only as a hint and mark it unconfirmed; give the address actually opened, never one from memory, with the version or date when the answer depends on it;
  • this computer may reach the internet through a proxy or VPN; never switch a proxy off to make a download or search work; if a request fails because of it, name the proxy and let the person choose a direct connection;
  • write in the language the person writes in, and write a helper's task in that language too, so the helper answers in it.

Validation

node --test tests/functional-fixes.test.mjs → 7 pass.

The prompt is now 2,284 characters (about 600 tokens). The former budget of 1,600 was raised to 2,600 in the same test, with the reason written beside it; it is still a fifth of the Harness's own text.

Limits

  • Wording only: the model can still ignore it. The rule matters most for web search and API-backed models.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/4441 **Author:** [@xvcezrqpbxtpzblrt](https://github.com/xvcezrqpbxtpzblrt) **Created:** 10/28/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `agent/evidence-and-network-027` --- ### 📝 Commits (1) - [`1a5594a`](https://github.com/Niko1221/Strata/commit/1a5594ae1e5411fbcae6c55a822b919533d55525) [Other] Tell the agent where a fact came from and how this computer reaches the internet ### 📊 Changes **2 files changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `apps/host/server/agent/preset.mjs` (+3 -0) 📝 `apps/host/tests/functional-fixes.test.mjs` (+4 -1) </details> ### 📄 Description ## Problem The agent had no standing rule about where a fact came from or about the proxy this computer uses, so a search result from a forum could be stated as fact, and a request that failed behind a proxy could be worked around instead of reported. ## Result Three sentences added to the app's system prompt: - say where an answer came from: the maker's documentation or source is the reference for what their product does; a blog, forum, video or issue thread is one person talking, so use it only as a hint and mark it unconfirmed; give the address actually opened, never one from memory, with the version or date when the answer depends on it; - this computer may reach the internet through a proxy or VPN; never switch a proxy off to make a download or search work; if a request fails because of it, name the proxy and let the person choose a direct connection; - write in the language the person writes in, and write a helper's task in that language too, so the helper answers in it. ## Validation `node --test tests/functional-fixes.test.mjs` → 7 pass. The prompt is now 2,284 characters (about 600 tokens). The former budget of 1,600 was raised to 2,600 in the same test, with the reason written beside it; it is still a fifth of the Harness's own text. ## Limits - Wording only: the model can still ignore it. The rule matters most for web search and API-backed models. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:32:18 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#5050
No description provided.