lfg is a Bun/TypeScript Grok Build plugin workspace for an OMO-like agent hierarchy. The active plugin package is plugins/lfg/. Shared agent/runtime building blocks are vendored under plugins/lfg/vendor/omo-standalone/, then re-exported into this workspace through plugins/lfg/vendor-links/* and the root TypeScript path aliases.
The repo goal is straightforward: ship lfg and ulw as Grok-facing CLI/plugin surfaces while keeping the underlying orchestration model close to OMO semantics—Sisyphus orchestration, Prometheus planning, Atlas checklist execution, Hephaestus deep work, category routing, hooks, MCP tools, and durable .lfg/ state—without pretending unfinished Grok-native host behavior is already complete.
- Runtime: Bun/TypeScript only. The old Python packaging/runtime layer has been removed.
- Plugin package:
plugins/lfg/contains the CLI entrypoints, MCP server, hook registration, skills, smoke runner, and runtime implementation. - Vendored OMO source:
plugins/lfg/vendor/omo-standalone/is the pinned upstream TypeScript workspace used as the shared logic base. - Workspace bridges:
plugins/lfg/vendor-links/*re-export vendored packages so the root workspace can import@oh-my-opencode/*consistently. - Command surface:
lfgis the main CLI;ulwis the ultrawork-oriented alias. - State: runtime and execution state lives under
.lfg/.
./
package.json
tsconfig.json
README.md
ROADMAP.md
docs/
tests/
plugins/lfg/
bin/
hooks/
skills/
src/
vendor-links/
vendor/omo-standalone/
Important paths:
plugins/lfg/bin/lfg.ts— active TypeScript CLI gatewayplugins/lfg/bin/ulw— ultrawork wrapper aliasplugins/lfg/bin/lfg-mcp.ts— MCP stdio serverplugins/lfg/src/runtime-ts/index.ts— runtime routerplugins/lfg/src/mcp-ts/— MCP implementationplugins/lfg/src/hooks-ts/— hook implementationplugins/lfg/bin/self-test.ts— canonical local self-test
Primary product path:
-
Open Grok Build.
-
Open
/plugins. -
Add the marketplace source:
https://raw.githubusercontent.com/islee23520/lfg/main/.grok/plugins/marketplace.json -
Install
lfg. -
Enable the plugin.
For repository development, use the Bun workspace directly.
bun install
bun run --filter './plugins/lfg' buildIf you refresh vendored package bridges after updating plugins/lfg/vendor/omo-standalone/, run:
bun --cwd plugins/lfg run refresh:vendor-linksRepresentative commands from the active TS runtime:
plugins/lfg/bin/lfg agents list
plugins/lfg/bin/lfg route --category quick --task "execute a bounded task"
plugins/lfg/bin/lfg spawn sisyphus-junior --category quick --task "fix the smoke gate"
plugins/lfg/bin/lfg plan create "ship docs cleanup" --steps "inspect;implement;verify"
plugins/lfg/bin/lfg atlas start-work --plan-id <plan-id>
plugins/lfg/bin/lfg hephaestus goal "stabilize vendor bridge"
plugins/lfg/bin/lfg hyperplan "review Grok spawn adapter"
plugins/lfg/bin/lfg doctor
plugins/lfg/bin/lfg doctor state schema check
plugins/lfg/bin/lfg team preflight
plugins/lfg/bin/lfg setup
plugins/lfg/bin/lfg setup checkLocal TypeScript/Bun gates:
bun test plugins/lfg/src/runtime-ts plugins/lfg/src/mcp-ts plugins/lfg/src/hooks-ts plugins/lfg/src/smoke-ts plugins/lfg/test-utils
bun plugins/lfg/bin/self-test.ts
plugins/lfg/bin/lfg --json doctorManual/environment-specific Grok host gates remain documented in docs/SMOKE.md. Those gates should stay explicit; do not silently promote them into "done" claims without recorded evidence.
- Grok-native named child spawning still depends on host/manual evidence.
- Oracle-style review and release-readiness discipline remain part of the product contract.
- Vendored OMO packages are a real implementation dependency, not a marketing footnote; docs should mention them whenever shared runtime behavior is described.
ROADMAP.md— current forward roadmap from the TypeScript cutover baselinedocs/ARCHITECTURE.md— runtime and agent-system detailsdocs/SMOKE.md— smoke and manual verification proceduresdocs/TEST_RULES.md— gate classification rules