glib-code integration
How glib-code consumes GitTrix as its storage-routing layer.
glib-code is the canonical downstream consumer for GitTrix v1.
- Repo: https://github.com/cloudboy-jh/glib-code
- Responsibility split: glib-code handles UI and agent loop; GitTrix handles session lifecycle and storage routing.
const session = await gittrix.startSession({ task: 'implement feature x' })const agentSession = session.forAgent() // narrowed API, no promote// agent uses agentSession for read/write/commit// user reviews diff in glib UIawait session.promote({ selector: { all: true }, strategy: 'auto', message: 'Promote accepted work' })