beans prime currently exits successfully but writes zero bytes when run outside a repo that already has .beans / .beans.yml.
That behavior is confusing because prime is specifically the command that is supposed to teach an agent how to use beans.
Reproduction
Outside a beans-enabled project:
$ beans prime | wc -c
0
$ echo $?
0
Inside a beans-enabled project:
$ beans prime | wc -c
7383
Expected
One of these should happen:
beans prime should always print the generic priming text, even before beans init
- or it should fail clearly with a message like
no beans project found; run 'beans init' first
Actual
It exits successfully and prints nothing.
Why this is a problem
Silent success makes it look like the command is broken, swallowed output, or behaved inconsistently depending on hidden project state.
Environment
$ beans version
beans dev (unknown) built unknown
Binary module info:
github.com/hmans/beans v0.4.0
beans primecurrently exits successfully but writes zero bytes when run outside a repo that already has.beans/.beans.yml.That behavior is confusing because
primeis specifically the command that is supposed to teach an agent how to use beans.Reproduction
Outside a beans-enabled project:
Inside a beans-enabled project:
$ beans prime | wc -c 7383Expected
One of these should happen:
beans primeshould always print the generic priming text, even beforebeans initno beans project found; run 'beans init' firstActual
It exits successfully and prints nothing.
Why this is a problem
Silent success makes it look like the command is broken, swallowed output, or behaved inconsistently depending on hidden project state.
Environment
Binary module info: