Skip to content

Trim tool copy; land gating-column drops; rebuild recipe_save spec - #546

Merged
sysread merged 2 commits into
mainfrom
toolbox-cleanup-final
Sep 9, 2026
Merged

sysread merged 2 commits into
mainfrom
toolbox-cleanup-final

Conversation

@sysread

@sysread sysread commented Sep 9, 2026

Copy link
Copy Markdown
Owner

SYNOPSIS

Rebuilds the recipe_save description examples-first, trims conversation_search, lands the deferred toolboxes_enabled/tools_enabled drops, and rechecks token costs against prod.

PURPOSE

Continues the tool-consolidation session (#543/#544/#545). The photo quartet and record pairs stay separate by design (disjoint param sets), so their token cost comes from copy trim; the recipe spec had accreted prose rules that needed collapsing into intention; the gating columns were waiting their one-release deferral.

DESCRIPTION

  • recipe_save rebuilt (2181 -> 1750 chars): accreted prose collapses into upsert contract -> one-line grammar -> inline-reference example -> terse wrong-vs-right guards. Every observed-failure guard intact, including a new note-after-reference guard QA surfaced.
  • conversation_search trimmed (2460 -> ~860 chars): drops the summary restatement and passage-absence negation; RANKING-IS-BY-TOPIC stays verbatim (observed-failure guard).
  • Column drops live: toolboxes_enabled / tools_enabled dropped (two releases deployed since the deferral; verified against prod).
  • Token recheck: declare-everything did NOT raise cold prompts by the predicted +10k; cache rides as designed; zero empty completions since Retire toolbox gating; every tool declared on every request #543.

NOTES

  • Wire: 63.5k chars (~18.2k tokens), down from ~20.1k at session start.
  • Structured-params alternative investigated and rejected (token wash, error-surface shift); documented in scratch/ with the schema kept as a future starting point.
  • Intentional deletion: the deferred-column comment block in schema.sql is replaced by the live drops.

…tokens

conversation_search: 2460 -> ~1990 chars. Drops the 'summary is
auto-generated' restatement (implied by the return shape), the
passage-absence clause (a negation the model can infer), and tightens
the within_days/prefer_recent param prose. The RANKING-IS-BY-TOPIC
guard - the observed-failure guard that made this tool big - stays
verbatim.

recipe_save rebuilt: 2181 -> 1718 chars. The accreted prose rules
collapse into a one-line grammar + inline-reference example + terse
wrong-vs-right guards. Every observed-failure guard intact; the full
cooklang spec stays in docs/user/cookbook.md for humans.

toolboxes_enabled / tools_enabled drops go live: two releases have
deployed since the deferral, so no cached pre-gating-retirement bundle
can still be in service. Verified dropped against prod.

Token recheck (30h post-merge window, small n): declare-everything did
NOT raise cold prompts by the predicted +10k (24,865 vs 31,393 gated
era); continuation marginal growth is 17.3% of full prompt - the cache
rides as designed; zero empty completions since #543 (both 900-1000 ct
turns delivered full content). Full writeup in scratch/.
QA surfaced the miss on first attempt: the model wrote prep hints
inside the ingredient name (@finely chopped basil) - syntactically
legal cooklang, so the validator accepts it and the hint renders as
part of the name instead of a note. The rebuilt spec's guards now name
it explicitly with the wrong-vs-right pair, matching the other
observed-failure guards.
@sysread
sysread merged commit 144ecc1 into main Sep 9, 2026
1 check passed
@sysread
sysread deleted the toolbox-cleanup-final branch September 9, 2026 18:54
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