Skip to content

grodingo/pi-brv-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pi-brv-init

Pi extension that injects a ByteRover workflow reminder into the system prompt on the first turn of every session. Ensures the LLM never forgets to load context and curate memory.

How it works

  1. session_start — resets a flag
  2. before_agent_start (first turn only) — appends a reminder to the system prompt:
    • Load the byterover-memory skill
    • Run brv query + brv swarm query in parallel
    • Run brv curate after completing work
  3. Flag is cleared, so subsequent turns in the same session are unaffected

Installation

Via pi install (recommended)

pi install https://github.com/<user>/pi-brv-init

Manual

Copy src/index.ts to ~/.pi/agent/extensions/brv-init/index.ts, then /reload in pi.

Dependencies

  • @earendil-works/pi-coding-agent (peer, provided by pi runtime)
  • Zero npm dependencies

Prerequisites

  • brv CLI installed (npm install -g byterover-cli)
  • byterover-memory skill in ~/.pi/agent/skills/
  • brv providers connect byterover (or another LLM provider) for brv query/brv curate

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors