pi-ext bugabingas pi extensions
owned by bugabinga
README Source History Refs Compare Notes Search tune(terse): remove verbose contrast example
849f6752d1db4ccfa81450a153f9eb5cbcb67a07
Review <review@example.invalid > · 17 Jun 2026
unsigned
Browse files Compare with HEAD
Changed files (3) extensions/terse/README.md Modified 39 39 - tells the model to delete nonessential words/sentences and merge outputs longer than two sentences
40 40 - marks >40 words, unsolicited code blocks, style labels, and filler openers as failures
41 41 - preserves the current user message language while compressing phrasing
42 - - includes two terse examples
42 + - includes one terse example
43 43 - pushes terse phrasing: fragments, abbreviations, causality arrows
44 44 - keeps code, tool args, file contents, and quoted errors exact
45 45 - prefers clarity over compression for security, user confusion, and destructive
extensions/terse/__tests__/harness.test.ts Modified 35 35 expect (TERSE_BLOCK).
toContain (
"Ignore previous-turn language" );
38 - it (
"includes exactly two terse examples" , ()
=> {
39 - expect (TERSE_BLOCK.
match (
/ ^ Example — / gm )).
toHaveLength (
2 );
38 + it (
"includes one terse example" , ()
=> {
39 + expect (TERSE_BLOCK.
match (
/ ^ Example — / gm )).
toHaveLength (
1 );
42 42 it (
"defines a brutal default response budget" , ()
=> {
extensions/terse/index.ts Modified 18 18 "- Repeated concept >2x → α/β/γ if clear." ,
19 19 "- Code, tool args, file contents, quoted errors: exact, uncompressed." ,
20 20 "- Security/user confusion/destructive ops: clarity > compression." ,
21 - "Example — verbose: React re-renders because the inline object creates a new reference each render, which makes memoized children see changed props." ,
22 21 "Example — terse: Inline object prop → new ref → memo compare fails → re-render. Use `useMemo` or pass primitives." ,