fix(filesystem): relax structural read limits

This commit is contained in:
BukeLy 2026-05-26 20:57:08 +08:00
parent 2b69719f60
commit cd571ddbaf
4 changed files with 52 additions and 19 deletions

View file

@ -202,6 +202,8 @@ class PIFSAgentStreamTest(unittest.TestCase):
self.assertIn("prefer cat <target> --node <node_id>", AGENT_TOOL_POLICY)
self.assertIn("page-level evidence", AGENT_TOOL_POLICY)
self.assertIn("prefer\ncat <path> --node <node_id>", BASH_TOOL_DESCRIPTION)
self.assertIn("stop if the evidence is sufficient", AGENT_TOOL_POLICY)
self.assertIn("continue with another chunk before answering", BASH_TOOL_DESCRIPTION)
def test_prompt_requires_stat_for_metadata_questions(self):
self.assertIn("stat --schema and stat <target>", AGENT_TOOL_POLICY)