Stories A promise's telling
Chat, optimised
The chat improves itself: every week the last thirty days of threads are judged on whether the person got what they came for, each failure becomes a named pattern with a tested fix, and no change ships that makes the chat worse.
The seven beats
- Groups
- Groups
- Actors
- Actors
- Events
- signal
- Things
- Things
- Paths
- Paths
- Outcome
- Events
- Learning
- Learning, open until someone has learned it
This story carries its beats but no written telling yet — text/chat-optimise.md has no “The story” section.
Connected to
Every link here was checked against the repo when the page was built. 3 names the story uses could not be found and are shown without a link.
People
- Tony
Agents
Each opens a chat with that agent.
Skills
Each opens the skill's page.
- writer
- voice
- typedb
Paths
The flows this story walks — trigger → step → step.
- trigger: weekly export → tool: read-only pull → skill: verdicts by rule → agent: judge the unknown → agent: patterns and shortcuts → condition: pack and replay not worse → human: Tony approves → tool: ship
Tools
Receivers and scripts it signals.
- D1 tables threads, messages and gateway_calls, read only
- bash .claude/scripts/proof.sh
- VERIFY: the script that makes the weekly export; today it is a scratch file
Docs
What derives from this file.
Events
Every event is a signal; each names the path it marks or warns.
- chat:harden · from Tony VERIFY: the path a hardened thread strengthens is not chosen yet tags: chat, optimise
Transactions
- none; the meter it reads is the cost column of gateway_calls
Analytics
- share of stored messages that are conversation (today one in nine), read from messages
- failed-call rate per model, from gateway_calls.success
- failed-call rate per tool, from the ledger of deliverable 8
- input tokens read per chat turn (today 26,037 on average), from gateway_calls
- replies flagged by reply-lint per hundred turns, from the weekly export
- share of threads with verdict yes, partly, no, unknown, per week
- turns to result per intent, and turns skipped by the fast-path table
- prompt sections unused per surface, from deliverable 16
- patterns open, fixed and returned