gsd-pi 2.75.0-dev.063e5a3 → 2.75.0-dev.fd2382b9f
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/README.md +186 -149
- package/dist/claude-cli-check.d.ts +10 -0
- package/dist/claude-cli-check.js +13 -3
- package/dist/headless-events.d.ts +1 -1
- package/dist/headless-events.js +5 -2
- package/dist/headless.js +5 -6
- package/dist/loader.js +0 -0
- package/dist/onboarding.js +39 -14
- package/dist/resources/extensions/ask-user-questions.js +17 -5
- package/dist/resources/extensions/claude-code-cli/models.js +9 -0
- package/dist/resources/extensions/claude-code-cli/readiness.js +12 -2
- package/dist/resources/extensions/claude-code-cli/stream-adapter.js +76 -4
- package/dist/resources/extensions/gsd/auto/detect-stuck.js +9 -0
- package/dist/resources/extensions/gsd/auto/loop.js +67 -4
- package/dist/resources/extensions/gsd/auto/phases.js +70 -47
- package/dist/resources/extensions/gsd/auto/resolve.js +1 -1
- package/dist/resources/extensions/gsd/auto/run-unit.js +10 -1
- package/dist/resources/extensions/gsd/auto/session.js +5 -0
- package/dist/resources/extensions/gsd/auto-artifact-paths.js +20 -0
- package/dist/resources/extensions/gsd/auto-dashboard.js +15 -7
- package/dist/resources/extensions/gsd/auto-dispatch.js +112 -6
- package/dist/resources/extensions/gsd/auto-loop.js +1 -1
- package/dist/resources/extensions/gsd/auto-model-selection.js +10 -2
- package/dist/resources/extensions/gsd/auto-post-unit.js +9 -7
- package/dist/resources/extensions/gsd/auto-prompts.js +151 -37
- package/dist/resources/extensions/gsd/auto-recovery.js +57 -0
- package/dist/resources/extensions/gsd/auto-start.js +5 -3
- package/dist/resources/extensions/gsd/auto-verification.js +3 -3
- package/dist/resources/extensions/gsd/auto-worktree.js +55 -1
- package/dist/resources/extensions/gsd/auto.js +50 -25
- package/dist/resources/extensions/gsd/bootstrap/agent-end-recovery.js +8 -21
- package/dist/resources/extensions/gsd/bootstrap/db-tools.js +22 -4
- package/dist/resources/extensions/gsd/bootstrap/query-tools.js +29 -0
- package/dist/resources/extensions/gsd/bootstrap/register-hooks.js +22 -0
- package/dist/resources/extensions/gsd/commands/catalog.js +67 -3
- package/dist/resources/extensions/gsd/commands/handlers/core.js +6 -0
- package/dist/resources/extensions/gsd/commands/handlers/escalate.js +171 -0
- package/dist/resources/extensions/gsd/commands/handlers/ops.js +16 -0
- package/dist/resources/extensions/gsd/commands/handlers/workflow.js +228 -29
- package/dist/resources/extensions/gsd/commands-cmux.js +5 -2
- package/dist/resources/extensions/gsd/commands-debug.js +388 -0
- package/dist/resources/extensions/gsd/commands-do.js +1 -0
- package/dist/resources/extensions/gsd/commands-handlers.js +21 -2
- package/dist/resources/extensions/gsd/commands-prefs-wizard.js +1 -1
- package/dist/resources/extensions/gsd/commands-scan.js +94 -0
- package/dist/resources/extensions/gsd/commands-workflow-templates.js +101 -2
- package/dist/resources/extensions/gsd/custom-workflow-engine.js +74 -54
- package/dist/resources/extensions/gsd/db-writer.js +1 -0
- package/dist/resources/extensions/gsd/debug-session-store.js +238 -0
- package/dist/resources/extensions/gsd/definition-loader.js +7 -0
- package/dist/resources/extensions/gsd/docs/preferences-reference.md +9 -9
- package/dist/resources/extensions/gsd/doctor-git-checks.js +5 -1
- package/dist/resources/extensions/gsd/doctor-proactive.js +4 -1
- package/dist/resources/extensions/gsd/doctor-providers.js +48 -20
- package/dist/resources/extensions/gsd/doctor-runtime-checks.js +22 -4
- package/dist/resources/extensions/gsd/doctor.js +7 -1
- package/dist/resources/extensions/gsd/error-classifier.js +6 -3
- package/dist/resources/extensions/gsd/escalation.js +321 -0
- package/dist/resources/extensions/gsd/forensics.js +26 -29
- package/dist/resources/extensions/gsd/git-service.js +0 -1
- package/dist/resources/extensions/gsd/graph.js +26 -2
- package/dist/resources/extensions/gsd/gsd-db.js +254 -29
- package/dist/resources/extensions/gsd/health-widget-core.js +42 -14
- package/dist/resources/extensions/gsd/health-widget.js +7 -4
- package/dist/resources/extensions/gsd/metrics.js +1 -0
- package/dist/resources/extensions/gsd/model-cost-table.js +3 -1
- package/dist/resources/extensions/gsd/model-router.js +7 -1
- package/dist/resources/extensions/gsd/native-git-bridge.js +137 -5
- package/dist/resources/extensions/gsd/notification-widget.js +24 -39
- package/dist/resources/extensions/gsd/notifications.js +4 -0
- package/dist/resources/extensions/gsd/post-execution-checks.js +27 -11
- package/dist/resources/extensions/gsd/pre-execution-checks.js +97 -4
- package/dist/resources/extensions/gsd/preferences-models.js +1 -0
- package/dist/resources/extensions/gsd/preferences-types.js +2 -1
- package/dist/resources/extensions/gsd/preferences-validation.js +42 -8
- package/dist/resources/extensions/gsd/preferences.js +10 -10
- package/dist/resources/extensions/gsd/prompts/debug-diagnose.md +25 -0
- package/dist/resources/extensions/gsd/prompts/debug-session-manager.md +80 -0
- package/dist/resources/extensions/gsd/prompts/execute-task.md +12 -0
- package/dist/resources/extensions/gsd/prompts/plan-milestone.md +12 -0
- package/dist/resources/extensions/gsd/prompts/refine-slice.md +69 -0
- package/dist/resources/extensions/gsd/prompts/scan.md +79 -0
- package/dist/resources/extensions/gsd/prompts/workflow-oneshot.md +26 -0
- package/dist/resources/extensions/gsd/run-manager.js +37 -17
- package/dist/resources/extensions/gsd/state.js +47 -3
- package/dist/resources/extensions/gsd/templates/PREFERENCES.md +7 -7
- package/dist/resources/extensions/gsd/tools/complete-task.js +80 -0
- package/dist/resources/extensions/gsd/tools/plan-milestone.js +37 -12
- package/dist/resources/extensions/gsd/tools/plan-slice.js +5 -2
- package/dist/resources/extensions/gsd/uok/flags.js +7 -7
- package/dist/resources/extensions/gsd/uok/kernel.js +8 -3
- package/dist/resources/extensions/gsd/workflow-dispatch.js +64 -0
- package/dist/resources/extensions/gsd/workflow-install.js +327 -0
- package/dist/resources/extensions/gsd/workflow-manifest.js +8 -0
- package/dist/resources/extensions/gsd/workflow-mcp.js +1 -6
- package/dist/resources/extensions/gsd/workflow-plugins.js +346 -0
- package/dist/resources/extensions/gsd/workflow-templates/accessibility-audit.md +88 -0
- package/dist/resources/extensions/gsd/workflow-templates/api-breaking-change.md +117 -0
- package/dist/resources/extensions/gsd/workflow-templates/bugfix.md +1 -0
- package/dist/resources/extensions/gsd/workflow-templates/changelog-gen.md +82 -0
- package/dist/resources/extensions/gsd/workflow-templates/ci-bootstrap.md +144 -0
- package/dist/resources/extensions/gsd/workflow-templates/dead-code.md +81 -0
- package/dist/resources/extensions/gsd/workflow-templates/dep-upgrade.md +1 -0
- package/dist/resources/extensions/gsd/workflow-templates/docs-sync.yaml +76 -0
- package/dist/resources/extensions/gsd/workflow-templates/env-audit.yaml +88 -0
- package/dist/resources/extensions/gsd/workflow-templates/full-project.md +1 -0
- package/dist/resources/extensions/gsd/workflow-templates/hotfix.md +1 -0
- package/dist/resources/extensions/gsd/workflow-templates/issue-triage.md +84 -0
- package/dist/resources/extensions/gsd/workflow-templates/observability-setup.md +133 -0
- package/dist/resources/extensions/gsd/workflow-templates/onboarding-check.md +74 -0
- package/dist/resources/extensions/gsd/workflow-templates/performance-audit.md +125 -0
- package/dist/resources/extensions/gsd/workflow-templates/pr-review.md +67 -0
- package/dist/resources/extensions/gsd/workflow-templates/pr-triage.md +83 -0
- package/dist/resources/extensions/gsd/workflow-templates/refactor.md +1 -0
- package/dist/resources/extensions/gsd/workflow-templates/registry.json +184 -0
- package/dist/resources/extensions/gsd/workflow-templates/release.md +118 -0
- package/dist/resources/extensions/gsd/workflow-templates/rename-symbol.yaml +99 -0
- package/dist/resources/extensions/gsd/workflow-templates/security-audit.md +1 -0
- package/dist/resources/extensions/gsd/workflow-templates/small-feature.md +1 -0
- package/dist/resources/extensions/gsd/workflow-templates/spike.md +1 -0
- package/dist/resources/extensions/gsd/workflow-templates/test-backfill.yaml +73 -0
- package/dist/resources/extensions/gsd/worktree-resolver.js +42 -1
- package/dist/resources/extensions/remote-questions/commands.js +380 -0
- package/dist/resources/extensions/remote-questions/manager.js +39 -5
- package/dist/resources/extensions/remote-questions/telegram-adapter.js +79 -4
- package/dist/resources/extensions/shared/interview-ui.js +189 -1
- package/dist/resources/extensions/shared/layout-utils.js +17 -0
- package/dist/resources/extensions/shared/rtk-shared.js +47 -0
- package/dist/resources/extensions/shared/rtk.js +3 -46
- package/dist/resources/skills/create-workflow/SKILL.md +33 -6
- package/dist/rtk-shared.d.ts +10 -0
- package/dist/rtk-shared.js +47 -0
- package/dist/rtk.d.ts +2 -6
- package/dist/rtk.js +3 -48
- package/dist/shared/workspace-types.d.ts +52 -0
- package/dist/shared/workspace-types.js +1 -0
- package/dist/tsconfig.extensions.tsbuildinfo +1 -1
- package/dist/update-check.d.ts +10 -0
- package/dist/update-check.js +24 -3
- package/dist/web/standalone/.next/BUILD_ID +1 -1
- package/dist/web/standalone/.next/app-path-routes-manifest.json +6 -6
- package/dist/web/standalone/.next/build-manifest.json +3 -3
- package/dist/web/standalone/.next/prerender-manifest.json +3 -3
- package/dist/web/standalone/.next/react-loadable-manifest.json +1 -1
- package/dist/web/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.html +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.html +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.rsc +2 -2
- package/dist/web/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/dist/web/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
- package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/dist/web/standalone/.next/server/app/api/git/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/update/route.js +1 -1
- package/dist/web/standalone/.next/server/app/index.html +1 -1
- package/dist/web/standalone/.next/server/app/index.rsc +2 -2
- package/dist/web/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_full.segment.rsc +2 -2
- package/dist/web/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_index.segment.rsc +2 -2
- package/dist/web/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/dist/web/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app-paths-manifest.json +6 -6
- package/dist/web/standalone/.next/server/chunks/6897.js +2 -2
- package/dist/web/standalone/.next/server/middleware-build-manifest.js +1 -1
- package/dist/web/standalone/.next/server/middleware-manifest.json +5 -5
- package/dist/web/standalone/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/dist/web/standalone/.next/server/pages/404.html +1 -1
- package/dist/web/standalone/.next/server/pages/500.html +1 -1
- package/dist/web/standalone/.next/server/server-reference-manifest.json +1 -1
- package/dist/web/standalone/.next/static/chunks/2826.02df9631042cc18e.js +9 -0
- package/dist/web/standalone/.next/static/chunks/{webpack-b868033a5834586d.js → webpack-6c7cda3e318eedb6.js} +1 -1
- package/dist/web/standalone/.next/static/css/3e9cdadb4d23b8a4.css +1 -0
- package/dist/welcome-screen.js +48 -24
- package/dist/wizard.js +2 -2
- package/dist/worktree-cli.d.ts +6 -5
- package/dist/worktree-cli.js +23 -7
- package/package.json +3 -3
- package/packages/mcp-server/tsconfig.tsbuildinfo +1 -1
- package/packages/native/tsconfig.tsbuildinfo +1 -1
- package/packages/pi-agent-core/tsconfig.tsbuildinfo +1 -1
- package/packages/pi-ai/dist/models/capability-patches.d.ts.map +1 -1
- package/packages/pi-ai/dist/models/capability-patches.js +3 -2
- package/packages/pi-ai/dist/models/capability-patches.js.map +1 -1
- package/packages/pi-ai/dist/models/generated/amazon-bedrock.d.ts +68 -0
- package/packages/pi-ai/dist/models/generated/amazon-bedrock.d.ts.map +1 -1
- package/packages/pi-ai/dist/models/generated/amazon-bedrock.js +68 -0
- package/packages/pi-ai/dist/models/generated/amazon-bedrock.js.map +1 -1
- package/packages/pi-ai/dist/models/generated/anthropic.d.ts +17 -0
- package/packages/pi-ai/dist/models/generated/anthropic.d.ts.map +1 -1
- package/packages/pi-ai/dist/models/generated/anthropic.js +17 -0
- package/packages/pi-ai/dist/models/generated/anthropic.js.map +1 -1
- package/packages/pi-ai/dist/models/generated/google-antigravity.d.ts +17 -0
- package/packages/pi-ai/dist/models/generated/google-antigravity.d.ts.map +1 -1
- package/packages/pi-ai/dist/models/generated/google-antigravity.js +17 -0
- package/packages/pi-ai/dist/models/generated/google-antigravity.js.map +1 -1
- package/packages/pi-ai/dist/models/generated/groq.d.ts +0 -153
- package/packages/pi-ai/dist/models/generated/groq.d.ts.map +1 -1
- package/packages/pi-ai/dist/models/generated/groq.js +0 -153
- package/packages/pi-ai/dist/models/generated/groq.js.map +1 -1
- package/packages/pi-ai/dist/models/generated/index.d.ts +136 -153
- package/packages/pi-ai/dist/models/generated/index.d.ts.map +1 -1
- package/packages/pi-ai/dist/models/generated/openai-codex.d.ts +17 -0
- package/packages/pi-ai/dist/models/generated/openai-codex.d.ts.map +1 -1
- package/packages/pi-ai/dist/models/generated/openai-codex.js +17 -0
- package/packages/pi-ai/dist/models/generated/openai-codex.js.map +1 -1
- package/packages/pi-ai/dist/models/generated/openrouter.d.ts +17 -0
- package/packages/pi-ai/dist/models/generated/openrouter.d.ts.map +1 -1
- package/packages/pi-ai/dist/models/generated/openrouter.js +17 -0
- package/packages/pi-ai/dist/models/generated/openrouter.js.map +1 -1
- package/packages/pi-ai/dist/models.generated.test.js +17 -0
- package/packages/pi-ai/dist/models.generated.test.js.map +1 -1
- package/packages/pi-ai/dist/providers/amazon-bedrock.d.ts +22 -1
- package/packages/pi-ai/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/packages/pi-ai/dist/providers/amazon-bedrock.js +40 -6
- package/packages/pi-ai/dist/providers/amazon-bedrock.js.map +1 -1
- package/packages/pi-ai/dist/providers/amazon-bedrock.test.d.ts +2 -0
- package/packages/pi-ai/dist/providers/amazon-bedrock.test.d.ts.map +1 -0
- package/packages/pi-ai/dist/providers/amazon-bedrock.test.js +106 -0
- package/packages/pi-ai/dist/providers/amazon-bedrock.test.js.map +1 -0
- package/packages/pi-ai/dist/providers/anthropic-auth.test.js +42 -1
- package/packages/pi-ai/dist/providers/anthropic-auth.test.js.map +1 -1
- package/packages/pi-ai/dist/providers/anthropic-shared.d.ts +20 -1
- package/packages/pi-ai/dist/providers/anthropic-shared.d.ts.map +1 -1
- package/packages/pi-ai/dist/providers/anthropic-shared.js +32 -2
- package/packages/pi-ai/dist/providers/anthropic-shared.js.map +1 -1
- package/packages/pi-ai/dist/providers/anthropic-shared.test.js +12 -1
- package/packages/pi-ai/dist/providers/anthropic-shared.test.js.map +1 -1
- package/packages/pi-ai/dist/providers/anthropic.d.ts +11 -0
- package/packages/pi-ai/dist/providers/anthropic.d.ts.map +1 -1
- package/packages/pi-ai/dist/providers/anthropic.js +18 -1
- package/packages/pi-ai/dist/providers/anthropic.js.map +1 -1
- package/packages/pi-ai/dist/utils/oauth/openai-codex.d.ts.map +1 -1
- package/packages/pi-ai/dist/utils/oauth/openai-codex.js +12 -0
- package/packages/pi-ai/dist/utils/oauth/openai-codex.js.map +1 -1
- package/packages/pi-ai/package.json +1 -1
- package/packages/pi-ai/scripts/generate-models.ts +50 -0
- package/packages/pi-ai/src/models/capability-patches.ts +5 -2
- package/packages/pi-ai/src/models/generated/amazon-bedrock.ts +68 -0
- package/packages/pi-ai/src/models/generated/anthropic.ts +17 -0
- package/packages/pi-ai/src/models/generated/google-antigravity.ts +17 -0
- package/packages/pi-ai/src/models/generated/groq.ts +0 -153
- package/packages/pi-ai/src/models/generated/openai-codex.ts +17 -0
- package/packages/pi-ai/src/models/generated/openrouter.ts +17 -0
- package/packages/pi-ai/src/models.generated.test.ts +17 -0
- package/packages/pi-ai/src/providers/amazon-bedrock.test.ts +164 -0
- package/packages/pi-ai/src/providers/amazon-bedrock.ts +41 -7
- package/packages/pi-ai/src/providers/anthropic-auth.test.ts +47 -1
- package/packages/pi-ai/src/providers/anthropic-shared.test.ts +15 -1
- package/packages/pi-ai/src/providers/anthropic-shared.ts +36 -3
- package/packages/pi-ai/src/providers/anthropic.ts +19 -1
- package/packages/pi-ai/src/utils/oauth/openai-codex.ts +15 -0
- package/packages/pi-ai/tsconfig.tsbuildinfo +1 -1
- package/packages/pi-coding-agent/dist/core/agent-session-abort-order.test.d.ts +2 -0
- package/packages/pi-coding-agent/dist/core/agent-session-abort-order.test.d.ts.map +1 -0
- package/packages/pi-coding-agent/dist/core/agent-session-abort-order.test.js +38 -0
- package/packages/pi-coding-agent/dist/core/agent-session-abort-order.test.js.map +1 -0
- package/packages/pi-coding-agent/dist/core/auth-storage.d.ts +14 -0
- package/packages/pi-coding-agent/dist/core/auth-storage.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/auth-storage.js +34 -0
- package/packages/pi-coding-agent/dist/core/auth-storage.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/auth-storage.test.js +74 -0
- package/packages/pi-coding-agent/dist/core/auth-storage.test.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/chat-controller-ordering.test.js +4 -1
- package/packages/pi-coding-agent/dist/core/chat-controller-ordering.test.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/model-registry-auth-mode.test.js +32 -0
- package/packages/pi-coding-agent/dist/core/model-registry-auth-mode.test.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/sdk.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/sdk.js +32 -0
- package/packages/pi-coding-agent/dist/core/sdk.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/skill-tool.test.js +2 -2
- package/packages/pi-coding-agent/dist/core/skill-tool.test.js.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/components/chat-frame.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/components/chat-frame.js +17 -7
- package/packages/pi-coding-agent/dist/modes/interactive/components/chat-frame.js.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/components/footer.js +48 -34
- package/packages/pi-coding-agent/dist/modes/interactive/components/footer.js.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/controllers/chat-controller.d.ts +4 -0
- package/packages/pi-coding-agent/dist/modes/interactive/controllers/chat-controller.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/controllers/chat-controller.js +83 -33
- package/packages/pi-coding-agent/dist/modes/interactive/controllers/chat-controller.js.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/theme/theme-schema.d.ts +70 -0
- package/packages/pi-coding-agent/dist/modes/interactive/theme/theme-schema.d.ts.map +1 -0
- package/packages/pi-coding-agent/dist/modes/interactive/theme/theme-schema.js +77 -0
- package/packages/pi-coding-agent/dist/modes/interactive/theme/theme-schema.js.map +1 -0
- package/packages/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts +1 -66
- package/packages/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/theme/theme.js +1 -75
- package/packages/pi-coding-agent/dist/modes/interactive/theme/theme.js.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/theme/themes.d.ts +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/theme/themes.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/theme/themes.js +192 -24
- package/packages/pi-coding-agent/dist/modes/interactive/theme/themes.js.map +1 -1
- package/packages/pi-coding-agent/src/core/agent-session-abort-order.test.ts +56 -0
- package/packages/pi-coding-agent/src/core/auth-storage.test.ts +83 -0
- package/packages/pi-coding-agent/src/core/auth-storage.ts +35 -0
- package/packages/pi-coding-agent/src/core/chat-controller-ordering.test.ts +4 -1
- package/packages/pi-coding-agent/src/core/model-registry-auth-mode.test.ts +37 -1
- package/packages/pi-coding-agent/src/core/sdk.ts +41 -0
- package/packages/pi-coding-agent/src/core/skill-tool.test.ts +2 -2
- package/packages/pi-coding-agent/src/modes/interactive/components/chat-frame.ts +19 -7
- package/packages/pi-coding-agent/src/modes/interactive/components/footer.ts +53 -31
- package/packages/pi-coding-agent/src/modes/interactive/controllers/chat-controller.ts +88 -36
- package/packages/pi-coding-agent/src/modes/interactive/theme/theme-schema.ts +83 -0
- package/packages/pi-coding-agent/src/modes/interactive/theme/theme.ts +2 -83
- package/packages/pi-coding-agent/src/modes/interactive/theme/themes.ts +208 -27
- package/packages/pi-coding-agent/tsconfig.tsbuildinfo +1 -1
- package/packages/pi-tui/tsconfig.tsbuildinfo +1 -1
- package/packages/rpc-client/tsconfig.tsbuildinfo +1 -1
- package/pkg/dist/modes/interactive/theme/theme-schema.d.ts +70 -0
- package/pkg/dist/modes/interactive/theme/theme-schema.d.ts.map +1 -0
- package/pkg/dist/modes/interactive/theme/theme-schema.js +77 -0
- package/pkg/dist/modes/interactive/theme/theme-schema.js.map +1 -0
- package/pkg/dist/modes/interactive/theme/theme.d.ts +1 -66
- package/pkg/dist/modes/interactive/theme/theme.d.ts.map +1 -1
- package/pkg/dist/modes/interactive/theme/theme.js +1 -75
- package/pkg/dist/modes/interactive/theme/theme.js.map +1 -1
- package/pkg/dist/modes/interactive/theme/themes.d.ts +1 -1
- package/pkg/dist/modes/interactive/theme/themes.d.ts.map +1 -1
- package/pkg/dist/modes/interactive/theme/themes.js +192 -24
- package/pkg/dist/modes/interactive/theme/themes.js.map +1 -1
- package/src/resources/extensions/ask-user-questions.ts +24 -6
- package/src/resources/extensions/claude-code-cli/models.ts +9 -0
- package/src/resources/extensions/claude-code-cli/readiness.ts +13 -2
- package/src/resources/extensions/claude-code-cli/stream-adapter.ts +94 -4
- package/src/resources/extensions/claude-code-cli/tests/stream-adapter.test.ts +84 -0
- package/src/resources/extensions/gsd/auto/detect-stuck.ts +10 -0
- package/src/resources/extensions/gsd/auto/loop-deps.ts +1 -0
- package/src/resources/extensions/gsd/auto/loop.ts +109 -3
- package/src/resources/extensions/gsd/auto/phases.ts +94 -60
- package/src/resources/extensions/gsd/auto/resolve.ts +1 -1
- package/src/resources/extensions/gsd/auto/run-unit.ts +11 -1
- package/src/resources/extensions/gsd/auto/session.ts +7 -0
- package/src/resources/extensions/gsd/auto-artifact-paths.ts +20 -0
- package/src/resources/extensions/gsd/auto-dashboard.ts +21 -4
- package/src/resources/extensions/gsd/auto-dispatch.ts +123 -5
- package/src/resources/extensions/gsd/auto-loop.ts +1 -1
- package/src/resources/extensions/gsd/auto-model-selection.ts +13 -2
- package/src/resources/extensions/gsd/auto-post-unit.ts +9 -7
- package/src/resources/extensions/gsd/auto-prompts.ts +178 -38
- package/src/resources/extensions/gsd/auto-recovery.ts +63 -1
- package/src/resources/extensions/gsd/auto-start.ts +8 -6
- package/src/resources/extensions/gsd/auto-verification.ts +3 -3
- package/src/resources/extensions/gsd/auto-worktree.ts +65 -0
- package/src/resources/extensions/gsd/auto.ts +53 -28
- package/src/resources/extensions/gsd/bootstrap/agent-end-recovery.ts +8 -21
- package/src/resources/extensions/gsd/bootstrap/db-tools.ts +22 -4
- package/src/resources/extensions/gsd/bootstrap/query-tools.ts +31 -0
- package/src/resources/extensions/gsd/bootstrap/register-hooks.ts +22 -0
- package/src/resources/extensions/gsd/commands/catalog.ts +60 -3
- package/src/resources/extensions/gsd/commands/handlers/core.ts +6 -0
- package/src/resources/extensions/gsd/commands/handlers/escalate.ts +216 -0
- package/src/resources/extensions/gsd/commands/handlers/ops.ts +16 -0
- package/src/resources/extensions/gsd/commands/handlers/workflow.ts +279 -29
- package/src/resources/extensions/gsd/commands-cmux.ts +6 -2
- package/src/resources/extensions/gsd/commands-debug.ts +484 -0
- package/src/resources/extensions/gsd/commands-do.ts +1 -0
- package/src/resources/extensions/gsd/commands-handlers.ts +19 -2
- package/src/resources/extensions/gsd/commands-prefs-wizard.ts +1 -1
- package/src/resources/extensions/gsd/commands-scan.ts +125 -0
- package/src/resources/extensions/gsd/commands-workflow-templates.ts +129 -2
- package/src/resources/extensions/gsd/custom-workflow-engine.ts +85 -60
- package/src/resources/extensions/gsd/db-writer.ts +3 -0
- package/src/resources/extensions/gsd/debug-session-store.ts +377 -0
- package/src/resources/extensions/gsd/definition-loader.ts +7 -0
- package/src/resources/extensions/gsd/docs/preferences-reference.md +9 -9
- package/src/resources/extensions/gsd/doctor-git-checks.ts +5 -1
- package/src/resources/extensions/gsd/doctor-proactive.ts +4 -1
- package/src/resources/extensions/gsd/doctor-providers.ts +52 -22
- package/src/resources/extensions/gsd/doctor-runtime-checks.ts +23 -4
- package/src/resources/extensions/gsd/doctor-types.ts +1 -0
- package/src/resources/extensions/gsd/doctor.ts +7 -1
- package/src/resources/extensions/gsd/error-classifier.ts +6 -3
- package/src/resources/extensions/gsd/escalation.ts +367 -0
- package/src/resources/extensions/gsd/forensics.ts +25 -29
- package/src/resources/extensions/gsd/git-service.ts +0 -1
- package/src/resources/extensions/gsd/graph.ts +33 -3
- package/src/resources/extensions/gsd/gsd-db.ts +306 -29
- package/src/resources/extensions/gsd/health-widget-core.ts +43 -14
- package/src/resources/extensions/gsd/health-widget.ts +7 -3
- package/src/resources/extensions/gsd/metrics.ts +1 -0
- package/src/resources/extensions/gsd/model-cost-table.ts +3 -1
- package/src/resources/extensions/gsd/model-router.ts +15 -1
- package/src/resources/extensions/gsd/native-git-bridge.ts +134 -6
- package/src/resources/extensions/gsd/notification-widget.ts +25 -43
- package/src/resources/extensions/gsd/notifications.ts +6 -0
- package/src/resources/extensions/gsd/post-execution-checks.ts +37 -14
- package/src/resources/extensions/gsd/pre-execution-checks.ts +98 -8
- package/src/resources/extensions/gsd/preferences-models.ts +1 -0
- package/src/resources/extensions/gsd/preferences-types.ts +10 -2
- package/src/resources/extensions/gsd/preferences-validation.ts +33 -7
- package/src/resources/extensions/gsd/preferences.ts +10 -10
- package/src/resources/extensions/gsd/prompts/debug-diagnose.md +25 -0
- package/src/resources/extensions/gsd/prompts/debug-session-manager.md +80 -0
- package/src/resources/extensions/gsd/prompts/execute-task.md +12 -0
- package/src/resources/extensions/gsd/prompts/plan-milestone.md +12 -0
- package/src/resources/extensions/gsd/prompts/refine-slice.md +69 -0
- package/src/resources/extensions/gsd/prompts/scan.md +79 -0
- package/src/resources/extensions/gsd/prompts/workflow-oneshot.md +26 -0
- package/src/resources/extensions/gsd/run-manager.ts +53 -19
- package/src/resources/extensions/gsd/state.ts +50 -2
- package/src/resources/extensions/gsd/templates/PREFERENCES.md +7 -7
- package/src/resources/extensions/gsd/tests/agent-end-retry.test.ts +1 -34
- package/src/resources/extensions/gsd/tests/artifact-corruption-2630.test.ts +7 -0
- package/src/resources/extensions/gsd/tests/auto-loop.test.ts +45 -31
- package/src/resources/extensions/gsd/tests/auto-recovery.test.ts +123 -1
- package/src/resources/extensions/gsd/tests/auto-wrapup-inflight-guard.test.ts +39 -0
- package/src/resources/extensions/gsd/tests/autocomplete-regressions-1675.test.ts +39 -0
- package/src/resources/extensions/gsd/tests/commands-do.test.ts +48 -0
- package/src/resources/extensions/gsd/tests/commands-scan.test.ts +351 -0
- package/src/resources/extensions/gsd/tests/commands-workflow-custom.test.ts +8 -6
- package/src/resources/extensions/gsd/tests/complete-slice.test.ts +2 -2
- package/src/resources/extensions/gsd/tests/complete-task.test.ts +2 -2
- package/src/resources/extensions/gsd/tests/custom-workflow-engine.test.ts +63 -0
- package/src/resources/extensions/gsd/tests/debug-command-handler.test.ts +905 -0
- package/src/resources/extensions/gsd/tests/debug-command-lifecycle.integration.test.ts +1229 -0
- package/src/resources/extensions/gsd/tests/debug-session-store.test.ts +565 -0
- package/src/resources/extensions/gsd/tests/discuss-milestone-structured-questions.test.ts +64 -0
- package/src/resources/extensions/gsd/tests/dispatch-complete-milestone-guard.test.ts +67 -0
- package/src/resources/extensions/gsd/tests/doctor-providers.test.ts +62 -18
- package/src/resources/extensions/gsd/tests/enhanced-verification-integration.test.ts +5 -0
- package/src/resources/extensions/gsd/tests/escalation.test.ts +818 -0
- package/src/resources/extensions/gsd/tests/finalize-timeout-guard.test.ts +29 -12
- package/src/resources/extensions/gsd/tests/flat-rate-routing-guard.test.ts +106 -0
- package/src/resources/extensions/gsd/tests/forensics-hook-key-parse.test.ts +74 -0
- package/src/resources/extensions/gsd/tests/graph-operations.test.ts +0 -4
- package/src/resources/extensions/gsd/tests/gsd-db.test.ts +44 -1
- package/src/resources/extensions/gsd/tests/health-widget.test.ts +8 -2
- package/src/resources/extensions/gsd/tests/integration/doctor-git.test.ts +39 -0
- package/src/resources/extensions/gsd/tests/integration/doctor-proactive.test.ts +44 -0
- package/src/resources/extensions/gsd/tests/integration/doctor-runtime.test.ts +68 -1
- package/src/resources/extensions/gsd/tests/integration/git-service.test.ts +109 -11
- package/src/resources/extensions/gsd/tests/integration/idle-recovery.test.ts +51 -0
- package/src/resources/extensions/gsd/tests/integration/test-isolation.ts +53 -0
- package/src/resources/extensions/gsd/tests/journal-integration.test.ts +171 -1
- package/src/resources/extensions/gsd/tests/md-importer.test.ts +1 -1
- package/src/resources/extensions/gsd/tests/memory-store.test.ts +2 -2
- package/src/resources/extensions/gsd/tests/milestone-status-tool.test.ts +3 -2
- package/src/resources/extensions/gsd/tests/model-cost-table.test.ts +2 -2
- package/src/resources/extensions/gsd/tests/model-router.test.ts +1 -1
- package/src/resources/extensions/gsd/tests/model-unittype-mapping.test.ts +59 -0
- package/src/resources/extensions/gsd/tests/notification-widget.test.ts +1 -1
- package/src/resources/extensions/gsd/tests/plan-slice.test.ts +17 -0
- package/src/resources/extensions/gsd/tests/post-execution-checks.test.ts +105 -1
- package/src/resources/extensions/gsd/tests/pre-execution-checks.test.ts +275 -6
- package/src/resources/extensions/gsd/tests/preferences.test.ts +69 -1
- package/src/resources/extensions/gsd/tests/progressive-planning.test.ts +539 -0
- package/src/resources/extensions/gsd/tests/projection-regression.test.ts +7 -0
- package/src/resources/extensions/gsd/tests/prompt-budget-enforcement.test.ts +27 -0
- package/src/resources/extensions/gsd/tests/prompt-contracts.test.ts +24 -0
- package/src/resources/extensions/gsd/tests/prompt-db.test.ts +1 -1
- package/src/resources/extensions/gsd/tests/provider-errors.test.ts +33 -0
- package/src/resources/extensions/gsd/tests/register-hooks-depth-verification.test.ts +67 -0
- package/src/resources/extensions/gsd/tests/remote-notification-from-desktop.test.ts +107 -0
- package/src/resources/extensions/gsd/tests/requirements.test.ts +9 -0
- package/src/resources/extensions/gsd/tests/session-start-footer.test.ts +153 -0
- package/src/resources/extensions/gsd/tests/slice-context-injection.test.ts +16 -4
- package/src/resources/extensions/gsd/tests/state-corruption-2945.test.ts +3 -0
- package/src/resources/extensions/gsd/tests/stuck-detection-coverage.test.ts +15 -0
- package/src/resources/extensions/gsd/tests/summary-render-parity.test.ts +5 -0
- package/src/resources/extensions/gsd/tests/uok-contracts.test.ts +2 -1
- package/src/resources/extensions/gsd/tests/uok-flags.test.ts +31 -1
- package/src/resources/extensions/gsd/tests/uok-kernel-path.test.ts +166 -0
- package/src/resources/extensions/gsd/tests/workflow-install.test.ts +113 -0
- package/src/resources/extensions/gsd/tests/workflow-logger-wiring.test.ts +15 -6
- package/src/resources/extensions/gsd/tests/workflow-mcp.test.ts +2 -2
- package/src/resources/extensions/gsd/tests/workflow-plugins.test.ts +310 -0
- package/src/resources/extensions/gsd/tests/workflow-projections.test.ts +7 -0
- package/src/resources/extensions/gsd/tests/workflow-templates.test.ts +8 -2
- package/src/resources/extensions/gsd/tests/worktree-journal-events.test.ts +2 -1
- package/src/resources/extensions/gsd/tests/worktree-resolver.test.ts +77 -2
- package/src/resources/extensions/gsd/tools/complete-task.ts +87 -0
- package/src/resources/extensions/gsd/tools/plan-milestone.ts +42 -8
- package/src/resources/extensions/gsd/tools/plan-slice.ts +6 -1
- package/src/resources/extensions/gsd/types.ts +62 -0
- package/src/resources/extensions/gsd/unit-runtime.ts +1 -0
- package/src/resources/extensions/gsd/uok/contracts.ts +2 -1
- package/src/resources/extensions/gsd/uok/flags.ts +7 -7
- package/src/resources/extensions/gsd/uok/kernel.ts +16 -4
- package/src/resources/extensions/gsd/workflow-dispatch.ts +106 -0
- package/src/resources/extensions/gsd/workflow-install.ts +423 -0
- package/src/resources/extensions/gsd/workflow-manifest.ts +8 -0
- package/src/resources/extensions/gsd/workflow-mcp.ts +1 -6
- package/src/resources/extensions/gsd/workflow-plugins.ts +403 -0
- package/src/resources/extensions/gsd/workflow-templates/accessibility-audit.md +88 -0
- package/src/resources/extensions/gsd/workflow-templates/api-breaking-change.md +117 -0
- package/src/resources/extensions/gsd/workflow-templates/bugfix.md +1 -0
- package/src/resources/extensions/gsd/workflow-templates/changelog-gen.md +82 -0
- package/src/resources/extensions/gsd/workflow-templates/ci-bootstrap.md +144 -0
- package/src/resources/extensions/gsd/workflow-templates/dead-code.md +81 -0
- package/src/resources/extensions/gsd/workflow-templates/dep-upgrade.md +1 -0
- package/src/resources/extensions/gsd/workflow-templates/docs-sync.yaml +76 -0
- package/src/resources/extensions/gsd/workflow-templates/env-audit.yaml +88 -0
- package/src/resources/extensions/gsd/workflow-templates/full-project.md +1 -0
- package/src/resources/extensions/gsd/workflow-templates/hotfix.md +1 -0
- package/src/resources/extensions/gsd/workflow-templates/issue-triage.md +84 -0
- package/src/resources/extensions/gsd/workflow-templates/observability-setup.md +133 -0
- package/src/resources/extensions/gsd/workflow-templates/onboarding-check.md +74 -0
- package/src/resources/extensions/gsd/workflow-templates/performance-audit.md +125 -0
- package/src/resources/extensions/gsd/workflow-templates/pr-review.md +67 -0
- package/src/resources/extensions/gsd/workflow-templates/pr-triage.md +83 -0
- package/src/resources/extensions/gsd/workflow-templates/refactor.md +1 -0
- package/src/resources/extensions/gsd/workflow-templates/registry.json +184 -0
- package/src/resources/extensions/gsd/workflow-templates/release.md +118 -0
- package/src/resources/extensions/gsd/workflow-templates/rename-symbol.yaml +99 -0
- package/src/resources/extensions/gsd/workflow-templates/security-audit.md +1 -0
- package/src/resources/extensions/gsd/workflow-templates/small-feature.md +1 -0
- package/src/resources/extensions/gsd/workflow-templates/spike.md +1 -0
- package/src/resources/extensions/gsd/workflow-templates/test-backfill.yaml +73 -0
- package/src/resources/extensions/gsd/workflow-templates.ts +7 -0
- package/src/resources/extensions/gsd/workspace-index.ts +9 -4
- package/src/resources/extensions/gsd/worktree-resolver.ts +47 -1
- package/src/resources/extensions/remote-questions/commands.ts +480 -0
- package/src/resources/extensions/remote-questions/manager.ts +49 -4
- package/src/resources/extensions/remote-questions/telegram-adapter.ts +86 -4
- package/src/resources/extensions/remote-questions/tests/command-polling.test.ts +246 -0
- package/src/resources/extensions/remote-questions/tests/remote-answer-normalization.test.ts +92 -0
- package/src/resources/extensions/remote-questions/tests/telegram-commands.test.ts +267 -0
- package/src/resources/extensions/shared/interview-ui.ts +195 -1
- package/src/resources/extensions/shared/layout-utils.ts +26 -0
- package/src/resources/extensions/shared/rtk-shared.ts +58 -0
- package/src/resources/extensions/shared/rtk.ts +12 -52
- package/src/resources/extensions/shared/tests/interview-preview.test.ts +177 -0
- package/src/resources/extensions/shared/tests/preview-layout.test.ts +120 -0
- package/src/resources/skills/create-workflow/SKILL.md +33 -6
- package/dist/web/standalone/.next/static/chunks/2826.dd3dc8bbd3025fa5.js +0 -9
- package/dist/web/standalone/.next/static/css/f6e8833d46e738d8.css +0 -1
- package/packages/native/dist/ps/types.d.ts +0 -5
- package/packages/native/dist/ps/types.js +0 -2
- package/packages/native/src/ps/types.ts +0 -5
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/LICENSE +0 -201
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/README.md +0 -9
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-cjs/index.js +0 -762
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +0 -19
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/constants.js +0 -1
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +0 -9
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/index.js +0 -3
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +0 -230
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +0 -87
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +0 -32
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +0 -169
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +0 -21
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +0 -88
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -36
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +0 -21
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -22
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -23
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -21
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/timing.js +0 -4
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +0 -63
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +0 -10
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +0 -5
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -4
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +0 -3
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -46
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -24
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -12
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +0 -63
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -13
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +0 -12
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +0 -6
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -6
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -5
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +0 -6
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -13
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +0 -8
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +0 -10
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -5
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -4
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +0 -3
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -46
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -24
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -12
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -63
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -13
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -12
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +0 -6
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -5
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -6
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -13
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +0 -8
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -12
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -12
- package/packages/pi-ai/node_modules/@smithy/node-http-handler/package.json +0 -68
- package/packages/pi-ai/oauth.d.ts +0 -1
- package/packages/pi-ai/oauth.js +0 -1
- /package/dist/web/standalone/.next/static/{j7IBD35UgrL2b298GLK3V → jaWw1Jh0TYayjbfOrFe8D}/_buildManifest.js +0 -0
- /package/dist/web/standalone/.next/static/{j7IBD35UgrL2b298GLK3V → jaWw1Jh0TYayjbfOrFe8D}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Onboarding Check
|
|
2
|
+
|
|
3
|
+
<template_meta>
|
|
4
|
+
name: onboarding-check
|
|
5
|
+
version: 1
|
|
6
|
+
mode: oneshot
|
|
7
|
+
requires_project: false
|
|
8
|
+
artifact_dir: null
|
|
9
|
+
</template_meta>
|
|
10
|
+
|
|
11
|
+
<purpose>
|
|
12
|
+
Walk the project's README end-to-end as a brand-new contributor would, and
|
|
13
|
+
report every step that fails, is unclear, or is missing. Oneshot — produce a
|
|
14
|
+
gap report, not a fix.
|
|
15
|
+
</purpose>
|
|
16
|
+
|
|
17
|
+
<instructions>
|
|
18
|
+
|
|
19
|
+
## 1. Read the README top-to-bottom
|
|
20
|
+
|
|
21
|
+
- Read `README.md` (and any `CONTRIBUTING.md`, `docs/setup.md`, or other
|
|
22
|
+
docs the README links from its "Getting Started" section).
|
|
23
|
+
- Make a list of every command the docs tell you to run, in order.
|
|
24
|
+
|
|
25
|
+
## 2. Check the environment
|
|
26
|
+
|
|
27
|
+
For each prerequisite the README claims ("Node ≥ 22", "Python 3.11",
|
|
28
|
+
"Docker", etc.):
|
|
29
|
+
- Check whether the version is stated.
|
|
30
|
+
- Check whether it's pinned in the repo (e.g. `package.json` engines, `.nvmrc`,
|
|
31
|
+
`.tool-versions`, `pyproject.toml`, `Dockerfile`).
|
|
32
|
+
- If the README's claim and the repo's pin disagree, flag it.
|
|
33
|
+
|
|
34
|
+
## 3. Dry-run the commands
|
|
35
|
+
|
|
36
|
+
Where safe, run the commands in the **current** environment:
|
|
37
|
+
- `npm install` / `pip install -r requirements.txt` / equivalent.
|
|
38
|
+
- The "build" / "test" / "run" commands.
|
|
39
|
+
- The "dev server" command (spawn, wait 5s, kill it).
|
|
40
|
+
|
|
41
|
+
Skip any command that:
|
|
42
|
+
- Would hit external APIs with credentials (record as "needs real creds, not tested").
|
|
43
|
+
- Would incur real cost (cloud deploys, paid APIs).
|
|
44
|
+
- Would modify global state (`sudo`, package manager global installs).
|
|
45
|
+
|
|
46
|
+
## 4. Report
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
# Onboarding Report — <project name>
|
|
50
|
+
|
|
51
|
+
## Summary
|
|
52
|
+
<1–2 sentences: did a new contributor have a path that "just works"?>
|
|
53
|
+
|
|
54
|
+
## Prerequisites
|
|
55
|
+
- [✓/✗/?] <prereq> — <notes, version mismatch, etc.>
|
|
56
|
+
|
|
57
|
+
## Steps
|
|
58
|
+
1. [✓/✗/?] <command> — <exit code, error, or output snippet>
|
|
59
|
+
|
|
60
|
+
## Gaps
|
|
61
|
+
- <missing docs>
|
|
62
|
+
- <commands that failed or produced surprising output>
|
|
63
|
+
- <undocumented side effects>
|
|
64
|
+
|
|
65
|
+
## Recommendations
|
|
66
|
+
- <specific README edits that would fix the top 3 gaps>
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## 5. Don't edit
|
|
70
|
+
|
|
71
|
+
Don't modify the README or any config — just report. The author decides which
|
|
72
|
+
gaps to close.
|
|
73
|
+
|
|
74
|
+
</instructions>
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# Performance Audit Workflow
|
|
2
|
+
|
|
3
|
+
<template_meta>
|
|
4
|
+
name: performance-audit
|
|
5
|
+
version: 1
|
|
6
|
+
mode: markdown-phase
|
|
7
|
+
requires_project: false
|
|
8
|
+
artifact_dir: .gsd/workflows/perf/
|
|
9
|
+
</template_meta>
|
|
10
|
+
|
|
11
|
+
<purpose>
|
|
12
|
+
Find and fix real performance problems. Measure first, fix with evidence,
|
|
13
|
+
measure again. Avoids the common trap of "optimizations" that don't move
|
|
14
|
+
actual user-facing metrics.
|
|
15
|
+
</purpose>
|
|
16
|
+
|
|
17
|
+
<phases>
|
|
18
|
+
1. profile — Gather real measurements from representative workloads
|
|
19
|
+
2. prioritize — Pick the fixes with the best effort/impact ratio
|
|
20
|
+
3. fix — Apply the changes with before/after numbers
|
|
21
|
+
4. verify — Confirm the improvements hold under realistic load
|
|
22
|
+
</phases>
|
|
23
|
+
|
|
24
|
+
<process>
|
|
25
|
+
|
|
26
|
+
## Phase 1: Profile
|
|
27
|
+
|
|
28
|
+
**Goal:** Replace intuition with measurements.
|
|
29
|
+
|
|
30
|
+
1. **Define the workload.** What's slow, for whom, and under what conditions?
|
|
31
|
+
- Interactive: which user flow?
|
|
32
|
+
- Batch: which job?
|
|
33
|
+
- API: which endpoint, at what QPS?
|
|
34
|
+
Without this, you're optimizing in the dark.
|
|
35
|
+
|
|
36
|
+
2. **Establish a baseline metric** that reflects what users feel:
|
|
37
|
+
- Latency at p50, p95, p99.
|
|
38
|
+
- Throughput.
|
|
39
|
+
- Memory high-water-mark.
|
|
40
|
+
- Cold-start / warm-start times.
|
|
41
|
+
Pick one or two metrics — not all five.
|
|
42
|
+
|
|
43
|
+
3. **Run a profiler.**
|
|
44
|
+
- Node: `node --prof`, `clinic.js`, Chrome DevTools flamegraphs.
|
|
45
|
+
- Python: `cProfile`, `py-spy`, `scalene`.
|
|
46
|
+
- Go: `pprof`.
|
|
47
|
+
- Web: Lighthouse, Chrome Performance tab, Web Vitals.
|
|
48
|
+
- Database: `EXPLAIN ANALYZE`, slow query log.
|
|
49
|
+
|
|
50
|
+
4. **Write `BASELINE.md`** with:
|
|
51
|
+
- Exact workload description (so we can re-run it).
|
|
52
|
+
- Metric values.
|
|
53
|
+
- Profile output or flamegraph attached.
|
|
54
|
+
- Top 5 hot functions / queries / network calls.
|
|
55
|
+
|
|
56
|
+
5. **Gate:** The user confirms the baseline matches their experience. If it
|
|
57
|
+
doesn't, the workload isn't representative — go back and fix that first.
|
|
58
|
+
|
|
59
|
+
## Phase 2: Prioritize
|
|
60
|
+
|
|
61
|
+
**Goal:** Pick the fixes that actually matter.
|
|
62
|
+
|
|
63
|
+
1. **For each hot spot in the profile**, estimate:
|
|
64
|
+
- Potential improvement (guesstimate the % reduction).
|
|
65
|
+
- Implementation effort (hours / days).
|
|
66
|
+
- Risk (probability of introducing bugs).
|
|
67
|
+
|
|
68
|
+
2. **Prioritize by impact / (effort × risk).** A 50% reduction in a
|
|
69
|
+
p99-tail function often beats a 90% reduction in a warm path.
|
|
70
|
+
|
|
71
|
+
3. **Write `PLAN.md`** with:
|
|
72
|
+
- A ranked list of fixes (top 3–5).
|
|
73
|
+
- For each: what changes, why it should help, what could go wrong.
|
|
74
|
+
- Explicitly call out hot spots you're choosing to SKIP and why.
|
|
75
|
+
|
|
76
|
+
4. **Gate:** Confirm the plan with the user before coding. It's cheap to
|
|
77
|
+
change direction here, expensive later.
|
|
78
|
+
|
|
79
|
+
## Phase 3: Fix
|
|
80
|
+
|
|
81
|
+
**Goal:** Apply changes with receipts.
|
|
82
|
+
|
|
83
|
+
1. **One fix at a time.** Each becomes an atomic commit. Don't bundle
|
|
84
|
+
unrelated perf changes — you'll lose the ability to attribute gains.
|
|
85
|
+
|
|
86
|
+
2. **Before/after measurement** for each fix:
|
|
87
|
+
- Run the same workload from Phase 1.
|
|
88
|
+
- Record the new metrics.
|
|
89
|
+
- If a fix doesn't help, revert it and say so.
|
|
90
|
+
|
|
91
|
+
3. **Commit message format:**
|
|
92
|
+
```
|
|
93
|
+
perf(<area>): <change summary>
|
|
94
|
+
|
|
95
|
+
Before: p95 400ms
|
|
96
|
+
After: p95 180ms
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
4. **Append to `PROGRESS.md`:**
|
|
100
|
+
- Fix name, before/after, whether kept or reverted.
|
|
101
|
+
|
|
102
|
+
## Phase 4: Verify
|
|
103
|
+
|
|
104
|
+
**Goal:** Make sure the improvements hold up in reality.
|
|
105
|
+
|
|
106
|
+
1. **Re-run the full Phase 1 workload.** Compare against baseline.
|
|
107
|
+
|
|
108
|
+
2. **Test under stress** — 2x the normal load, cold caches, realistic data
|
|
109
|
+
sizes. Perf fixes that only help a synthetic microbenchmark aren't
|
|
110
|
+
worth shipping.
|
|
111
|
+
|
|
112
|
+
3. **Check for regressions** elsewhere — run the full test suite, watch
|
|
113
|
+
memory, check other endpoints. Sometimes local gains come with global
|
|
114
|
+
costs.
|
|
115
|
+
|
|
116
|
+
4. **Write `REPORT.md`:**
|
|
117
|
+
- Summary: which metric improved by how much, and under what conditions.
|
|
118
|
+
- Fixes kept vs reverted.
|
|
119
|
+
- Remaining hot spots that weren't worth it.
|
|
120
|
+
- Monitoring recommendation: what metric to track so regressions surface.
|
|
121
|
+
|
|
122
|
+
5. **Gate:** Present the report. If the improvement isn't meaningful at the
|
|
123
|
+
user-facing level, that's important to surface — don't pretend a win.
|
|
124
|
+
|
|
125
|
+
</process>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# PR Review
|
|
2
|
+
|
|
3
|
+
<template_meta>
|
|
4
|
+
name: pr-review
|
|
5
|
+
version: 1
|
|
6
|
+
mode: oneshot
|
|
7
|
+
requires_project: false
|
|
8
|
+
artifact_dir: null
|
|
9
|
+
</template_meta>
|
|
10
|
+
|
|
11
|
+
<purpose>
|
|
12
|
+
Produce a structured code-review for the current branch's diff (or a named PR
|
|
13
|
+
if the user supplies one). No branch switching, no state tracking — emit the
|
|
14
|
+
review as a single response and stop.
|
|
15
|
+
</purpose>
|
|
16
|
+
|
|
17
|
+
<instructions>
|
|
18
|
+
|
|
19
|
+
## 1. Determine what to review
|
|
20
|
+
|
|
21
|
+
- If the user arguments include a PR number (e.g. `#123`) or a URL matching
|
|
22
|
+
`github.com/<owner>/<repo>/pull/<n>`, use `gh pr view <ref>` + `gh pr diff <ref>`.
|
|
23
|
+
- Otherwise, default to the current branch vs `main`: `git diff main...HEAD`.
|
|
24
|
+
- If neither has changes, say so and stop.
|
|
25
|
+
|
|
26
|
+
## 2. Survey the diff
|
|
27
|
+
|
|
28
|
+
- List the files touched, grouped into: `src/`, `tests/`, `docs/`, `config/`, `other`.
|
|
29
|
+
- For each file, note what kind of change it is (feature, refactor, fix, test, docs).
|
|
30
|
+
- Flag anything that looks unusual for its directory (e.g. `.env` changes,
|
|
31
|
+
generated files, lockfiles with semver-major bumps).
|
|
32
|
+
|
|
33
|
+
## 3. Produce the review
|
|
34
|
+
|
|
35
|
+
Structure the output as:
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
## Summary
|
|
39
|
+
<2–3 sentence overview of what the PR does>
|
|
40
|
+
|
|
41
|
+
## Concerns
|
|
42
|
+
- <specific line references for anything that could break, regress, or harm
|
|
43
|
+
maintainability. Prefer `file.ts:42` anchors. Omit this section if none.>
|
|
44
|
+
|
|
45
|
+
## Suggestions
|
|
46
|
+
- <non-blocking improvements — naming, tests to add, small refactors>
|
|
47
|
+
|
|
48
|
+
## Tests / Verification
|
|
49
|
+
- <what tests were added? anything uncovered? did CI run?>
|
|
50
|
+
|
|
51
|
+
## Questions
|
|
52
|
+
- <open questions you can't answer from the diff alone>
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## 4. Be concrete
|
|
56
|
+
|
|
57
|
+
- Quote 1–3 specific lines with `file:line` references in each bullet where
|
|
58
|
+
applicable. Vague reviews ("consider refactoring this") are worse than none.
|
|
59
|
+
- If the diff is >500 lines, call out that and ask whether to do a deep review
|
|
60
|
+
or a skim — don't silently skim a large diff.
|
|
61
|
+
|
|
62
|
+
## 5. Don't modify code
|
|
63
|
+
|
|
64
|
+
This is a oneshot review. Do **not** edit files or create artifacts. If you
|
|
65
|
+
suggest a change, describe it in prose — let the author decide.
|
|
66
|
+
|
|
67
|
+
</instructions>
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# PR Triage
|
|
2
|
+
|
|
3
|
+
<template_meta>
|
|
4
|
+
name: pr-triage
|
|
5
|
+
version: 1
|
|
6
|
+
mode: oneshot
|
|
7
|
+
requires_project: false
|
|
8
|
+
artifact_dir: null
|
|
9
|
+
</template_meta>
|
|
10
|
+
|
|
11
|
+
<purpose>
|
|
12
|
+
Walk open pull requests and produce a triage report: which to merge, close,
|
|
13
|
+
or nudge. Oneshot — report only, no actions taken.
|
|
14
|
+
</purpose>
|
|
15
|
+
|
|
16
|
+
<instructions>
|
|
17
|
+
|
|
18
|
+
## 1. List open PRs
|
|
19
|
+
|
|
20
|
+
Run `gh pr list --state open --limit 50 --json number,title,author,createdAt,updatedAt,isDraft,labels,reviewDecision,mergeable,headRefName,statusCheckRollup,additions,deletions`.
|
|
21
|
+
|
|
22
|
+
If there are more than 50 open PRs, note that and use `--limit 100`. If still
|
|
23
|
+
more, just pick the 100 most recently updated and warn that the report is
|
|
24
|
+
partial.
|
|
25
|
+
|
|
26
|
+
## 2. Bucket each PR
|
|
27
|
+
|
|
28
|
+
For each PR, compute:
|
|
29
|
+
- **Age**: days since creation.
|
|
30
|
+
- **Staleness**: days since last update.
|
|
31
|
+
- **Size**: `additions + deletions` (small ≤ 100, medium ≤ 500, large > 500).
|
|
32
|
+
- **CI**: passing, failing, pending, none.
|
|
33
|
+
- **Reviews**: approved, changes-requested, pending, none.
|
|
34
|
+
- **Mergeability**: clean, conflicting, unknown.
|
|
35
|
+
- **Draft**: yes/no.
|
|
36
|
+
|
|
37
|
+
Put each PR into exactly ONE bucket:
|
|
38
|
+
|
|
39
|
+
- **✅ Ready to merge** — non-draft, approved, CI passing, mergeable.
|
|
40
|
+
- **🛠 Waiting on author** — changes-requested or CI failing.
|
|
41
|
+
- **👀 Needs review** — no reviews, non-draft, CI passing, ≤ 30 days old.
|
|
42
|
+
- **💤 Stale** — no update in 30+ days.
|
|
43
|
+
- **❌ Close candidate** — stale > 90 days AND (no reviews OR conflicting)
|
|
44
|
+
OR author is inactive OR scope is clearly superseded.
|
|
45
|
+
- **🚧 Draft** — explicitly drafted, not yet ready.
|
|
46
|
+
|
|
47
|
+
## 3. Output
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
PR Triage — <N> open PRs (as of YYYY-MM-DD)
|
|
51
|
+
|
|
52
|
+
## ✅ Ready to merge (<n>)
|
|
53
|
+
- #123 <title> — by @author, +X/-Y, approved, CI ✓
|
|
54
|
+
Next: merge with `gh pr merge 123`.
|
|
55
|
+
|
|
56
|
+
## 🛠 Waiting on author (<n>)
|
|
57
|
+
- #124 <title> — CI failing: <reason>. Nudge author.
|
|
58
|
+
|
|
59
|
+
## 👀 Needs review (<n>)
|
|
60
|
+
- #125 <title> — 5 days old, no reviews yet.
|
|
61
|
+
|
|
62
|
+
## 💤 Stale (<n>)
|
|
63
|
+
- #126 <title> — no update in 45 days. Suggest: nudge @author, or close.
|
|
64
|
+
|
|
65
|
+
## ❌ Close candidates (<n>)
|
|
66
|
+
- #127 <title> — 120 days stale, conflicts with main, superseded by #140.
|
|
67
|
+
|
|
68
|
+
## 🚧 Drafts (<n>)
|
|
69
|
+
- #128 — <title>
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## 4. Recommend specific actions
|
|
73
|
+
|
|
74
|
+
At the bottom, produce a short action list of the top 3–5 PRs that would have
|
|
75
|
+
the biggest impact if resolved (oldest bottlenecking, most approved but unmerged,
|
|
76
|
+
easiest close-candidates).
|
|
77
|
+
|
|
78
|
+
## 5. Don't act
|
|
79
|
+
|
|
80
|
+
Do not run `gh pr merge`, `gh pr close`, or `gh pr comment`. The report is
|
|
81
|
+
for humans to act on.
|
|
82
|
+
|
|
83
|
+
</instructions>
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"name": "Full Project",
|
|
6
6
|
"description": "Complete GSD workflow with roadmap, milestones, slices, and full ceremony",
|
|
7
7
|
"file": "full-project.md",
|
|
8
|
+
"mode": "auto-milestone",
|
|
8
9
|
"phases": ["init", "discuss", "plan", "execute", "verify"],
|
|
9
10
|
"triggers": ["new project", "greenfield", "from scratch", "build an app", "create a new"],
|
|
10
11
|
"artifact_dir": ".gsd/",
|
|
@@ -15,6 +16,7 @@
|
|
|
15
16
|
"name": "Bug Fix",
|
|
16
17
|
"description": "Triage, reproduce, fix, test, and ship a bug fix",
|
|
17
18
|
"file": "bugfix.md",
|
|
19
|
+
"mode": "markdown-phase",
|
|
18
20
|
"phases": ["triage", "fix", "verify", "ship"],
|
|
19
21
|
"triggers": ["bug", "issue", "fix", "broken", "regression", "error", "crash", "failing", "github.com/*/issues/*"],
|
|
20
22
|
"artifact_dir": ".gsd/workflows/bugfixes/",
|
|
@@ -25,6 +27,7 @@
|
|
|
25
27
|
"name": "Small Feature",
|
|
26
28
|
"description": "Lightweight feature development with optional discussion and research",
|
|
27
29
|
"file": "small-feature.md",
|
|
30
|
+
"mode": "markdown-phase",
|
|
28
31
|
"phases": ["scope", "plan", "implement", "verify"],
|
|
29
32
|
"triggers": ["add", "feature", "implement", "build", "create", "new command", "new endpoint"],
|
|
30
33
|
"artifact_dir": ".gsd/workflows/features/",
|
|
@@ -35,6 +38,7 @@
|
|
|
35
38
|
"name": "Refactor / Migration",
|
|
36
39
|
"description": "Systematic code transformation with inventory and wave-based execution",
|
|
37
40
|
"file": "refactor.md",
|
|
41
|
+
"mode": "markdown-phase",
|
|
38
42
|
"phases": ["inventory", "plan", "migrate", "verify"],
|
|
39
43
|
"triggers": ["refactor", "migrate", "rename", "restructure", "move", "reorganize", "clean up"],
|
|
40
44
|
"artifact_dir": ".gsd/workflows/refactors/",
|
|
@@ -45,6 +49,7 @@
|
|
|
45
49
|
"name": "Research Spike",
|
|
46
50
|
"description": "Investigate a question, prototype, and document findings",
|
|
47
51
|
"file": "spike.md",
|
|
52
|
+
"mode": "markdown-phase",
|
|
48
53
|
"phases": ["scope", "research", "synthesize"],
|
|
49
54
|
"triggers": ["research", "investigate", "explore", "spike", "compare", "evaluate", "should we", "what if", "how does"],
|
|
50
55
|
"artifact_dir": ".gsd/workflows/spikes/",
|
|
@@ -55,6 +60,7 @@
|
|
|
55
60
|
"name": "Hotfix",
|
|
56
61
|
"description": "Minimal ceremony: fix the thing, test it, ship it",
|
|
57
62
|
"file": "hotfix.md",
|
|
63
|
+
"mode": "markdown-phase",
|
|
58
64
|
"phases": ["fix", "ship"],
|
|
59
65
|
"triggers": ["hotfix", "urgent", "critical", "asap", "production down", "p0"],
|
|
60
66
|
"artifact_dir": null,
|
|
@@ -65,6 +71,7 @@
|
|
|
65
71
|
"name": "Security Audit",
|
|
66
72
|
"description": "Scan for vulnerabilities, triage findings, remediate, and verify",
|
|
67
73
|
"file": "security-audit.md",
|
|
74
|
+
"mode": "markdown-phase",
|
|
68
75
|
"phases": ["scan", "triage", "remediate", "re-scan"],
|
|
69
76
|
"triggers": ["security", "audit", "vulnerability", "owasp", "cve", "penetration", "hardening"],
|
|
70
77
|
"artifact_dir": ".gsd/workflows/audits/",
|
|
@@ -75,11 +82,188 @@
|
|
|
75
82
|
"name": "Dependency Upgrade",
|
|
76
83
|
"description": "Assess impact, upgrade dependencies, fix breaking changes",
|
|
77
84
|
"file": "dep-upgrade.md",
|
|
85
|
+
"mode": "markdown-phase",
|
|
78
86
|
"phases": ["assess", "upgrade", "fix", "verify"],
|
|
79
87
|
"triggers": ["upgrade", "update", "dependency", "deps", "bump", "outdated", "npm update", "renovate"],
|
|
80
88
|
"artifact_dir": ".gsd/workflows/upgrades/",
|
|
81
89
|
"estimated_complexity": "medium",
|
|
82
90
|
"requires_project": false
|
|
91
|
+
},
|
|
92
|
+
"pr-review": {
|
|
93
|
+
"name": "PR Review",
|
|
94
|
+
"description": "Walk git diff, produce structured review notes (oneshot — no state)",
|
|
95
|
+
"file": "pr-review.md",
|
|
96
|
+
"mode": "oneshot",
|
|
97
|
+
"phases": [],
|
|
98
|
+
"triggers": ["pr review", "code review", "review this pr", "review changes", "review diff"],
|
|
99
|
+
"artifact_dir": null,
|
|
100
|
+
"estimated_complexity": "low",
|
|
101
|
+
"requires_project": false
|
|
102
|
+
},
|
|
103
|
+
"changelog-gen": {
|
|
104
|
+
"name": "Changelog Generator",
|
|
105
|
+
"description": "Parse git log since last tag, categorize, write CHANGELOG entry (oneshot)",
|
|
106
|
+
"file": "changelog-gen.md",
|
|
107
|
+
"mode": "oneshot",
|
|
108
|
+
"phases": [],
|
|
109
|
+
"triggers": ["changelog", "release notes", "generate changelog", "what changed"],
|
|
110
|
+
"artifact_dir": null,
|
|
111
|
+
"estimated_complexity": "low",
|
|
112
|
+
"requires_project": false
|
|
113
|
+
},
|
|
114
|
+
"issue-triage": {
|
|
115
|
+
"name": "Issue Triage",
|
|
116
|
+
"description": "Categorize, label, prioritize a GitHub issue and suggest next action (oneshot)",
|
|
117
|
+
"file": "issue-triage.md",
|
|
118
|
+
"mode": "oneshot",
|
|
119
|
+
"phases": [],
|
|
120
|
+
"triggers": ["triage issue", "categorize issue", "label issue", "prioritize issue"],
|
|
121
|
+
"artifact_dir": null,
|
|
122
|
+
"estimated_complexity": "low",
|
|
123
|
+
"requires_project": false
|
|
124
|
+
},
|
|
125
|
+
"pr-triage": {
|
|
126
|
+
"name": "PR Triage",
|
|
127
|
+
"description": "Walk open PRs, flag stale, recommend merge/close/nudge (oneshot)",
|
|
128
|
+
"file": "pr-triage.md",
|
|
129
|
+
"mode": "oneshot",
|
|
130
|
+
"phases": [],
|
|
131
|
+
"triggers": ["triage prs", "pr triage", "open prs", "stale prs", "review open prs"],
|
|
132
|
+
"artifact_dir": null,
|
|
133
|
+
"estimated_complexity": "low",
|
|
134
|
+
"requires_project": false
|
|
135
|
+
},
|
|
136
|
+
"onboarding-check": {
|
|
137
|
+
"name": "Onboarding Check",
|
|
138
|
+
"description": "Verify README setup works end-to-end for a new contributor (oneshot)",
|
|
139
|
+
"file": "onboarding-check.md",
|
|
140
|
+
"mode": "oneshot",
|
|
141
|
+
"phases": [],
|
|
142
|
+
"triggers": ["onboarding", "new contributor", "setup check", "readme check", "verify setup"],
|
|
143
|
+
"artifact_dir": null,
|
|
144
|
+
"estimated_complexity": "low",
|
|
145
|
+
"requires_project": false
|
|
146
|
+
},
|
|
147
|
+
"dead-code": {
|
|
148
|
+
"name": "Dead Code Finder",
|
|
149
|
+
"description": "Find unused code and report; human approves before removal (oneshot)",
|
|
150
|
+
"file": "dead-code.md",
|
|
151
|
+
"mode": "oneshot",
|
|
152
|
+
"phases": [],
|
|
153
|
+
"triggers": ["dead code", "unused code", "unreachable", "remove unused"],
|
|
154
|
+
"artifact_dir": null,
|
|
155
|
+
"estimated_complexity": "low",
|
|
156
|
+
"requires_project": false
|
|
157
|
+
},
|
|
158
|
+
"accessibility-audit": {
|
|
159
|
+
"name": "Accessibility Audit",
|
|
160
|
+
"description": "A11y scan with remediation recommendations (oneshot)",
|
|
161
|
+
"file": "accessibility-audit.md",
|
|
162
|
+
"mode": "oneshot",
|
|
163
|
+
"phases": [],
|
|
164
|
+
"triggers": ["a11y", "accessibility", "wcag", "screen reader", "aria"],
|
|
165
|
+
"artifact_dir": null,
|
|
166
|
+
"estimated_complexity": "low",
|
|
167
|
+
"requires_project": false
|
|
168
|
+
},
|
|
169
|
+
"test-backfill": {
|
|
170
|
+
"name": "Test Backfill",
|
|
171
|
+
"description": "Iterate untested functions, add tests, shell-verify suite (yaml engine)",
|
|
172
|
+
"file": "test-backfill.yaml",
|
|
173
|
+
"mode": "yaml-step",
|
|
174
|
+
"phases": [],
|
|
175
|
+
"triggers": ["test backfill", "backfill tests", "add missing tests", "coverage gap"],
|
|
176
|
+
"artifact_dir": null,
|
|
177
|
+
"estimated_complexity": "medium",
|
|
178
|
+
"requires_project": false
|
|
179
|
+
},
|
|
180
|
+
"docs-sync": {
|
|
181
|
+
"name": "Docs Sync",
|
|
182
|
+
"description": "Iterate undocumented exports, update JSDoc/README (yaml engine)",
|
|
183
|
+
"file": "docs-sync.yaml",
|
|
184
|
+
"mode": "yaml-step",
|
|
185
|
+
"phases": [],
|
|
186
|
+
"triggers": ["docs sync", "sync docs", "update docs", "document exports"],
|
|
187
|
+
"artifact_dir": null,
|
|
188
|
+
"estimated_complexity": "medium",
|
|
189
|
+
"requires_project": false
|
|
190
|
+
},
|
|
191
|
+
"rename-symbol": {
|
|
192
|
+
"name": "Rename Symbol",
|
|
193
|
+
"description": "Iterate files containing symbol, rename, verify build+tests (yaml engine)",
|
|
194
|
+
"file": "rename-symbol.yaml",
|
|
195
|
+
"mode": "yaml-step",
|
|
196
|
+
"phases": [],
|
|
197
|
+
"triggers": ["rename symbol", "rename function", "rename variable", "rename class"],
|
|
198
|
+
"artifact_dir": null,
|
|
199
|
+
"estimated_complexity": "medium",
|
|
200
|
+
"requires_project": false
|
|
201
|
+
},
|
|
202
|
+
"env-audit": {
|
|
203
|
+
"name": "Env Audit",
|
|
204
|
+
"description": "Iterate env vars across code/docs/CI, flag drift (yaml engine)",
|
|
205
|
+
"file": "env-audit.yaml",
|
|
206
|
+
"mode": "yaml-step",
|
|
207
|
+
"phases": [],
|
|
208
|
+
"triggers": ["env audit", "audit env", "env vars", "environment variables"],
|
|
209
|
+
"artifact_dir": null,
|
|
210
|
+
"estimated_complexity": "medium",
|
|
211
|
+
"requires_project": false
|
|
212
|
+
},
|
|
213
|
+
"release": {
|
|
214
|
+
"name": "Release",
|
|
215
|
+
"description": "Version bump, changelog, tag, publish — phased with approval gates",
|
|
216
|
+
"file": "release.md",
|
|
217
|
+
"mode": "markdown-phase",
|
|
218
|
+
"phases": ["prepare", "bump", "publish", "announce"],
|
|
219
|
+
"triggers": ["release", "ship release", "cut release", "tag release", "publish release"],
|
|
220
|
+
"artifact_dir": ".gsd/workflows/releases/",
|
|
221
|
+
"estimated_complexity": "medium",
|
|
222
|
+
"requires_project": false
|
|
223
|
+
},
|
|
224
|
+
"api-breaking-change": {
|
|
225
|
+
"name": "API Breaking Change",
|
|
226
|
+
"description": "Find callers, migrate, deprecate, release — multi-session phased",
|
|
227
|
+
"file": "api-breaking-change.md",
|
|
228
|
+
"mode": "markdown-phase",
|
|
229
|
+
"phases": ["survey", "migrate", "deprecate", "release"],
|
|
230
|
+
"triggers": ["breaking change", "api break", "remove api", "deprecate"],
|
|
231
|
+
"artifact_dir": ".gsd/workflows/api-breaks/",
|
|
232
|
+
"estimated_complexity": "high",
|
|
233
|
+
"requires_project": false
|
|
234
|
+
},
|
|
235
|
+
"performance-audit": {
|
|
236
|
+
"name": "Performance Audit",
|
|
237
|
+
"description": "Profile hot paths, prioritize, implement fixes, verify — phased",
|
|
238
|
+
"file": "performance-audit.md",
|
|
239
|
+
"mode": "markdown-phase",
|
|
240
|
+
"phases": ["profile", "prioritize", "fix", "verify"],
|
|
241
|
+
"triggers": ["performance", "slow", "perf audit", "bottleneck", "optimize"],
|
|
242
|
+
"artifact_dir": ".gsd/workflows/perf/",
|
|
243
|
+
"estimated_complexity": "medium",
|
|
244
|
+
"requires_project": false
|
|
245
|
+
},
|
|
246
|
+
"observability-setup": {
|
|
247
|
+
"name": "Observability Setup",
|
|
248
|
+
"description": "Survey, design, add logging/metrics/traces, verify — phased",
|
|
249
|
+
"file": "observability-setup.md",
|
|
250
|
+
"mode": "markdown-phase",
|
|
251
|
+
"phases": ["survey", "design", "implement", "verify"],
|
|
252
|
+
"triggers": ["observability", "logging", "metrics", "tracing", "opentelemetry"],
|
|
253
|
+
"artifact_dir": ".gsd/workflows/observability/",
|
|
254
|
+
"estimated_complexity": "medium",
|
|
255
|
+
"requires_project": false
|
|
256
|
+
},
|
|
257
|
+
"ci-bootstrap": {
|
|
258
|
+
"name": "CI Bootstrap",
|
|
259
|
+
"description": "Discover stack, design pipeline, implement, verify — phased",
|
|
260
|
+
"file": "ci-bootstrap.md",
|
|
261
|
+
"mode": "markdown-phase",
|
|
262
|
+
"phases": ["discover", "design", "implement", "verify"],
|
|
263
|
+
"triggers": ["ci bootstrap", "setup ci", "github actions", "build pipeline", "test pipeline"],
|
|
264
|
+
"artifact_dir": ".gsd/workflows/ci/",
|
|
265
|
+
"estimated_complexity": "medium",
|
|
266
|
+
"requires_project": false
|
|
83
267
|
}
|
|
84
268
|
}
|
|
85
269
|
}
|