docs: name every refused quote in the agent steps

The skill and llms.txt said "a quote" where the tool refuses the
typographic ones too, which end a PowerShell string. One constant states
the set for both, and points to device_setup_command.
This commit is contained in:
Abdessamad Derraz committed 2026-11-06 20:17:45 +01:00
1 parent 74489a4a0f
commit 268c974e28
2 files changed
+16 -6

No files matched your search

+7
View File
@@ -74,6 +74,13 @@ class TheSkillIsAnAgentSkill(unittest.TestCase):
self.assertIn("--dest='<card>/bios'", text)
self.assertIn("--for-games='<folder>'", text)
self.assertIn("starts with `-`", text)
# The characters agent-tools.ts refuses, typographic quotes included.
# The backtick is named in words: Markdown would read it.
self.assertIn("a backtick", siteagents.REFUSED)
for char in "'\"‘’‚‛“”„":
self.assertIn(char, siteagents.REFUSED)
self.assertIn(char, TOOLS.read_text(encoding="utf-8"))
self.assertIn(siteagents.REFUSED, text)
def test_the_manifest_types_it_as_a_skill(self) -> None:
skill = siteagents.ard_manifest()["entries"][0]