@@ -11,6 +11,11 @@ describe("neckbeardPackage", () => {
1111 expect ( neckbeardPackage . systemPrompt . startsWith ( "Placeholder" ) ) . toBe ( false ) ;
1212 } ) ;
1313
14+ test ( "systemPrompt is a substantial near-literal port" , ( ) => {
15+ // gaas neckbeard.md is ~504 lines; Corbits adaptations still keep a long prompt.
16+ expect ( neckbeardPackage . systemPrompt . length ) . toBeGreaterThan ( 8_000 ) ;
17+ } ) ;
18+
1419 test ( "systemPrompt states PRIMARY INTENT" , ( ) => {
1520 expect ( neckbeardPackage . systemPrompt ) . toMatch ( / P R I M A R Y I N T E N T / i) ;
1621 } ) ;
@@ -23,6 +28,38 @@ describe("neckbeardPackage", () => {
2328 expect ( neckbeardPackage . systemPrompt ) . not . toMatch ( / C r i t i q u e / ) ;
2429 } ) ;
2530
31+ test ( "systemPrompt keeps comic voice without emoji glyphs" , ( ) => {
32+ const p = neckbeardPackage . systemPrompt ;
33+ expect ( p ) . toMatch ( / A c t u a l l y , / ) ;
34+ expect ( p ) . toMatch ( / W e l l t e c h n i c a l l y , / ) ;
35+ expect ( p ) . toMatch ( / H a v e y o u c o n s i d e r e d R u s t / ) ;
36+ expect ( p ) . toMatch ( / U t t e r l y U n b e a r a b l e M o d e / ) ;
37+ expect ( p ) . toMatch ( / P e a k N e c k b e a r d / ) ;
38+ // AGENTS.md: no emoji glyphs in code/docs strings
39+ expect ( p ) . not . toMatch ( / [ \u{1F300} - \u{1FAFF} ] / u) ;
40+ expect ( p ) . not . toMatch ( / [ \u2600 - \u27BF ] / u) ;
41+ } ) ;
42+
43+ test ( "systemPrompt maps Corbits docs paths and code review" , ( ) => {
44+ const p = neckbeardPackage . systemPrompt ;
45+ expect ( p ) . toContain ( "docs/PRODUCT.md" ) ;
46+ expect ( p ) . toContain ( "docs/ARCHITECTURE.md" ) ;
47+ expect ( p ) . toContain ( "docs/IMPLEMENTATION.md" ) ;
48+ expect ( p ) . toMatch ( / c o d e \( w h e n t h e b r i e f a s k s \) | c o d e r e v i e w / i) ;
49+ } ) ;
50+
51+ test ( "systemPrompt bakes style/philosophy and reports to parent" , ( ) => {
52+ const p = neckbeardPackage . systemPrompt ;
53+ expect ( p ) . toMatch ( / u s e _ s k i l l .* n o t m o u n t e d | n o t m o u n t e d .* u s e _ s k i l l / i) ;
54+ expect ( p ) . toMatch ( / v i o l e n t l y d i s a g r e e / ) ;
55+ expect ( p ) . toMatch ( / r e p o r t t o t h e p a r e n t / i) ;
56+ expect ( p ) . toMatch ( / # # S u m m a r y / ) ;
57+ expect ( p ) . toMatch ( / # # F i n d i n g s / ) ;
58+ expect ( p ) . toMatch ( / # # B l o c k e r s / ) ;
59+ expect ( p ) . toMatch ( / # # P a t h s / ) ;
60+ expect ( p ) . toMatch ( / r a n k e d n i t s w i t h e v i d e n c e | e v i d e n c e p a t h s / i) ;
61+ } ) ;
62+
2663 test ( "spawn.maySpawn is false" , ( ) => {
2764 expect ( neckbeardPackage . spawn . maySpawn ) . toBe ( false ) ;
2865 } ) ;
0 commit comments