Skip to content

a model's turn is offered run_cliff alone by default; chat_tools lists more (#1143) - #1245

Open
chedim wants to merge 4 commits into
mainfrom
one-tool
Open

chedim wants to merge 4 commits into
mainfrom
one-tool

Conversation

@chedim

@chedim chedim commented Nov 26, 2026

Copy link
Copy Markdown
Owner

A seat restarted on this change offers its model one tool, run_cliff, unless its owner sets chat_tools. Rosie's next restart would do it too; to keep the four tools there, add --fact chat_tools='["entity_query","entity_read","entity_write","run_cliff"]'. Memo has run this way since 11-26.

  • A model's calls carry the header X-Turn (the claude CLI sent it; the openai rung now sends the message id too). door_tools.c1f uses it: a turn's tools/list shows only the offered tools, and a call of another is refused (refused: <tool> is not offered here; the tools this seat has: ...) and runs nothing. The page's and a person's door is whole: the Settings window still writes with entity_write.
  • chat_tools is a launch fact (registered in facts.json), a JSON list of tool names; none told = ["run_cliff"].
  • Help: Help:cliff has a section, 'If run_cliff is the only tool you have', with a table that turns each entity_query, entity_read and entity_write into a block (the write, the delete and the pack write with \n were run on a scratch seat); start.md, c1f.md, packs.md, brain.md and banner.md point to it. The doctrine's one tool mention (saving the seat's name) is a block now.
  • Not done: the help still names the other tools in about 60 places and relies on the table; a full rewrite is a follow-up. instances lists only loaded entities, so a model cannot list every old message by id; it reads them by id from Banner:recall or its notes.
  • Tests: a_seat_that_offers_one_tool_... (written failing first), the plain turn's list, and the tests that run the other tools through a model now start with the full list. Not tested: the claude rung with the fact set (it sends the same header).

…1143)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant