prjct-cli 0.35.2 → 0.35.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/commands/analysis.ts +58 -32
- package/core/commands/command-data.ts +11 -50
- package/core/commands/commands.ts +18 -21
- package/core/commands/context.ts +238 -0
- package/core/commands/register.ts +7 -5
- package/core/commands/setup.ts +1 -17
- package/core/commands/workflow.ts +3 -2
- package/core/index.ts +2 -4
- package/core/services/index.ts +2 -0
- package/core/services/sync-service.ts +1080 -0
- package/core/types/commands.ts +0 -12
- package/core/types/index.ts +0 -1
- package/dist/bin/prjct.mjs +1219 -310
- package/package.json +2 -8
- package/templates/_bases/tracker-base.md +309 -0
- package/templates/agentic/agent-routing.md +22 -88
- package/templates/agentic/agents/uxui.md +42 -197
- package/templates/agentic/context-filtering.md +14 -56
- package/templates/agentic/orchestrator.md +31 -365
- package/templates/agentic/skill-integration.md +37 -289
- package/templates/agentic/subagent-generation.md +31 -104
- package/templates/agentic/task-fragmentation.md +39 -273
- package/templates/agents/AGENTS.md +32 -188
- package/templates/commands/bug.md +22 -520
- package/templates/commands/dash.md +26 -161
- package/templates/commands/done.md +19 -250
- package/templates/commands/enrich.md +21 -732
- package/templates/commands/github.md +9 -0
- package/templates/commands/history.md +296 -83
- package/templates/commands/idea.md +18 -160
- package/templates/commands/init.md +20 -209
- package/templates/commands/jira.md +9 -0
- package/templates/commands/linear.md +9 -0
- package/templates/commands/merge.md +21 -185
- package/templates/commands/monday.md +9 -0
- package/templates/commands/next.md +21 -103
- package/templates/commands/p.md +198 -63
- package/templates/commands/pause.md +21 -272
- package/templates/commands/resume.md +19 -348
- package/templates/commands/setup.md +0 -1
- package/templates/commands/ship.md +30 -627
- package/templates/commands/sync.md +11 -1345
- package/templates/commands/task.md +17 -439
- package/templates/commands/test.md +30 -259
- package/CLAUDE.md +0 -211
- package/packages/shared/node_modules/@types/bun/LICENSE +0 -21
- package/packages/shared/node_modules/@types/bun/README.md +0 -20
- package/packages/shared/node_modules/@types/bun/index.d.ts +0 -1
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/CLAUDE.md +0 -105
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/README.md +0 -33
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/bun.d.ts +0 -7032
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/bun.ns.d.ts +0 -5
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/bundle.d.ts +0 -74
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/deprecated.d.ts +0 -184
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/devserver.d.ts +0 -187
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/README.md +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/bytecode.mdx +0 -465
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/css.mdx +0 -1024
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/esbuild.mdx +0 -298
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/executables.mdx +0 -1277
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/fullstack.mdx +0 -1086
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/hot-reloading.mdx +0 -229
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/html-static.mdx +0 -488
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/index.mdx +0 -1604
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/loaders.mdx +0 -451
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/macros.mdx +0 -328
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/minifier.mdx +0 -1286
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/plugins.mdx +0 -425
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/feedback.mdx +0 -75
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-array.mdx +0 -29
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-blob.mdx +0 -26
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-buffer.mdx +0 -27
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-string.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-typedarray.mdx +0 -41
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-arraybuffer.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-dataview.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-stream.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-string.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-typedarray.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-arraybuffer.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-blob.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-readablestream.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-string.mdx +0 -27
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-typedarray.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/dataview-to-string.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-arraybuffer.mdx +0 -27
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-blob.mdx +0 -18
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-buffer.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-dataview.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-readablestream.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-string.mdx +0 -18
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/aws-lambda.mdx +0 -204
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/digital-ocean.mdx +0 -161
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/google-cloud-run.mdx +0 -194
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/railway.mdx +0 -145
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/render.mdx +0 -82
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/vercel.mdx +0 -97
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/astro.mdx +0 -82
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/discordjs.mdx +0 -80
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/docker.mdx +0 -151
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/drizzle.mdx +0 -195
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/elysia.mdx +0 -31
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/express.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/gel.mdx +0 -261
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/hono.mdx +0 -47
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/mongoose.mdx +0 -92
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/neon-drizzle.mdx +0 -234
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/neon-serverless-postgres.mdx +0 -60
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/nextjs.mdx +0 -103
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/nuxt.mdx +0 -96
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/pm2.mdx +0 -55
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/prisma-postgres.mdx +0 -169
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/prisma.mdx +0 -164
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/qwik.mdx +0 -114
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/react.mdx +0 -52
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/remix.mdx +0 -97
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/sentry.mdx +0 -54
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/solidstart.mdx +0 -62
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/ssr-react.mdx +0 -49
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/stric.mdx +0 -54
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/sveltekit.mdx +0 -138
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/systemd.mdx +0 -114
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/tanstack-start.mdx +0 -791
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/upstash.mdx +0 -87
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/vite.mdx +0 -77
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/html-rewriter/extract-links.mdx +0 -71
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/html-rewriter/extract-social-meta.mdx +0 -97
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/cluster.mdx +0 -69
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/fetch-unix.mdx +0 -35
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/fetch.mdx +0 -26
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/file-uploads.mdx +0 -97
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/hot.mdx +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/proxy.mdx +0 -50
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/server.mdx +0 -48
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/simple.mdx +0 -20
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/stream-file.mdx +0 -50
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/stream-iterator.mdx +0 -49
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/stream-node-streams-in-bun.mdx +0 -22
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/tls.mdx +0 -32
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/index.mdx +0 -10
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-dev.mdx +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-git.mdx +0 -40
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-optional.mdx +0 -27
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-peer.mdx +0 -45
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-tarball.mdx +0 -35
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add.mdx +0 -44
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/azure-artifacts.mdx +0 -76
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/cicd.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/custom-registry.mdx +0 -32
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/from-npm-install-to-bun-install.mdx +0 -230
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/git-diff-bun-lockfile.mdx +0 -48
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/jfrog-artifactory.mdx +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/npm-alias.mdx +0 -25
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/registry-scope.mdx +0 -40
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/trusted.mdx +0 -52
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/workspaces.mdx +0 -70
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/yarnlock.mdx +0 -51
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/argv.mdx +0 -66
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/ctrl-c.mdx +0 -18
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/ipc.mdx +0 -69
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/nanoseconds.mdx +0 -15
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/os-signals.mdx +0 -31
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/spawn-stderr.mdx +0 -34
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/spawn-stdout.mdx +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/spawn.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/stdin.mdx +0 -62
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/arraybuffer.mdx +0 -30
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/buffer.mdx +0 -21
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/exists.mdx +0 -18
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/json.mdx +0 -19
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/mime.mdx +0 -22
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/stream.mdx +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/string.mdx +0 -24
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/uint8array.mdx +0 -23
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/watch.mdx +0 -66
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/build-time-constants.mdx +0 -295
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/cicd.mdx +0 -45
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/codesign-macos-executable.mdx +0 -61
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/define-constant.mdx +0 -149
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/delete-directory.mdx +0 -39
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/delete-file.mdx +0 -21
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/heap-snapshot.mdx +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-html.mdx +0 -15
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-json.mdx +0 -46
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-toml.mdx +0 -32
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-yaml.mdx +0 -104
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/read-env.mdx +0 -37
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/set-env.mdx +0 -51
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/shell.mdx +0 -42
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/timezone.mdx +0 -38
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/tsconfig-paths.mdx +0 -31
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/typescript.mdx +0 -51
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/vscode-debugger.mdx +0 -47
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/web-debugger.mdx +0 -103
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-arraybuffer.mdx +0 -13
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-blob.mdx +0 -13
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-json.mdx +0 -14
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-string.mdx +0 -14
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-uint8array.mdx +0 -13
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-array.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-arraybuffer.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-blob.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-buffer.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-json.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-string.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-typedarray.mdx +0 -24
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/bail.mdx +0 -24
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/concurrent-test-glob.mdx +0 -146
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/coverage-threshold.mdx +0 -67
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/coverage.mdx +0 -49
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/happy-dom.mdx +0 -73
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/migrate-from-jest.mdx +0 -125
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/mock-clock.mdx +0 -50
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/mock-functions.mdx +0 -70
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/rerun-each.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/run-tests.mdx +0 -116
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/skip-tests.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/snapshot.mdx +0 -102
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/spy-on.mdx +0 -49
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/svelte-test.mdx +0 -113
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/testing-library.mdx +0 -93
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/timeout.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/todo-tests.mdx +0 -74
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/update-snapshots.mdx +0 -49
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/watch-mode.mdx +0 -24
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/base64.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/deep-equals.mdx +0 -41
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/deflate.mdx +0 -20
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/detect-bun.mdx +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/entrypoint.mdx +0 -19
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/escape-html.mdx +0 -24
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/file-url-to-path.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/gzip.mdx +0 -20
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/hash-a-password.mdx +0 -56
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/import-meta-dir.mdx +0 -15
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/import-meta-file.mdx +0 -15
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/import-meta-path.mdx +0 -15
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/javascript-uuid.mdx +0 -25
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/main.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/path-to-file-url.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/sleep.mdx +0 -24
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/upgrade.mdx +0 -93
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/version.mdx +0 -23
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/which-path-to-executable-bin.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/compression.mdx +0 -33
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/context.mdx +0 -79
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/pubsub.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/simple.mdx +0 -38
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/append.mdx +0 -54
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/basic.mdx +0 -46
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/blob.mdx +0 -30
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/cat.mdx +0 -19
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/file-cp.mdx +0 -18
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/filesink.mdx +0 -54
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/response.mdx +0 -19
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/stdout.mdx +0 -23
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/stream.mdx +0 -19
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/unlink.mdx +0 -18
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/index.mdx +0 -133
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/installation.mdx +0 -365
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/bunx.mdx +0 -91
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/catalogs.mdx +0 -292
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/add.mdx +0 -179
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/audit.mdx +0 -60
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/info.mdx +0 -70
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/install.mdx +0 -606
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/link.mdx +0 -61
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/outdated.mdx +0 -197
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/patch.mdx +0 -69
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/pm.mdx +0 -323
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/publish.mdx +0 -131
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/remove.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/update.mdx +0 -140
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/why.mdx +0 -84
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/filter.mdx +0 -102
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/global-cache.mdx +0 -72
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/isolated-installs.mdx +0 -220
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/lifecycle.mdx +0 -64
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/lockfile.mdx +0 -64
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/npmrc.mdx +0 -111
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/overrides.mdx +0 -83
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/scopes-registries.mdx +0 -35
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/security-scanner-api.mdx +0 -95
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/workspaces.mdx +0 -115
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/benchmarking.mdx +0 -241
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/bindgen.mdx +0 -223
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/building-windows.mdx +0 -133
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/contributing.mdx +0 -388
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/feedback.mdx +0 -20
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/license.mdx +0 -78
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/roadmap.mdx +0 -8
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/quickstart.mdx +0 -251
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/auto-install.mdx +0 -97
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/binary-data.mdx +0 -846
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/bun-apis.mdx +0 -59
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/bunfig.mdx +0 -723
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/c-compiler.mdx +0 -204
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/child-process.mdx +0 -659
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/color.mdx +0 -267
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/console.mdx +0 -67
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/cookies.mdx +0 -454
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/debugger.mdx +0 -335
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/environment-variables.mdx +0 -231
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/ffi.mdx +0 -565
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/file-io.mdx +0 -306
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/file-system-router.mdx +0 -118
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/file-types.mdx +0 -435
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/glob.mdx +0 -181
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/globals.mdx +0 -72
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/hashing.mdx +0 -315
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/html-rewriter.mdx +0 -333
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/cookies.mdx +0 -79
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/error-handling.mdx +0 -40
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/metrics.mdx +0 -36
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/routing.mdx +0 -289
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/server.mdx +0 -645
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/tls.mdx +0 -101
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/websockets.mdx +0 -414
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/index.mdx +0 -223
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/jsx.mdx +0 -115
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/module-resolution.mdx +0 -374
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/dns.mdx +0 -111
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/fetch.mdx +0 -484
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/tcp.mdx +0 -239
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/udp.mdx +0 -129
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/node-api.mdx +0 -19
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/nodejs-compat.mdx +0 -468
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/plugins.mdx +0 -419
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/redis.mdx +0 -583
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/s3.mdx +0 -863
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/secrets.mdx +0 -340
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/semver.mdx +0 -57
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/shell.mdx +0 -637
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/sql.mdx +0 -1404
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/sqlite.mdx +0 -721
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/streams.mdx +0 -232
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/templating/create.mdx +0 -269
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/templating/init.mdx +0 -58
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/transpiler.mdx +0 -288
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/typescript.mdx +0 -58
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/utils.mdx +0 -922
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/watch-mode.mdx +0 -161
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/web-apis.mdx +0 -29
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/workers.mdx +0 -314
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/yaml.mdx +0 -469
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/add.mdx +0 -166
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/build.mdx +0 -196
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/bunx.mdx +0 -49
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/feedback.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/init.mdx +0 -84
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/install.mdx +0 -173
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/link.mdx +0 -163
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/outdated.mdx +0 -140
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/patch.mdx +0 -171
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/publish.mdx +0 -198
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/remove.mdx +0 -146
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/run.mdx +0 -293
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/test.mdx +0 -100
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/update.mdx +0 -144
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/code-coverage.mdx +0 -409
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/configuration.mdx +0 -514
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/dates-times.mdx +0 -129
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/discovery.mdx +0 -90
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/dom.mdx +0 -226
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/index.mdx +0 -380
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/lifecycle.mdx +0 -366
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/mocks.mdx +0 -637
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/reporters.mdx +0 -126
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/runtime-behavior.mdx +0 -342
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/snapshots.mdx +0 -434
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/writing-tests.mdx +0 -672
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/typescript.mdx +0 -54
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/extensions.d.ts +0 -35
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/fetch.d.ts +0 -79
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/ffi.d.ts +0 -1154
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/globals.d.ts +0 -2067
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/html-rewriter.d.ts +0 -186
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/index.d.ts +0 -32
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/jsc.d.ts +0 -233
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/overrides.d.ts +0 -376
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/package.json +0 -37
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/redis.d.ts +0 -3352
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/s3.d.ts +0 -1299
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/security.d.ts +0 -101
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/serve.d.ts +0 -1296
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/shell.d.ts +0 -380
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/sql.d.ts +0 -887
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/sqlite.d.ts +0 -1321
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/test-globals.d.ts +0 -22
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/test.d.ts +0 -2391
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/branding.d.ts +0 -283
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/index.d.ts +0 -1207
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/messages.d.ts +0 -395
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/overloads.d.ts +0 -669
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/utils.d.ts +0 -431
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/wasm.d.ts +0 -193
- package/packages/shared/node_modules/@types/bun/package.json +0 -53
- package/packages/shared/package.json +0 -29
- package/packages/shared/src/index.ts +0 -10
- package/packages/shared/src/schemas.ts +0 -124
- package/packages/shared/src/types.ts +0 -187
- package/packages/shared/src/unified.ts +0 -174
- package/packages/shared/src/utils.ts +0 -148
- package/packages/shared/tsconfig.json +0 -18
- package/templates/commands/redo.md +0 -144
- package/templates/commands/undo.md +0 -154
|
@@ -1,227 +1,38 @@
|
|
|
1
1
|
---
|
|
2
|
-
allowed-tools: [Read, Write, Bash]
|
|
3
|
-
description: 'Initialize prjct'
|
|
4
|
-
timestamp-rule: 'GetTimestamp() for all timestamps'
|
|
5
|
-
architecture: 'Write-Through (JSON → MD → Events)'
|
|
6
|
-
storage-layer: true
|
|
2
|
+
allowed-tools: [Read, Write, Bash, AskUserQuestion]
|
|
7
3
|
---
|
|
8
4
|
|
|
9
|
-
#
|
|
5
|
+
# p. init
|
|
10
6
|
|
|
11
|
-
|
|
7
|
+
Check if already initialized (`.prjct/prjct.config.json` exists)
|
|
12
8
|
|
|
13
|
-
|
|
9
|
+
Generate UUID: `crypto.randomUUID()`
|
|
14
10
|
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
11
|
+
Create directories in `~/.prjct-cli/projects/{projectId}/`:
|
|
12
|
+
- storage/ (state.json, queue.json, ideas.json, shipped.json)
|
|
13
|
+
- context/
|
|
14
|
+
- sync/
|
|
15
|
+
- agents/
|
|
16
|
+
- memory/
|
|
19
17
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
**CRITICAL**: Project IDs MUST be standard UUIDs for PostgreSQL consistency.
|
|
23
|
-
|
|
24
|
-
```
|
|
25
|
-
Format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
|
26
|
-
Example: 550e8400-e29b-41d4-a716-446655440000
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Generate using: `crypto.randomUUID()`
|
|
30
|
-
|
|
31
|
-
## Flow
|
|
32
|
-
|
|
33
|
-
1. **Check existing**: Read `.prjct/prjct.config.json`
|
|
34
|
-
2. **Generate UUID**: Use `crypto.randomUUID()`
|
|
35
|
-
3. **Create directories**: storage/, context/, sync/, agents/, memory/
|
|
36
|
-
4. **Create config files**: local + global
|
|
37
|
-
5. **Analyze project**: Detect stack, dependencies
|
|
38
|
-
6. **Generate agents**: Based on detected stack
|
|
39
|
-
|
|
40
|
-
## Directory Structure
|
|
41
|
-
|
|
42
|
-
```
|
|
43
|
-
~/.prjct-cli/projects/{projectId}/
|
|
44
|
-
├── storage/ # Source of Truth (JSON)
|
|
45
|
-
│ ├── state.json # Current + paused task
|
|
46
|
-
│ ├── queue.json # Task queue
|
|
47
|
-
│ ├── ideas.json # Ideas list
|
|
48
|
-
│ └── shipped.json # Shipped features
|
|
49
|
-
├── context/ # For Claude (MD)
|
|
50
|
-
│ ├── CLAUDE.md # Full context
|
|
51
|
-
│ ├── now.md # Current task
|
|
52
|
-
│ ├── next.md # Queue
|
|
53
|
-
│ ├── ideas.md # Ideas
|
|
54
|
-
│ └── shipped.md # Shipped
|
|
55
|
-
├── sync/ # Backend Sync
|
|
56
|
-
│ └── pending.json # Events queue
|
|
57
|
-
├── agents/ # Specialists
|
|
58
|
-
├── memory/ # Audit Trail
|
|
59
|
-
│ └── events.jsonl
|
|
60
|
-
├── progress/ # Historical Data
|
|
61
|
-
│ └── sessions/{YYYY-MM}/
|
|
62
|
-
└── project.json # Metadata
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
## Step: Create Storage Files
|
|
66
|
-
|
|
67
|
-
### storage/state.json
|
|
68
|
-
```json
|
|
69
|
-
{
|
|
70
|
-
"currentTask": null,
|
|
71
|
-
"pausedTask": null,
|
|
72
|
-
"previousTask": null,
|
|
73
|
-
"lastUpdated": null
|
|
74
|
-
}
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
### storage/queue.json
|
|
18
|
+
Create `.prjct/prjct.config.json`:
|
|
78
19
|
```json
|
|
79
|
-
{
|
|
80
|
-
"tasks": [],
|
|
81
|
-
"lastUpdated": null
|
|
82
|
-
}
|
|
20
|
+
{"projectId": "{uuid}", "dataPath": "~/.prjct-cli/projects/{uuid}"}
|
|
83
21
|
```
|
|
84
22
|
|
|
85
|
-
|
|
86
|
-
```json
|
|
87
|
-
{
|
|
88
|
-
"ideas": [],
|
|
89
|
-
"lastUpdated": null
|
|
90
|
-
}
|
|
91
|
-
```
|
|
23
|
+
Create `{globalPath}/project.json` with project name from package.json
|
|
92
24
|
|
|
93
|
-
|
|
94
|
-
```json
|
|
95
|
-
{
|
|
96
|
-
"shipped": [],
|
|
97
|
-
"lastUpdated": null
|
|
98
|
-
}
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
### sync/pending.json
|
|
102
|
-
```json
|
|
103
|
-
[]
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
## Step: Create project.json (REQUIRED)
|
|
107
|
-
|
|
108
|
-
This file is the source of truth for the web dashboard.
|
|
109
|
-
|
|
110
|
-
### Determine Project Name
|
|
111
|
-
- Try package.json → `name` field
|
|
112
|
-
- Try Cargo.toml → `[package] name`
|
|
113
|
-
- Try pyproject.toml → `[project] name`
|
|
114
|
-
- Fallback to directory name
|
|
115
|
-
|
|
116
|
-
WRITE: `{globalPath}/project.json`
|
|
117
|
-
|
|
118
|
-
```json
|
|
119
|
-
{
|
|
120
|
-
"projectId": "{projectId}",
|
|
121
|
-
"repoPath": "{cwd}",
|
|
122
|
-
"name": "{projectName}",
|
|
123
|
-
"createdAt": "{GetTimestamp()}",
|
|
124
|
-
"lastSync": "{GetTimestamp()}"
|
|
125
|
-
}
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
## Step: Create Local Config
|
|
129
|
-
|
|
130
|
-
WRITE: `.prjct/prjct.config.json`
|
|
131
|
-
|
|
132
|
-
```json
|
|
133
|
-
{
|
|
134
|
-
"projectId": "{projectId}",
|
|
135
|
-
"dataPath": "~/.prjct-cli/projects/{projectId}"
|
|
136
|
-
}
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
## Step: Install MCP Servers
|
|
140
|
-
|
|
141
|
-
Install required MCP servers by merging `templates/mcp-config.json` into `~/.claude/settings.json`.
|
|
142
|
-
|
|
143
|
-
```
|
|
144
|
-
READ: templates/mcp-config.json
|
|
145
|
-
READ: ~/.claude/settings.json (if exists)
|
|
146
|
-
MERGE: mcpServers (don't overwrite existing)
|
|
147
|
-
WRITE: ~/.claude/settings.json
|
|
148
|
-
|
|
149
|
-
Servers installed:
|
|
150
|
-
- context7: Library documentation lookup
|
|
151
|
-
- Atlassian: JIRA/Confluence (OAuth, SSO compatible)
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
## Step: Optional Integrations
|
|
155
|
-
|
|
156
|
-
After core setup, offer optional integrations.
|
|
157
|
-
|
|
158
|
-
### JIRA Integration (Optional)
|
|
159
|
-
|
|
160
|
-
Ask: "Would you like to connect with JIRA for issue tracking?"
|
|
161
|
-
|
|
162
|
-
If yes:
|
|
163
|
-
1. MCP server already installed (Atlassian)
|
|
164
|
-
2. Ask user to authenticate:
|
|
165
|
-
- "Run `p. jira setup` after init completes"
|
|
166
|
-
- First use will open browser for OAuth (SSO compatible)
|
|
167
|
-
3. Store config in `project.json`:
|
|
168
|
-
|
|
169
|
-
```json
|
|
170
|
-
{
|
|
171
|
-
"integrations": {
|
|
172
|
-
"jira": {
|
|
173
|
-
"enabled": true,
|
|
174
|
-
"provider": "jira",
|
|
175
|
-
"authMode": "mcp"
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
If no: Skip (integration can be added later with `p. jira setup`).
|
|
182
|
-
|
|
183
|
-
### Linear Integration (Optional)
|
|
184
|
-
|
|
185
|
-
Ask: "Would you like to connect with Linear for issue tracking?"
|
|
186
|
-
|
|
187
|
-
If yes:
|
|
188
|
-
1. Ask for LINEAR_API_KEY (from https://linear.app/settings/api)
|
|
189
|
-
2. Run `p. linear setup` to complete configuration
|
|
190
|
-
|
|
191
|
-
## Response
|
|
25
|
+
Optional: Ask about JIRA/Linear integration
|
|
192
26
|
|
|
27
|
+
**Output**:
|
|
193
28
|
```
|
|
194
29
|
✅ Initialized prjct
|
|
195
30
|
|
|
196
|
-
Project ID: {
|
|
197
|
-
Data
|
|
198
|
-
|
|
199
|
-
Structure:
|
|
200
|
-
├── storage/ # JSON (source of truth)
|
|
201
|
-
├── context/ # MD (for Claude)
|
|
202
|
-
├── sync/ # Backend events
|
|
203
|
-
└── agents/ # Specialists
|
|
204
|
-
|
|
205
|
-
MCP Servers:
|
|
206
|
-
• context7: Library docs ✓
|
|
207
|
-
• Atlassian: JIRA/Confluence ✓
|
|
208
|
-
|
|
209
|
-
Integrations:
|
|
210
|
-
• JIRA: {enabled|disabled}
|
|
211
|
-
• Linear: {enabled|disabled}
|
|
31
|
+
Project ID: {uuid}
|
|
32
|
+
Data: ~/.prjct-cli/projects/{uuid}/
|
|
212
33
|
|
|
213
34
|
Next:
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
• p. task "{first_task}" - Start first task
|
|
218
|
-
• p. help - See all commands
|
|
35
|
+
- Analyze project → `p. sync`
|
|
36
|
+
- Start first task → `p. task "description"`
|
|
37
|
+
- See help → `p. help`
|
|
219
38
|
```
|
|
220
|
-
|
|
221
|
-
## Error Handling
|
|
222
|
-
|
|
223
|
-
| Error | Response |
|
|
224
|
-
|-------|----------|
|
|
225
|
-
| Already initialized | Show existing projectId |
|
|
226
|
-
| Permission denied | Suggest chmod |
|
|
227
|
-
| Write fails | Show error |
|
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
---
|
|
2
2
|
allowed-tools: [Read, Write, Bash, Task, Glob, Grep, AskUserQuestion]
|
|
3
3
|
description: 'JIRA issue tracker integration'
|
|
4
|
+
extends: '_bases/tracker-base.md'
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# p. jira - JIRA Integration
|
|
7
8
|
|
|
9
|
+
**EXTENDS**: `_bases/tracker-base.md` - See base template for common flows.
|
|
10
|
+
|
|
8
11
|
**ARGUMENTS**: $ARGUMENTS
|
|
9
12
|
|
|
10
13
|
Manage JIRA issues directly from prjct.
|
|
11
14
|
|
|
15
|
+
## Tracker-Specific Config
|
|
16
|
+
|
|
17
|
+
- `{mcpServerName}`: "Atlassian"
|
|
18
|
+
- `{mcpPrefix}`: "mcp__atlassian__jira_"
|
|
19
|
+
- `{projectKey}`: "projectKey"
|
|
20
|
+
|
|
12
21
|
## Context Variables
|
|
13
22
|
|
|
14
23
|
- `{projectId}`: From `.prjct/prjct.config.json`
|
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
---
|
|
2
2
|
allowed-tools: [Read, Write, Bash, AskUserQuestion]
|
|
3
3
|
description: 'Linear issue tracker integration via MCP'
|
|
4
|
+
extends: '_bases/tracker-base.md'
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# p. linear - Linear Integration
|
|
7
8
|
|
|
9
|
+
**EXTENDS**: `_bases/tracker-base.md` - See base template for common flows.
|
|
10
|
+
|
|
8
11
|
**ARGUMENTS**: $ARGUMENTS
|
|
9
12
|
|
|
10
13
|
Manage Linear issues directly from prjct using MCP (no SDK needed).
|
|
11
14
|
|
|
15
|
+
## Tracker-Specific Config
|
|
16
|
+
|
|
17
|
+
- `{mcpServerName}`: "linear"
|
|
18
|
+
- `{mcpPrefix}`: "mcp__linear__"
|
|
19
|
+
- `{projectKey}`: "teamId"
|
|
20
|
+
|
|
12
21
|
## Context Variables
|
|
13
22
|
|
|
14
23
|
- `{projectId}`: From `.prjct/prjct.config.json`
|
|
@@ -1,202 +1,38 @@
|
|
|
1
1
|
---
|
|
2
|
-
allowed-tools: [Bash, Read, Write
|
|
3
|
-
description: 'Merge PR to main branch'
|
|
4
|
-
timestamp-rule: 'GetTimestamp() for ALL timestamps'
|
|
5
|
-
architecture: 'Write-Through (JSON -> MD -> Events)'
|
|
6
|
-
storage-layer: true
|
|
7
|
-
source-of-truth: 'storage/state.json'
|
|
2
|
+
allowed-tools: [Bash, Read, Write]
|
|
8
3
|
---
|
|
9
4
|
|
|
10
|
-
#
|
|
5
|
+
# p. merge
|
|
11
6
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## Usage
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
/p:merge [--squash|--rebase|--merge] # Merge strategy (default: squash)
|
|
18
|
-
[--delete-branch] # Delete branch after merge
|
|
7
|
+
```bash
|
|
8
|
+
prjct context merge
|
|
19
9
|
```
|
|
20
10
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
- `{globalPath}`: `~/.prjct-cli/projects/{projectId}`
|
|
24
|
-
- `{statePath}`: `{globalPath}/storage/state.json`
|
|
25
|
-
- `{memoryPath}`: `{globalPath}/memory/events.jsonl`
|
|
26
|
-
- `{syncPath}`: `{globalPath}/sync/pending.json`
|
|
27
|
-
|
|
28
|
-
## Step 1: Validate Project
|
|
29
|
-
|
|
30
|
-
READ: `.prjct/prjct.config.json`
|
|
31
|
-
EXTRACT: `projectId`
|
|
32
|
-
|
|
33
|
-
IF file not found:
|
|
34
|
-
OUTPUT: "No prjct project. Run /p:init first."
|
|
35
|
-
STOP
|
|
36
|
-
|
|
37
|
-
## Step 2: Validate Workflow Phase
|
|
38
|
-
|
|
39
|
-
READ: `{globalPath}/storage/state.json`
|
|
40
|
-
|
|
41
|
-
IF currentTask is null:
|
|
42
|
-
OUTPUT: "No active task. Use p. task to start one."
|
|
43
|
-
STOP
|
|
44
|
-
|
|
45
|
-
IF currentTask.workflow exists:
|
|
46
|
-
IF currentTask.workflow.phase != "review":
|
|
47
|
-
OUTPUT:
|
|
48
|
-
```
|
|
49
|
-
Cannot merge. Current phase: {currentTask.workflow.phase}
|
|
50
|
-
|
|
51
|
-
Required phase: review
|
|
52
|
-
|
|
53
|
-
Workflow: analyze → branch → implement → test → review → merge → ship → verify
|
|
54
|
-
|
|
55
|
-
Complete code review first with p. review
|
|
56
|
-
```
|
|
57
|
-
STOP
|
|
58
|
-
|
|
59
|
-
## Step 3: Verify PR Status
|
|
60
|
-
|
|
61
|
-
SET: {prNumber} = currentTask.branch.prNumber
|
|
62
|
-
|
|
63
|
-
IF {prNumber} is null:
|
|
64
|
-
OUTPUT: "No PR found. Run p. review first to create PR."
|
|
65
|
-
STOP
|
|
66
|
-
|
|
67
|
-
### Check PR is approved
|
|
68
|
-
BASH: `gh pr view {prNumber} --json reviewDecision,mergeable,state`
|
|
69
|
-
SET: {decision} = result.reviewDecision
|
|
70
|
-
SET: {mergeable} = result.mergeable
|
|
71
|
-
SET: {state} = result.state
|
|
72
|
-
|
|
73
|
-
IF {state} == "MERGED":
|
|
74
|
-
OUTPUT: "PR already merged."
|
|
75
|
-
-> Skip to Step 5 (update workflow)
|
|
76
|
-
|
|
77
|
-
IF {decision} != "APPROVED":
|
|
78
|
-
OUTPUT:
|
|
79
|
-
```
|
|
80
|
-
⚠️ PR not approved yet
|
|
81
|
-
|
|
82
|
-
Current status: {decision}
|
|
83
|
-
|
|
84
|
-
Get approvals and run p. merge again.
|
|
85
|
-
```
|
|
86
|
-
STOP
|
|
87
|
-
|
|
88
|
-
IF {mergeable} != "MERGEABLE":
|
|
89
|
-
OUTPUT:
|
|
90
|
-
```
|
|
91
|
-
⚠️ PR has conflicts or is not mergeable
|
|
92
|
-
|
|
93
|
-
Status: {mergeable}
|
|
94
|
-
|
|
95
|
-
Resolve conflicts and run p. merge again.
|
|
96
|
-
```
|
|
97
|
-
STOP
|
|
98
|
-
|
|
99
|
-
## Step 4: Merge PR
|
|
11
|
+
IF no `currentTask` → "No active task"
|
|
12
|
+
IF no PR → "Run p. review first"
|
|
100
13
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
IF --rebase: {strategy} = "rebase"
|
|
104
|
-
IF --merge: {strategy} = "merge"
|
|
105
|
-
|
|
106
|
-
OUTPUT: "Merging PR #{prNumber} with {strategy} strategy..."
|
|
107
|
-
|
|
108
|
-
BASH: `gh pr merge {prNumber} --{strategy} --auto 2>&1`
|
|
109
|
-
|
|
110
|
-
IF command fails:
|
|
111
|
-
OUTPUT: "Merge failed. Check PR status on GitHub."
|
|
112
|
-
STOP
|
|
113
|
-
|
|
114
|
-
### Delete branch if requested
|
|
115
|
-
IF --delete-branch OR currentTask.branch.createdByPrjct:
|
|
116
|
-
BASH: `git branch -d {currentTask.branch.name} 2>/dev/null`
|
|
117
|
-
BASH: `git push origin --delete {currentTask.branch.name} 2>/dev/null`
|
|
118
|
-
OUTPUT: "Deleted branch: {currentTask.branch.name}"
|
|
119
|
-
|
|
120
|
-
### Switch to base branch
|
|
121
|
-
BASH: `git checkout {currentTask.branch.baseBranch}`
|
|
122
|
-
BASH: `git pull origin {currentTask.branch.baseBranch}`
|
|
123
|
-
|
|
124
|
-
## Step 5: Update Workflow Phase
|
|
125
|
-
|
|
126
|
-
SET: {now} = GetTimestamp()
|
|
127
|
-
|
|
128
|
-
### Get merge commit
|
|
129
|
-
BASH: `git rev-parse HEAD`
|
|
130
|
-
SET: {mergeCommit} = result
|
|
131
|
-
|
|
132
|
-
SET: currentTask.workflow.phase = "merge"
|
|
133
|
-
SET: currentTask.workflow.checkpoints.merge = {
|
|
134
|
-
"completedAt": "{now}",
|
|
135
|
-
"data": {
|
|
136
|
-
"mergeCommit": "{mergeCommit}",
|
|
137
|
-
"prNumber": {prNumber},
|
|
138
|
-
"strategy": "{strategy}"
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
SET: currentTask.workflow.lastCheckpoint = "merge"
|
|
142
|
-
|
|
143
|
-
WRITE: `{statePath}`
|
|
144
|
-
|
|
145
|
-
## Step 6: Log Events
|
|
146
|
-
|
|
147
|
-
APPEND to `{memoryPath}`:
|
|
148
|
-
```json
|
|
149
|
-
{"timestamp":"{now}","action":"phase_advanced","taskId":"{currentTask.id}","from":"review","to":"merge"}
|
|
150
|
-
{"timestamp":"{now}","action":"checkpoint_completed","taskId":"{currentTask.id}","checkpoint":"merge","data":{"mergeCommit":"{mergeCommit}"}}
|
|
14
|
+
```bash
|
|
15
|
+
gh pr view {prNumber} --json reviewDecision,mergeable,state
|
|
151
16
|
```
|
|
152
17
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
18
|
+
IF not approved → "Get approvals first"
|
|
19
|
+
IF has conflicts → "Resolve conflicts first"
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
gh pr merge {prNumber} --squash --auto
|
|
23
|
+
git checkout main && git pull
|
|
156
24
|
```
|
|
157
25
|
|
|
158
|
-
|
|
26
|
+
Delete branch if created by prjct
|
|
159
27
|
|
|
28
|
+
**Output**:
|
|
160
29
|
```
|
|
161
|
-
|
|
30
|
+
✅ PR Merged
|
|
162
31
|
|
|
163
|
-
Task: {currentTask.description}
|
|
164
32
|
PR: #{prNumber}
|
|
165
|
-
|
|
166
|
-
Strategy: {strategy}
|
|
167
|
-
|
|
168
|
-
Phase: merge (6/11 checkpoints)
|
|
33
|
+
Strategy: squash
|
|
169
34
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
3. implement ✓
|
|
174
|
-
4. test ✓
|
|
175
|
-
5. review ✓
|
|
176
|
-
6. merge ✓
|
|
177
|
-
7-10. ship ← next
|
|
178
|
-
|
|
179
|
-
Next: p. ship to release
|
|
35
|
+
Next:
|
|
36
|
+
- Release → `p. ship`
|
|
37
|
+
- New task → `p. task "description"`
|
|
180
38
|
```
|
|
181
|
-
|
|
182
|
-
## Error Handling
|
|
183
|
-
|
|
184
|
-
| Error | Response | Action |
|
|
185
|
-
|-------|----------|--------|
|
|
186
|
-
| No project | "No prjct project" | STOP |
|
|
187
|
-
| No active task | "No active task" | STOP |
|
|
188
|
-
| Wrong phase | Show required phase | STOP |
|
|
189
|
-
| No PR | "Run p. review first" | STOP |
|
|
190
|
-
| Not approved | "Get approvals first" | STOP |
|
|
191
|
-
| Conflicts | "Resolve conflicts" | STOP |
|
|
192
|
-
| Merge fails | Show error | STOP |
|
|
193
|
-
|
|
194
|
-
## Natural Language Triggers
|
|
195
|
-
|
|
196
|
-
- `p. merge` -> /p:merge
|
|
197
|
-
- `p. merge pr` -> /p:merge
|
|
198
|
-
|
|
199
|
-
## References
|
|
200
|
-
|
|
201
|
-
- Architecture: `~/.prjct-cli/docs/architecture.md`
|
|
202
|
-
- Workflow: `~/.prjct-cli/docs/workflow.md`
|
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
---
|
|
2
2
|
allowed-tools: [Read, Write, Bash, AskUserQuestion]
|
|
3
3
|
description: 'Monday.com issue tracker integration via MCP'
|
|
4
|
+
extends: '_bases/tracker-base.md'
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# p. monday - Monday.com Integration
|
|
7
8
|
|
|
9
|
+
**EXTENDS**: `_bases/tracker-base.md` - See base template for common flows.
|
|
10
|
+
|
|
8
11
|
**ARGUMENTS**: $ARGUMENTS
|
|
9
12
|
|
|
10
13
|
Manage Monday.com boards directly from prjct using MCP.
|
|
11
14
|
|
|
15
|
+
## Tracker-Specific Config
|
|
16
|
+
|
|
17
|
+
- `{mcpServerName}`: "monday"
|
|
18
|
+
- `{mcpPrefix}`: "mcp__monday__"
|
|
19
|
+
- `{projectKey}`: "boardId"
|
|
20
|
+
|
|
12
21
|
## Context Variables
|
|
13
22
|
|
|
14
23
|
- `{projectId}`: From `.prjct/prjct.config.json`
|
|
@@ -1,124 +1,42 @@
|
|
|
1
1
|
---
|
|
2
2
|
allowed-tools: [Read]
|
|
3
|
-
description: 'Show priority queue'
|
|
4
|
-
architecture: 'Write-Through (JSON → MD → Events)'
|
|
5
|
-
storage-layer: true
|
|
6
|
-
source-of-truth: 'storage/queue.json'
|
|
7
|
-
claude-context: 'context/next.md'
|
|
8
3
|
---
|
|
9
4
|
|
|
10
|
-
#
|
|
5
|
+
# p. next
|
|
11
6
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
**Source of Truth**: `storage/queue.json`
|
|
17
|
-
**Also reads**: `storage/state.json` for current task status
|
|
18
|
-
|
|
19
|
-
## Context Variables
|
|
20
|
-
- `{projectId}`: From `.prjct/prjct.config.json`
|
|
21
|
-
- `{globalPath}`: `~/.prjct-cli/projects/{projectId}`
|
|
22
|
-
- `{queuePath}`: `{globalPath}/storage/queue.json`
|
|
23
|
-
- `{statePath}`: `{globalPath}/storage/state.json`
|
|
24
|
-
|
|
25
|
-
## Flow
|
|
7
|
+
```bash
|
|
8
|
+
prjct context next
|
|
9
|
+
```
|
|
26
10
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
3. Display top 5 non-blocked tasks
|
|
11
|
+
READ `{globalPath}/storage/queue.json`
|
|
12
|
+
READ `{globalPath}/storage/state.json`
|
|
30
13
|
|
|
31
|
-
|
|
14
|
+
IF `currentTask` active → Show warning first
|
|
32
15
|
|
|
33
|
-
**
|
|
16
|
+
**Output (queue view)**:
|
|
34
17
|
```
|
|
35
|
-
⚠️ Active: {currentTask.description}
|
|
36
|
-
|
|
37
|
-
Complete with /p:done first, or:
|
|
38
|
-
|
|
39
18
|
📋 Queue ({count})
|
|
40
|
-
|
|
19
|
+
|
|
20
|
+
1. {task_1} [{priority}]
|
|
41
21
|
2. {task_2}
|
|
42
22
|
3. {task_3}
|
|
43
23
|
...
|
|
44
24
|
|
|
45
|
-
|
|
25
|
+
Next:
|
|
26
|
+
- Start task → `p. task "{task_1}"`
|
|
27
|
+
- Add task → `p. task "description"`
|
|
28
|
+
- Report bug → `p. bug "description"`
|
|
46
29
|
```
|
|
47
30
|
|
|
48
|
-
**
|
|
49
|
-
```
|
|
50
|
-
📋 Queue ({count})
|
|
51
|
-
|
|
52
|
-
1. {task_1} {priority}
|
|
53
|
-
2. {task_2} {priority}
|
|
54
|
-
3. {task_3} {priority}
|
|
55
|
-
4. {task_4}
|
|
56
|
-
5. {task_5}
|
|
57
|
-
|
|
58
|
-
{IF count > 5: ... and {count - 5} more}
|
|
59
|
-
|
|
60
|
-
Start: /p:work 1 or /p:now "{task}"
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
**If empty queue**:
|
|
31
|
+
**Output (empty)**:
|
|
64
32
|
```
|
|
65
33
|
📋 Queue is empty
|
|
66
34
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
35
|
+
Next:
|
|
36
|
+
- Add task → `p. task "description"`
|
|
37
|
+
- Report bug → `p. bug "description"`
|
|
38
|
+
- Capture idea → `p. idea "note"`
|
|
71
39
|
```
|
|
72
40
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
| Data | Storage File | Field |
|
|
76
|
-
|------|--------------|-------|
|
|
77
|
-
| Current Task | `storage/state.json` | `currentTask` |
|
|
78
|
-
| Queue Tasks | `storage/queue.json` | `tasks[]` |
|
|
79
|
-
| Shipped | `storage/shipped.json` | `shipped[]` |
|
|
80
|
-
|
|
81
|
-
## Usage Variants
|
|
82
|
-
|
|
83
|
-
```
|
|
84
|
-
/p:next # Priority queue (default)
|
|
85
|
-
/p:next roadmap # Feature-grouped view
|
|
86
|
-
/p:next --roadmap # Same as above
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
## Roadmap View
|
|
90
|
-
|
|
91
|
-
When called with `roadmap` parameter, show feature-grouped view:
|
|
92
|
-
|
|
93
|
-
```
|
|
94
|
-
📍 PRODUCT ROADMAP
|
|
95
|
-
|
|
96
|
-
🚀 Current Sprint
|
|
97
|
-
├── ✅ {completed_feature} - shipped {date}
|
|
98
|
-
├── 🔄 {active_feature} ({X}% complete)
|
|
99
|
-
│ └── 🎯 {current_task}
|
|
100
|
-
└── ⏳ {pending_feature} ({N} tasks)
|
|
101
|
-
|
|
102
|
-
📅 Next Up ({N} features)
|
|
103
|
-
├── {feature_1} - {effort}
|
|
104
|
-
└── {feature_2} - {effort}
|
|
105
|
-
|
|
106
|
-
📊 Velocity: {X.X} features/week
|
|
107
|
-
|
|
108
|
-
/p:now "{next}" | /p:done
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
### Roadmap Data Aggregation
|
|
112
|
-
|
|
113
|
-
1. Group queue tasks by `featureId`
|
|
114
|
-
2. Calculate completion % per feature
|
|
115
|
-
3. Sort by priority/dependency
|
|
116
|
-
4. Show current task within active feature
|
|
117
|
-
|
|
118
|
-
## Natural Language Support
|
|
119
|
-
|
|
120
|
-
- "p. next" → Priority queue
|
|
121
|
-
- "p. queue" → Priority queue
|
|
122
|
-
- "p. what's next" → Priority queue
|
|
123
|
-
- "p. roadmap" → Roadmap view
|
|
124
|
-
- "p. features" → Roadmap view
|
|
41
|
+
**Roadmap view** (`p. next roadmap`):
|
|
42
|
+
Group by feature, show completion %
|