How rfxlamia/pocketto works
Pocketto provides structured AI coding workflows as installable skills, with a local-first Core and an optional Enterprise adapter. The documented feature path moves from problem exploration and specification through planning, task structuring, delegated development and review, then gated closure. The repository tree sampled here primarily exposes the CLI and lifecycle machinery behind those workflows, plus Enterprise reconciliation; skill implementation files are not present in this tree. Edges reflect sampled source references or explicit README statements, so some workflow handoffs remain undocumented at code level.
Main entry points: lifecycle-transition.js Lifecycle transitions · index.js CLI entry · log.js Plan progress log · dispatch.js Event dispatch
Components 17
Core CLI and plans
- CLI entry
cli/index.js - Plan structuring
cli/commands/structure.js - Plan progress log
cli/commands/log.js - Git workflow helpers
cli/lib/git-worktree.js
Lifecycle coordination
- Lifecycle transitions
cli/lib/lifecycle-transition.js - Event contract
cli/lib/lifecycle-contract.js - Lifecycle state store
cli/lib/lifecycle-store.js - Event log
cli/lib/logjson.js - Adapter compatibility
cli/lib/lifecycle-adapter.js
Enterprise reconciliation
- Enterprise CLI
enterprise/cli.js - Event dispatch
enterprise/dispatch.js - Phase reconciliation
enterprise/phase-handler.js - Plan closeout
enterprise/closure-handler.js - Enterprise metadata
enterprise/meta.js
Standalone support
- Education workflow
cli/commands/edu.js
Other components
- Coding agent
- GitHub
Connections 17
- Coding agent → CLI entry: invokes
- CLI entry → Plan structuring: routes
cli/index.js - CLI entry → Plan progress log: routes
cli/index.js - Plan progress log → Lifecycle transitions: records transitions
cli/commands/log.js - Lifecycle transitions → Event contract: validates events
cli/lib/lifecycle-transition.js - Lifecycle transitions → Lifecycle state store: commits state
cli/lib/lifecycle-transition.js - Lifecycle transitions → Event log: projects events
cli/lib/lifecycle-transition.js - Lifecycle transitions → Adapter compatibility: dispatches through
cli/lib/lifecycle-transition.js - Plan progress log → Git workflow helpers: reads Git state
cli/commands/log.js - Enterprise CLI → Event dispatch: dispatches events
- Event dispatch → Phase reconciliation: routes phase events
- Event dispatch → Plan closeout: routes close events
- Phase reconciliation → Enterprise metadata: reads and writes
enterprise/phase-handler.js - Plan closeout → Enterprise metadata: reads metadata
enterprise/closure-handler.js - Plan closeout → GitHub: reconciles remotely
enterprise/closure-handler.js - Phase reconciliation → GitHub: reconciles remotely
- Coding agent → Education workflow: opts into learning