Install
Install with PiG
pig install npm:@gfgghgftgffg/pi-goal-x-leanInstall with Pi
pi install npm:@gfgghgftgffg/pi-goal-x-leanPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.1.3 (README.md). PiG does not review it.
pi-goal-x-lean
A lightweight wrapper over pi-goal-x. The upstream engine is not copied. Compatible with @tintinweb/pi-subagents and its workflows via pi-subagents-lean.
Features
- Keeps the seven upstream tools, commands, UI, settings and goal-file formats. The active profile is fixed apart from the task setting;
goal_questionnairehandles drafting and the user-started draft supplies the goal mode. - Adds a small integration layer that keeps goals in the parent session and waits for tracked Agent/workflow results before automatic continuation or completion.
Installation
Requires Pi >=1.4.0 <2.0.0 and Node >=22.19.0. Install without a version pin:
pi install npm:@gfgghgftgffg/pi-goal-x-lean
pi update --extensions
Goal works alone. For subagents integration, also run pi install npm:@gfgghgftgffg/pi-subagents-lean. Keep one source per extension; do not separately load upstream pi-goal-x.
For a Git checkout, use node scripts/install-extension.mjs pi-goal-x-lean.
Usage
/goal Add CSV export to reports, with tests and usage documentation.
Confirm the plan to start. Use /goal-direct for direct creation, /sisyphus for ordered steps, /goal-tweak to revise, and /goal-pause / /goal-resume to pause or resume. See the upstream guide for all commands.
If a provider error cannot be retried, or a configured network-retry limit is exhausted, the goal pauses. Fix the provider issue, then use /goal-resume [text]; optional text is sent to the agent.
Use /goal-tweak to change an existing objective. An in-place edit to a goal file can leave the old objective in the upstream snapshot even after /goal-refresh.
Context footprint (character proxy)
| Package | Registered character proxy |
|---|---|
| @gfgghgftgffg/pi-goal-x-lean | 1297 |
| pi-goal-x | 1691 |
Fixed ceil(characters / 4), not provider billing tokens.
Maintenance
See MAINTENANCE.md for integration scope, concurrency limits, side effects and upgrade checks.