Artifact cf9df0c444a087bdd2d8d3cb2f1646749fc02b58d43471217f2c8d2e6d324244:
- File
ci/tiers.allow
— part of check-in
[8f2d30d39e]
at
2026-11-22 20:18:02
on branch keel-rpc
— Cut the RPC command registry seam
Components register RPC commands (name, help, flags, answer) and main.c wires them; rpc.c dispatches by name without including catalog.h, compact.h, prompts.h or skills.h. get_available_models and get_commands move to src/listings.c; rewind uses the new call shape. Whether compaction is automatic and the token estimate come through the context policy (automatic, tokens). Allowance 29 -> 25, stubs 29 -> 20. (user: pi-c-agent, size: 3217) [annotate] [blame] [check-ins using] [more...]
# Today's leaks in the tier manifest, one per line, each with a reason (docs/design/keel.md). # include FILE HEADER reason a core or client file includes a header its tier should not # name FILE WORD reason a core file names a vendor or model (lower case) # Each line must still excuse something, and the line count never exceeds "# allowance:" in # ci/tiers.tsv. A seam that lands deletes its lines and lowers the number. include src/pic.h src/models.h pic.h carries pic_model in the store's request types; split a component-facing header when the first seam is cut include src/loop.c src/models.h loop.c prices replies and reads thinking levels from the registry; leaves with catalog rows include src/tui/app.c src/compact.h the client runs compaction directly; needs an RPC command include src/tui/app.c src/cred.h the client unlocks and stores credentials directly; unlocking stays local, the rest needs RPC commands include src/tui/app.c src/help.h the client shows pic help topics directly include src/tui/app.c src/hooks.h the client reads hook state directly; needs an RPC command include src/tui/app.c src/models.h the client resolves models directly; needs an RPC command include src/tui/app.c src/procs.h the client lists processes directly; needs an RPC command include src/tui/app.c src/prompts.h the client expands templates directly; needs an RPC command include src/tui/app.c src/skills.h the client expands skills directly; needs an RPC command include src/tui/app.c src/userdb.h the client opens the user database directly; needs RPC commands include src/tui/atfile.c src/ignore.h @file completion reuses the ignore matcher; move the matcher behind an RPC command or share it as a tui helper include src/tui/clipboard.c src/image.h the clipboard reads images through core's image limits name src/image.h anthropic the image limit comment cites Anthropic's size cap; comment only, belongs in the adapter name src/pic.h anthropic the cache-retention comment and pic_neutral_from_anthropic live in the shared header; move with the adapter name src/pic.h openai the cache-retention and image-budget comments cite OpenAI; move with the adapter name src/provider_fake.c anthropic scripted replies are Anthropic-shaped and decoded by pic_neutral_from_anthropic; give the script a neutral form name src/provider_http.c anthropic the adapter switch and cache settings name the adapters; replace with registration name src/provider_http.c gemini the adapter switch and cache lifetime name Gemini; replace with registration name src/provider_http.c openai the cache retention names OpenAI; move into the adapters that use it name src/provider_http.h anthropic declares pic_provider_anthropic_new; replace with registration name src/provider_http.h gemini declares pic_provider_gemini_new; replace with registration name src/store.c anthropic the version-3 migration reads Anthropic-form replies; a frozen migration, delete the line only when that step is retired name src/transform.c anthropic the id and message shapes and pic_neutral_from_anthropic are Anthropic's; move to its adapter when next touched name src/transform.c openai the id rules for OpenAI shapes live here; move to the adapters