mirror of
https://github.com/garrytan/gbrain.git
synced 2026-07-28 14:59:47 +00:00
New reference docs:
- skills/conventions/cron-via-minions.md — the rewrite convention for
cron manifests. Shows the Postgres (fire-and-forget + idempotency-
key) vs PGLite (--follow inline) branch; explains why builtin-only
auto-rewrite is safe + how host-specific handlers get the plugin
contract.
- docs/guides/plugin-handlers.md — the plugin contract for host-
specific Minion handlers. Code-level registration via import +
worker.register(), not a data file (Codex D: handlers.json was an
RCE surface). Concrete TypeScript skeleton + handler contract
(ctx.data, ctx.signal, ctx.inbox) + full migration flow from TODO
JSONL to a rewritten cron entry.
- docs/guides/minions-fix.md — user-facing troubleshooting for
half-migrated v0.11.0 installs. Paste-one-liner for the stopgap,
gbrain apply-migrations path for v0.11.1+, verification commands,
failure-mode recipes.
Rewrites + updates:
- skills/migrations/v0.11.0.md — body restored as the host-agent
instruction manual. Audience is the host agent reading
~/.gbrain/migrations/pending-host-work.jsonl after the CLI
orchestrator has done the mechanical phases. Walks each TODO type
through the 10-item skillify checklist (plugin contract, ship
bootstrap, unit tests, integration tests, LLM evals, resolver
trigger, trigger eval, E2E smoke, brain filing, check-resolvable).
Reverses the earlier "delete the body" decision (1B) because the
body serves a different audience now — host-agent, not CLI
documentation.
- skills/cron-scheduler/SKILL.md — Phase 4 ("Register with host
scheduler") now references cron-via-minions + plugin-handlers.
- skills/maintain/SKILL.md — new "Fix a half-migrated install"
section with the apply-migrations recipe.
- skills/setup/SKILL.md — new Phase C.5 "One-step autopilot +
Minions install (v0.11.1+)" explaining the four install targets
+ the OpenClaw auto-injection default.
- docs/GBRAIN_SKILLPACK.md — Operations section adds the three new
guides + the subagent-routing and cron-routing SKILLPACK notes
(v0.11.0+).
All 167 related tests (conformance + resolver + skillify-check + v0_11_0
orchestrator) stay green.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>