@opengsd/gsd-path 1.0.0
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/AGENTS.md +397 -0
- package/DOCS.md +341 -0
- package/FULL.md +475 -0
- package/GUIDE.md +23 -0
- package/HOOKS.md +273 -0
- package/LICENSE +21 -0
- package/MIGRATE.md +100 -0
- package/QUICK.md +146 -0
- package/README.md +280 -0
- package/RUNTIME.md +229 -0
- package/UPDATE.md +196 -0
- package/WORKFLOW.md +683 -0
- package/package.json +80 -0
- package/platforms/claude/dispatch.md +63 -0
- package/platforms/copilot/dispatch.md +61 -0
- package/platforms/cursor/agent.md +17 -0
- package/platforms/cursor/dispatch.md +63 -0
- package/platforms/grok/dispatch.md +61 -0
- package/platforms/kimi/dispatch.md +64 -0
- package/platforms/kiro/dispatch.md +58 -0
- package/platforms/opencode/dispatch.md +62 -0
- package/platforms/qwen/dispatch.md +60 -0
- package/platforms/shared-agents/dispatch.md +131 -0
- package/plugin.json +14 -0
- package/scripts/_common.py +180 -0
- package/scripts/archive_milestone.py +2265 -0
- package/scripts/bootstrap_repository.py +710 -0
- package/scripts/build_state.py +854 -0
- package/scripts/check_docs_audit.py +463 -0
- package/scripts/check_handoffs.py +1855 -0
- package/scripts/check_task_briefs.py +376 -0
- package/scripts/check_update.py +93 -0
- package/scripts/core_hook_gate.py +34 -0
- package/scripts/core_hook_settings.py +119 -0
- package/scripts/detect_project.py +1517 -0
- package/scripts/discussion_records.py +619 -0
- package/scripts/discussion_validate.py +1321 -0
- package/scripts/dispatch_driver.py +1812 -0
- package/scripts/git_guard.py +759 -0
- package/scripts/guard_hook.py +2124 -0
- package/scripts/install.mjs +3239 -0
- package/scripts/install.py +3008 -0
- package/scripts/integration.py +1433 -0
- package/scripts/isolation.py +3538 -0
- package/scripts/lean_verification.py +256 -0
- package/scripts/loop_run.py +837 -0
- package/scripts/migrate_core.py +169 -0
- package/scripts/pipeline_diagnose.py +715 -0
- package/scripts/pipeline_git.py +940 -0
- package/scripts/pipeline_state.py +2291 -0
- package/scripts/pipeline_undo.py +1039 -0
- package/scripts/promote_lookahead.py +415 -0
- package/scripts/review_findings.py +714 -0
- package/scripts/review_panel.py +553 -0
- package/scripts/skill-resources.json +340 -0
- package/scripts/state_checkpoint.py +1039 -0
- package/scripts/state_promote.py +743 -0
- package/scripts/status_runtime.py +122 -0
- package/scripts/sync_skill_resources.py +259 -0
- package/scripts/token_budget.py +146 -0
- package/scripts/wizard.mjs +179 -0
- package/scripts/workflow_run.py +117 -0
- package/skills/gsd-path/BUILD.md +700 -0
- package/skills/gsd-path/DECIDE.md +115 -0
- package/skills/gsd-path/DEFINE.md +297 -0
- package/skills/gsd-path/DOCS-AUDIT.md +190 -0
- package/skills/gsd-path/INSPECT.md +167 -0
- package/skills/gsd-path/PLAN.md +411 -0
- package/skills/gsd-path/RESEARCH.md +159 -0
- package/skills/gsd-path/ROADMAP.md +215 -0
- package/skills/gsd-path/SHIP.md +412 -0
- package/skills/gsd-path/SKILL.md +471 -0
- package/skills/gsd-path/agents/openai.yaml +6 -0
- package/skills/gsd-path/references/codebase-mapper.md +52 -0
- package/skills/gsd-path/references/coder.md +90 -0
- package/skills/gsd-path/references/decider.md +36 -0
- package/skills/gsd-path/references/dispatch.md +131 -0
- package/skills/gsd-path/references/docs-auditor.md +60 -0
- package/skills/gsd-path/references/planner.md +104 -0
- package/skills/gsd-path/references/researcher.md +42 -0
- package/skills/gsd-path/references/reviewer.md +188 -0
- package/skills/gsd-path/references/roadmapper.md +48 -0
- package/skills/gsd-path/scripts/_common.py +180 -0
- package/skills/gsd-path/scripts/archive_milestone.py +2265 -0
- package/skills/gsd-path/scripts/bootstrap_repository.py +710 -0
- package/skills/gsd-path/scripts/build_state.py +854 -0
- package/skills/gsd-path/scripts/check_docs_audit.py +463 -0
- package/skills/gsd-path/scripts/check_handoffs.py +1855 -0
- package/skills/gsd-path/scripts/check_task_briefs.py +376 -0
- package/skills/gsd-path/scripts/check_update.py +93 -0
- package/skills/gsd-path/scripts/detect_project.py +1517 -0
- package/skills/gsd-path/scripts/discussion_records.py +619 -0
- package/skills/gsd-path/scripts/discussion_validate.py +1321 -0
- package/skills/gsd-path/scripts/dispatch_driver.py +1812 -0
- package/skills/gsd-path/scripts/integration.py +1433 -0
- package/skills/gsd-path/scripts/isolation.py +3538 -0
- package/skills/gsd-path/scripts/lean_verification.py +256 -0
- package/skills/gsd-path/scripts/loop_run.py +837 -0
- package/skills/gsd-path/scripts/pipeline_git.py +940 -0
- package/skills/gsd-path/scripts/pipeline_state.py +2291 -0
- package/skills/gsd-path/scripts/promote_lookahead.py +415 -0
- package/skills/gsd-path/scripts/review_findings.py +714 -0
- package/skills/gsd-path/scripts/review_panel.py +553 -0
- package/skills/gsd-path/scripts/state_checkpoint.py +1039 -0
- package/skills/gsd-path/scripts/state_promote.py +743 -0
- package/skills/gsd-path/scripts/token_budget.py +146 -0
- package/skills/gsd-path/scripts/workflow_run.py +117 -0
- package/skills/gsd-path/templates/answers.md +29 -0
- package/skills/gsd-path/templates/archive-manifest.md +37 -0
- package/skills/gsd-path/templates/charter.md +50 -0
- package/skills/gsd-path/templates/codebase.md +46 -0
- package/skills/gsd-path/templates/dialogue.md +21 -0
- package/skills/gsd-path/templates/docs-audit.md +69 -0
- package/skills/gsd-path/templates/evidence.md +24 -0
- package/skills/gsd-path/templates/final-review.md +27 -0
- package/skills/gsd-path/templates/gap-review.md +20 -0
- package/skills/gsd-path/templates/intent.md +98 -0
- package/skills/gsd-path/templates/loop.md +59 -0
- package/skills/gsd-path/templates/patch-findings.md +16 -0
- package/skills/gsd-path/templates/plan-panel.md +25 -0
- package/skills/gsd-path/templates/plan.md +89 -0
- package/skills/gsd-path/templates/repository.md +16 -0
- package/skills/gsd-path/templates/research-handoff.md +25 -0
- package/skills/gsd-path/templates/roadmap.md +38 -0
- package/skills/gsd-path/templates/skeptic.md +36 -0
- package/skills/gsd-path/templates/state.md +27 -0
- package/skills/gsd-path/templates/synthesis.md +36 -0
- package/skills/gsd-path/templates/task.md +74 -0
- package/skills/gsd-path/templates/wave-panel.md +25 -0
- package/skills/gsd-path/templates/wave-review.md +64 -0
- package/skills/gsd-path-build/SKILL.md +700 -0
- package/skills/gsd-path-build/agents/openai.yaml +6 -0
- package/skills/gsd-path-build/references/coder.md +90 -0
- package/skills/gsd-path-build/references/dispatch.md +131 -0
- package/skills/gsd-path-build/references/reviewer.md +188 -0
- package/skills/gsd-path-build/scripts/_common.py +180 -0
- package/skills/gsd-path-build/scripts/archive_milestone.py +2265 -0
- package/skills/gsd-path-build/scripts/build_state.py +854 -0
- package/skills/gsd-path-build/scripts/check_handoffs.py +1855 -0
- package/skills/gsd-path-build/scripts/check_task_briefs.py +376 -0
- package/skills/gsd-path-build/scripts/discussion_records.py +619 -0
- package/skills/gsd-path-build/scripts/discussion_validate.py +1321 -0
- package/skills/gsd-path-build/scripts/dispatch_driver.py +1812 -0
- package/skills/gsd-path-build/scripts/integration.py +1433 -0
- package/skills/gsd-path-build/scripts/isolation.py +3538 -0
- package/skills/gsd-path-build/scripts/loop_run.py +837 -0
- package/skills/gsd-path-build/scripts/pipeline_git.py +940 -0
- package/skills/gsd-path-build/scripts/pipeline_state.py +2291 -0
- package/skills/gsd-path-build/scripts/review_findings.py +714 -0
- package/skills/gsd-path-build/scripts/review_panel.py +553 -0
- package/skills/gsd-path-build/scripts/state_checkpoint.py +1039 -0
- package/skills/gsd-path-build/scripts/state_promote.py +743 -0
- package/skills/gsd-path-build/scripts/token_budget.py +146 -0
- package/skills/gsd-path-build/scripts/workflow_run.py +117 -0
- package/skills/gsd-path-build/templates/skeptic.md +36 -0
- package/skills/gsd-path-build/templates/task.md +74 -0
- package/skills/gsd-path-build/templates/wave-panel.md +25 -0
- package/skills/gsd-path-build/templates/wave-review.md +64 -0
- package/skills/gsd-path-decide/SKILL.md +115 -0
- package/skills/gsd-path-decide/agents/openai.yaml +6 -0
- package/skills/gsd-path-decide/references/decider.md +36 -0
- package/skills/gsd-path-decide/references/dispatch.md +131 -0
- package/skills/gsd-path-decide/scripts/_common.py +180 -0
- package/skills/gsd-path-decide/scripts/check_handoffs.py +1855 -0
- package/skills/gsd-path-decide/scripts/check_task_briefs.py +376 -0
- package/skills/gsd-path-decide/scripts/discussion_records.py +619 -0
- package/skills/gsd-path-decide/scripts/isolation.py +3538 -0
- package/skills/gsd-path-decide/scripts/pipeline_git.py +940 -0
- package/skills/gsd-path-decide/scripts/pipeline_state.py +2291 -0
- package/skills/gsd-path-decide/scripts/state_checkpoint.py +1039 -0
- package/skills/gsd-path-decide/scripts/state_promote.py +743 -0
- package/skills/gsd-path-decide/templates/synthesis.md +36 -0
- package/skills/gsd-path-define/SKILL.md +297 -0
- package/skills/gsd-path-define/agents/openai.yaml +6 -0
- package/skills/gsd-path-define/scripts/_common.py +180 -0
- package/skills/gsd-path-define/scripts/check_handoffs.py +1855 -0
- package/skills/gsd-path-define/scripts/check_task_briefs.py +376 -0
- package/skills/gsd-path-define/scripts/detect_project.py +1517 -0
- package/skills/gsd-path-define/scripts/discussion_records.py +619 -0
- package/skills/gsd-path-define/scripts/isolation.py +3538 -0
- package/skills/gsd-path-define/scripts/pipeline_git.py +940 -0
- package/skills/gsd-path-define/scripts/pipeline_state.py +2291 -0
- package/skills/gsd-path-define/scripts/state_checkpoint.py +1039 -0
- package/skills/gsd-path-define/scripts/state_promote.py +743 -0
- package/skills/gsd-path-define/templates/charter.md +50 -0
- package/skills/gsd-path-define/templates/intent.md +98 -0
- package/skills/gsd-path-define/templates/state.md +27 -0
- package/skills/gsd-path-discuss/SKILL.md +162 -0
- package/skills/gsd-path-discuss/agents/openai.yaml +6 -0
- package/skills/gsd-path-discuss/scripts/_common.py +180 -0
- package/skills/gsd-path-discuss/scripts/discussion_records.py +619 -0
- package/skills/gsd-path-discuss/templates/answers.md +29 -0
- package/skills/gsd-path-discuss/templates/dialogue.md +21 -0
- package/skills/gsd-path-docs-audit/SKILL.md +190 -0
- package/skills/gsd-path-docs-audit/agents/openai.yaml +6 -0
- package/skills/gsd-path-docs-audit/references/dispatch.md +131 -0
- package/skills/gsd-path-docs-audit/references/docs-auditor.md +60 -0
- package/skills/gsd-path-docs-audit/scripts/_common.py +180 -0
- package/skills/gsd-path-docs-audit/scripts/check_docs_audit.py +463 -0
- package/skills/gsd-path-docs-audit/scripts/check_handoffs.py +1855 -0
- package/skills/gsd-path-docs-audit/scripts/check_task_briefs.py +376 -0
- package/skills/gsd-path-docs-audit/scripts/discussion_records.py +619 -0
- package/skills/gsd-path-docs-audit/scripts/isolation.py +3538 -0
- package/skills/gsd-path-docs-audit/scripts/pipeline_git.py +940 -0
- package/skills/gsd-path-docs-audit/scripts/pipeline_state.py +2291 -0
- package/skills/gsd-path-docs-audit/scripts/state_checkpoint.py +1039 -0
- package/skills/gsd-path-docs-audit/scripts/state_promote.py +743 -0
- package/skills/gsd-path-docs-audit/templates/docs-audit.md +69 -0
- package/skills/gsd-path-forensics/SKILL.md +39 -0
- package/skills/gsd-path-forensics/agents/openai.yaml +6 -0
- package/skills/gsd-path-forensics/scripts/_common.py +180 -0
- package/skills/gsd-path-forensics/scripts/discussion_records.py +619 -0
- package/skills/gsd-path-forensics/scripts/pipeline_diagnose.py +715 -0
- package/skills/gsd-path-forensics/scripts/pipeline_undo.py +1039 -0
- package/skills/gsd-path-inspect/SKILL.md +167 -0
- package/skills/gsd-path-inspect/agents/openai.yaml +6 -0
- package/skills/gsd-path-inspect/references/codebase-mapper.md +52 -0
- package/skills/gsd-path-inspect/references/dispatch.md +131 -0
- package/skills/gsd-path-inspect/references/docs-auditor.md +60 -0
- package/skills/gsd-path-inspect/scripts/_common.py +180 -0
- package/skills/gsd-path-inspect/scripts/check_docs_audit.py +463 -0
- package/skills/gsd-path-inspect/scripts/check_handoffs.py +1855 -0
- package/skills/gsd-path-inspect/scripts/check_task_briefs.py +376 -0
- package/skills/gsd-path-inspect/scripts/detect_project.py +1517 -0
- package/skills/gsd-path-inspect/scripts/discussion_records.py +619 -0
- package/skills/gsd-path-inspect/scripts/isolation.py +3538 -0
- package/skills/gsd-path-inspect/scripts/pipeline_git.py +940 -0
- package/skills/gsd-path-inspect/scripts/pipeline_state.py +2291 -0
- package/skills/gsd-path-inspect/scripts/state_checkpoint.py +1039 -0
- package/skills/gsd-path-inspect/scripts/state_promote.py +743 -0
- package/skills/gsd-path-inspect/templates/codebase.md +46 -0
- package/skills/gsd-path-inspect/templates/docs-audit.md +69 -0
- package/skills/gsd-path-inspect/templates/state.md +27 -0
- package/skills/gsd-path-loop/SKILL.md +98 -0
- package/skills/gsd-path-loop/agents/openai.yaml +6 -0
- package/skills/gsd-path-loop/examples/ci-repair.LOOP.md +61 -0
- package/skills/gsd-path-loop/scripts/_common.py +180 -0
- package/skills/gsd-path-loop/scripts/discussion_records.py +619 -0
- package/skills/gsd-path-loop/scripts/loop_run.py +837 -0
- package/skills/gsd-path-loop/templates/loop.md +59 -0
- package/skills/gsd-path-migrate/SKILL.md +134 -0
- package/skills/gsd-path-migrate/agents/openai.yaml +6 -0
- package/skills/gsd-path-migrate/scripts/core_hook_gate.py +34 -0
- package/skills/gsd-path-migrate/scripts/core_hook_settings.py +119 -0
- package/skills/gsd-path-migrate/scripts/discussion_records.py +619 -0
- package/skills/gsd-path-migrate/scripts/migrate_core.py +169 -0
- package/skills/gsd-path-plan/SKILL.md +411 -0
- package/skills/gsd-path-plan/agents/openai.yaml +6 -0
- package/skills/gsd-path-plan/references/dispatch.md +131 -0
- package/skills/gsd-path-plan/references/planner.md +104 -0
- package/skills/gsd-path-plan/scripts/_common.py +180 -0
- package/skills/gsd-path-plan/scripts/check_handoffs.py +1855 -0
- package/skills/gsd-path-plan/scripts/check_task_briefs.py +376 -0
- package/skills/gsd-path-plan/scripts/discussion_records.py +619 -0
- package/skills/gsd-path-plan/scripts/isolation.py +3538 -0
- package/skills/gsd-path-plan/scripts/pipeline_git.py +940 -0
- package/skills/gsd-path-plan/scripts/pipeline_state.py +2291 -0
- package/skills/gsd-path-plan/scripts/review_panel.py +553 -0
- package/skills/gsd-path-plan/scripts/state_checkpoint.py +1039 -0
- package/skills/gsd-path-plan/scripts/state_promote.py +743 -0
- package/skills/gsd-path-plan/scripts/workflow_run.py +117 -0
- package/skills/gsd-path-plan/templates/patch-findings.md +16 -0
- package/skills/gsd-path-plan/templates/plan-panel.md +25 -0
- package/skills/gsd-path-plan/templates/plan.md +89 -0
- package/skills/gsd-path-plan/templates/task.md +74 -0
- package/skills/gsd-path-research/SKILL.md +159 -0
- package/skills/gsd-path-research/agents/openai.yaml +6 -0
- package/skills/gsd-path-research/references/dispatch.md +131 -0
- package/skills/gsd-path-research/references/researcher.md +42 -0
- package/skills/gsd-path-research/scripts/_common.py +180 -0
- package/skills/gsd-path-research/scripts/check_handoffs.py +1855 -0
- package/skills/gsd-path-research/scripts/check_task_briefs.py +376 -0
- package/skills/gsd-path-research/scripts/discussion_records.py +619 -0
- package/skills/gsd-path-research/scripts/isolation.py +3538 -0
- package/skills/gsd-path-research/scripts/pipeline_git.py +940 -0
- package/skills/gsd-path-research/scripts/pipeline_state.py +2291 -0
- package/skills/gsd-path-research/scripts/state_checkpoint.py +1039 -0
- package/skills/gsd-path-research/scripts/state_promote.py +743 -0
- package/skills/gsd-path-research/templates/evidence.md +24 -0
- package/skills/gsd-path-research/templates/research-handoff.md +25 -0
- package/skills/gsd-path-roadmap/SKILL.md +215 -0
- package/skills/gsd-path-roadmap/agents/openai.yaml +6 -0
- package/skills/gsd-path-roadmap/references/dispatch.md +131 -0
- package/skills/gsd-path-roadmap/references/roadmapper.md +48 -0
- package/skills/gsd-path-roadmap/scripts/_common.py +180 -0
- package/skills/gsd-path-roadmap/scripts/archive_milestone.py +2265 -0
- package/skills/gsd-path-roadmap/scripts/check_handoffs.py +1855 -0
- package/skills/gsd-path-roadmap/scripts/check_task_briefs.py +376 -0
- package/skills/gsd-path-roadmap/scripts/detect_project.py +1517 -0
- package/skills/gsd-path-roadmap/scripts/discussion_records.py +619 -0
- package/skills/gsd-path-roadmap/scripts/discussion_validate.py +1321 -0
- package/skills/gsd-path-roadmap/scripts/integration.py +1433 -0
- package/skills/gsd-path-roadmap/scripts/isolation.py +3538 -0
- package/skills/gsd-path-roadmap/scripts/pipeline_git.py +940 -0
- package/skills/gsd-path-roadmap/scripts/pipeline_state.py +2291 -0
- package/skills/gsd-path-roadmap/scripts/promote_lookahead.py +415 -0
- package/skills/gsd-path-roadmap/scripts/review_panel.py +553 -0
- package/skills/gsd-path-roadmap/scripts/state_checkpoint.py +1039 -0
- package/skills/gsd-path-roadmap/scripts/state_promote.py +743 -0
- package/skills/gsd-path-roadmap/templates/roadmap.md +38 -0
- package/skills/gsd-path-ship/SKILL.md +412 -0
- package/skills/gsd-path-ship/agents/openai.yaml +6 -0
- package/skills/gsd-path-ship/references/dispatch.md +131 -0
- package/skills/gsd-path-ship/references/reviewer.md +188 -0
- package/skills/gsd-path-ship/scripts/_common.py +180 -0
- package/skills/gsd-path-ship/scripts/archive_milestone.py +2265 -0
- package/skills/gsd-path-ship/scripts/build_state.py +854 -0
- package/skills/gsd-path-ship/scripts/check_handoffs.py +1855 -0
- package/skills/gsd-path-ship/scripts/check_task_briefs.py +376 -0
- package/skills/gsd-path-ship/scripts/discussion_records.py +619 -0
- package/skills/gsd-path-ship/scripts/discussion_validate.py +1321 -0
- package/skills/gsd-path-ship/scripts/integration.py +1433 -0
- package/skills/gsd-path-ship/scripts/isolation.py +3538 -0
- package/skills/gsd-path-ship/scripts/lean_verification.py +256 -0
- package/skills/gsd-path-ship/scripts/pipeline_git.py +940 -0
- package/skills/gsd-path-ship/scripts/pipeline_state.py +2291 -0
- package/skills/gsd-path-ship/scripts/review_panel.py +553 -0
- package/skills/gsd-path-ship/scripts/state_checkpoint.py +1039 -0
- package/skills/gsd-path-ship/scripts/state_promote.py +743 -0
- package/skills/gsd-path-ship/scripts/workflow_run.py +117 -0
- package/skills/gsd-path-ship/templates/archive-manifest.md +37 -0
- package/skills/gsd-path-ship/templates/final-review.md +27 -0
- package/skills/gsd-path-ship/templates/gap-review.md +20 -0
- package/skills/gsd-path-ship/templates/patch-findings.md +16 -0
- package/skills/gsd-path-ship/templates/wave-review.md +64 -0
- package/skills/gsd-path-undo/SKILL.md +45 -0
- package/skills/gsd-path-undo/agents/openai.yaml +6 -0
- package/skills/gsd-path-undo/scripts/_common.py +180 -0
- package/skills/gsd-path-undo/scripts/discussion_records.py +619 -0
- package/skills/gsd-path-undo/scripts/pipeline_undo.py +1039 -0
- package/skills/path/BUILD.md +700 -0
- package/skills/path/DECIDE.md +115 -0
- package/skills/path/DEFINE.md +297 -0
- package/skills/path/DOCS-AUDIT.md +190 -0
- package/skills/path/INSPECT.md +167 -0
- package/skills/path/PLAN.md +411 -0
- package/skills/path/RESEARCH.md +159 -0
- package/skills/path/ROADMAP.md +215 -0
- package/skills/path/SHIP.md +412 -0
- package/skills/path/SKILL.md +471 -0
- package/skills/path/agents/openai.yaml +6 -0
- package/skills/path/references/codebase-mapper.md +52 -0
- package/skills/path/references/coder.md +90 -0
- package/skills/path/references/decider.md +36 -0
- package/skills/path/references/dispatch.md +131 -0
- package/skills/path/references/docs-auditor.md +60 -0
- package/skills/path/references/planner.md +104 -0
- package/skills/path/references/researcher.md +42 -0
- package/skills/path/references/reviewer.md +188 -0
- package/skills/path/references/roadmapper.md +48 -0
- package/skills/path/scripts/_common.py +180 -0
- package/skills/path/scripts/archive_milestone.py +2265 -0
- package/skills/path/scripts/bootstrap_repository.py +710 -0
- package/skills/path/scripts/build_state.py +854 -0
- package/skills/path/scripts/check_docs_audit.py +463 -0
- package/skills/path/scripts/check_handoffs.py +1855 -0
- package/skills/path/scripts/check_task_briefs.py +376 -0
- package/skills/path/scripts/check_update.py +93 -0
- package/skills/path/scripts/detect_project.py +1517 -0
- package/skills/path/scripts/discussion_records.py +619 -0
- package/skills/path/scripts/discussion_validate.py +1321 -0
- package/skills/path/scripts/dispatch_driver.py +1812 -0
- package/skills/path/scripts/integration.py +1433 -0
- package/skills/path/scripts/isolation.py +3538 -0
- package/skills/path/scripts/lean_verification.py +256 -0
- package/skills/path/scripts/loop_run.py +837 -0
- package/skills/path/scripts/pipeline_git.py +940 -0
- package/skills/path/scripts/pipeline_state.py +2291 -0
- package/skills/path/scripts/promote_lookahead.py +415 -0
- package/skills/path/scripts/review_findings.py +714 -0
- package/skills/path/scripts/review_panel.py +553 -0
- package/skills/path/scripts/state_checkpoint.py +1039 -0
- package/skills/path/scripts/state_promote.py +743 -0
- package/skills/path/scripts/token_budget.py +146 -0
- package/skills/path/scripts/workflow_run.py +117 -0
- package/skills/path/templates/answers.md +29 -0
- package/skills/path/templates/archive-manifest.md +37 -0
- package/skills/path/templates/charter.md +50 -0
- package/skills/path/templates/codebase.md +46 -0
- package/skills/path/templates/dialogue.md +21 -0
- package/skills/path/templates/docs-audit.md +69 -0
- package/skills/path/templates/evidence.md +24 -0
- package/skills/path/templates/final-review.md +27 -0
- package/skills/path/templates/gap-review.md +20 -0
- package/skills/path/templates/intent.md +98 -0
- package/skills/path/templates/loop.md +59 -0
- package/skills/path/templates/patch-findings.md +16 -0
- package/skills/path/templates/plan-panel.md +25 -0
- package/skills/path/templates/plan.md +89 -0
- package/skills/path/templates/repository.md +16 -0
- package/skills/path/templates/research-handoff.md +25 -0
- package/skills/path/templates/roadmap.md +38 -0
- package/skills/path/templates/skeptic.md +36 -0
- package/skills/path/templates/state.md +27 -0
- package/skills/path/templates/synthesis.md +36 -0
- package/skills/path/templates/task.md +74 -0
- package/skills/path/templates/wave-panel.md +25 -0
- package/skills/path/templates/wave-review.md +64 -0
package/DOCS.md
ADDED
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
# GSD Path — Documentation Hub
|
|
2
|
+
|
|
3
|
+
Everything to **install**, **use**, **understand**, and **update** GSD Path.
|
|
4
|
+
|
|
5
|
+
```text
|
|
6
|
+
README.md project overview + reference tables
|
|
7
|
+
│
|
|
8
|
+
DOCS.md (here) four journeys in one place
|
|
9
|
+
├── QUICK.md first run checklist (~5 min)
|
|
10
|
+
├── FULL.md install → ship, all phases
|
|
11
|
+
├── UPDATE.md refresh skills, hooks, contracts
|
|
12
|
+
├── HOOKS.md optional archive/git guards
|
|
13
|
+
└── WORKFLOW.md agent SOP (installed into your repo)
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Pick your path
|
|
17
|
+
|
|
18
|
+
| I want to… | Read |
|
|
19
|
+
| --- | --- |
|
|
20
|
+
| Install and run today | [QUICK.md](QUICK.md) |
|
|
21
|
+
| See install / use / update in one page | Stay on this file ↓ |
|
|
22
|
+
| Deep walkthrough every phase | [FULL.md](FULL.md) |
|
|
23
|
+
| Upgrade after `git pull` or npm | [UPDATE.md](UPDATE.md) |
|
|
24
|
+
| Reference tables (hosts, artifacts, flags) | [README.md](README.md) |
|
|
25
|
+
| Optional guard hooks | [HOOKS.md](HOOKS.md) |
|
|
26
|
+
| What agents execute per phase | [WORKFLOW.md](WORKFLOW.md) |
|
|
27
|
+
|
|
28
|
+
### By situation
|
|
29
|
+
|
|
30
|
+
| You are… | Do this |
|
|
31
|
+
| --- | --- |
|
|
32
|
+
| **New** — never installed | [QUICK.md](QUICK.md) checklist |
|
|
33
|
+
| **New repo** — skills already global | `install.mjs --all --project "$(pwd)"` → invoke router |
|
|
34
|
+
| **Returning** — mid-milestone | Invoke router in project; read [Using](#using) |
|
|
35
|
+
| **Upgrading** — new gsd-path version | [UPDATE.md](UPDATE.md) |
|
|
36
|
+
| **Team** — pin skills in repo | `--local` install; see [Installing](#installing) |
|
|
37
|
+
| **Shipping broke** — archive commit blocked | [HOOKS.md](HOOKS.md) (expected with hooks) |
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Installing
|
|
42
|
+
|
|
43
|
+
GSD Path has two install layers:
|
|
44
|
+
|
|
45
|
+
1. **Skills** — router + phase skills for your AI host(s)
|
|
46
|
+
2. **Project contracts** (optional) — `AGENTS.md`, `WORKFLOW.md`, and the
|
|
47
|
+
read-only `.gsd-path/runtime/` status engine in the repo
|
|
48
|
+
|
|
49
|
+
### Decision tree
|
|
50
|
+
|
|
51
|
+
```text
|
|
52
|
+
Where should skills live?
|
|
53
|
+
├─ My machine, many repos → global: install.mjs --all
|
|
54
|
+
└─ This repo only (team pin) → local: install.mjs --all --local (from repo root)
|
|
55
|
+
|
|
56
|
+
Will this repo run the pipeline?
|
|
57
|
+
├─ yes → add --project "$(pwd)" (contracts + plain-prompt re-entry runtime)
|
|
58
|
+
└─ no → skills only
|
|
59
|
+
|
|
60
|
+
Want archive / destructive-git enforcement?
|
|
61
|
+
└─ add --hooks with --project → see HOOKS.md
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Commands
|
|
65
|
+
|
|
66
|
+
**Clone** (this repository — primary path):
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
node scripts/install.mjs --all --dry-run # preview — safe to run anytime
|
|
70
|
+
node scripts/install.mjs --all # apply
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
**npm** (no clone — once the package is published to npm):
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
npx @opengsd/gsd-path --all --dry-run
|
|
77
|
+
npx @opengsd/gsd-path --all
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**New repo** (skills + project rules):
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
cd /path/to/your/repo
|
|
84
|
+
node scripts/install.mjs --all --project "$(pwd)"
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Optional hooks** (with Claude example):
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
node scripts/install.mjs --claude --project "$(pwd)" --hooks
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**Requirements:** Node 18.17+. Project installs also require Python 3.9+ as
|
|
94
|
+
`python3` or `python`. **Always** restart the agent session after install.
|
|
95
|
+
|
|
96
|
+
**Host flags** are derived from `scripts/skill-resources.json`. Run
|
|
97
|
+
`node scripts/install.mjs --help` for the current `--<host>` list.
|
|
98
|
+
|
|
99
|
+
Full roots and invocation table: [README.md](README.md#install-summary).
|
|
100
|
+
|
|
101
|
+
**Python installer:** `scripts/install.py` supports global and `--local`
|
|
102
|
+
installs plus `--update`. The Node CLI remains the interactive wizard and npm
|
|
103
|
+
entry point.
|
|
104
|
+
Help: `node scripts/install.mjs --help`
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Using
|
|
109
|
+
|
|
110
|
+
### Invoke the router (daily driver)
|
|
111
|
+
|
|
112
|
+
Work **in the project directory**. Invoke **explicitly**:
|
|
113
|
+
|
|
114
|
+
Use the [router and phase invocation table](README.md#install-summary) for your host.
|
|
115
|
+
|
|
116
|
+
The router reads `.project/STATE.md`, reports phase, runs the next valid step.
|
|
117
|
+
Vague chat such as “continue the project” does **not** run it. In a project
|
|
118
|
+
with an owned `.project/STATE.md`, such a prompt answers read-only with the
|
|
119
|
+
current handoff and the next skill to invoke; it never advances a phase.
|
|
120
|
+
|
|
121
|
+
### Skills (optional)
|
|
122
|
+
|
|
123
|
+
Run one phase only; stops at handoff:
|
|
124
|
+
|
|
125
|
+
| Skill | Invoke (slash hosts) | Purpose |
|
|
126
|
+
| --- | --- | --- |
|
|
127
|
+
| `path` | `/path` | Router short name (same skill as `/gsd-path`) |
|
|
128
|
+
| `gsd-path` | `/gsd-path` | Router — default (`/gsd-path status` reports without advancing) |
|
|
129
|
+
| `gsd-path-discuss` | `/gsd-path-discuss` | Any-phase discussion and durable answers |
|
|
130
|
+
| `gsd-path-inspect` | `/gsd-path-inspect` | Brownfield scan only |
|
|
131
|
+
| `gsd-path-define` | `/gsd-path-define` | Intent definition only |
|
|
132
|
+
| `gsd-path-research` | `/gsd-path-research` | Evidence gathering |
|
|
133
|
+
| `gsd-path-decide` | `/gsd-path-decide` | Decisions |
|
|
134
|
+
| `gsd-path-roadmap` | `/gsd-path-roadmap` | Program milestone slicing |
|
|
135
|
+
| `gsd-path-plan` | `/gsd-path-plan` | Waves + tasks |
|
|
136
|
+
| `gsd-path-build` | `/gsd-path-build` | Parallel build |
|
|
137
|
+
| `gsd-path-ship` | `/gsd-path-ship` | Review + ship gate |
|
|
138
|
+
| `gsd-path-docs-audit` | `/gsd-path-docs-audit` | Standalone doc drift check |
|
|
139
|
+
| `gsd-path-loop` | `/gsd-path-loop` | Bounded loop runner driven by a LOOP.md spec |
|
|
140
|
+
| `gsd-path-forensics` | `/gsd-path-forensics` | Read-only stuck-pipeline diagnosis |
|
|
141
|
+
| `gsd-path-migrate` | `/gsd-path-migrate` | Import GSD Core context and review hook coexistence |
|
|
142
|
+
| `gsd-path-undo` | `/gsd-path-undo` | Helper-owned undo of unpublished pipeline work |
|
|
143
|
+
|
|
144
|
+
Codex: use `$` instead of `/` (e.g. `$gsd-path-plan`).
|
|
145
|
+
|
|
146
|
+
### Discuss at any phase
|
|
147
|
+
|
|
148
|
+
Invoke `/gsd-path-discuss` (or `$gsd-path-discuss` in Codex) whenever you need
|
|
149
|
+
to question a decision, inspect progress, challenge an assumption, or resolve
|
|
150
|
+
an open issue without advancing the pipeline. The skill reads the current
|
|
151
|
+
phase artifacts and relevant code, pushes back with evidence when needed, and
|
|
152
|
+
uses focused research for unresolved external or technical questions. It
|
|
153
|
+
appends the verbatim dialogue to `.project/discuss/DIALOGUE.md` and the
|
|
154
|
+
answer/decision record to `.project/discuss/ANSWERS.md`; it never edits phase
|
|
155
|
+
state or bypasses a gate.
|
|
156
|
+
|
|
157
|
+
### Gates (what you approve)
|
|
158
|
+
|
|
159
|
+
| Phase | You do |
|
|
160
|
+
| --- | --- |
|
|
161
|
+
| Define | Answer gaps or review milestone derivation; approve intent playback |
|
|
162
|
+
| Decide | Resolve `NEEDS-USER` decisions |
|
|
163
|
+
| Roadmap | **Approve milestone slicing** (program flow) |
|
|
164
|
+
| Plan | **Approve wave summary** before any code is written |
|
|
165
|
+
| Build | Usually nothing — escalations only |
|
|
166
|
+
| Ship | Approve patch waves if blocked and approve final shipping when green |
|
|
167
|
+
|
|
168
|
+
### Cheat sheet
|
|
169
|
+
|
|
170
|
+
```text
|
|
171
|
+
No state, greenfield verdict → router → define (first milestone)
|
|
172
|
+
No state, brownfield verdict → router → inspect → define
|
|
173
|
+
No state, orphan verdict → router → block for recovery
|
|
174
|
+
Huge multi-milestone program → router → define (program mode: charter →
|
|
175
|
+
research → decide → roadmap → milestone loop)
|
|
176
|
+
Already mid-pipeline → router (continues)
|
|
177
|
+
Doc drift between phases → /gsd-path-docs-audit
|
|
178
|
+
Moving from GSD Core → /gsd-path-migrate (see MIGRATE.md)
|
|
179
|
+
Closed laptop, came back → router (reads .project/)
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
Details: [FULL.md](FULL.md) (phases, shipping, troubleshooting).
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## Understanding
|
|
187
|
+
|
|
188
|
+
### Mental model
|
|
189
|
+
|
|
190
|
+
1. **Disk is memory** — `.project/` files are the only phase memory.
|
|
191
|
+
2. **You gate progress** — intent, plan approval, final review.
|
|
192
|
+
3. **Router orchestrates** — one skill picks the next phase.
|
|
193
|
+
4. **Children do bounded work** — researchers/coders/reviewers in isolated agent contexts.
|
|
194
|
+
5. **Ship freezes history** — archives under `.project/archive/` are read-only.
|
|
195
|
+
|
|
196
|
+
### Pipeline
|
|
197
|
+
|
|
198
|
+
```text
|
|
199
|
+
inspect (brownfield only)
|
|
200
|
+
→ define → research → decide → plan
|
|
201
|
+
→ build (parallel coders, serial task landing)
|
|
202
|
+
→ ship (verify, archive, and integrate with main)
|
|
203
|
+
|
|
204
|
+
Program flow inserts roadmap between decide and plan: define
|
|
205
|
+
(program mode) writes CHARTER.md, roadmap slices it into ROADMAP.md,
|
|
206
|
+
and each later milestone loops inspect → define (milestone + brownfield) →
|
|
207
|
+
research and decide when the roadmap entry has open questions → plan → build
|
|
208
|
+
→ ship. The first milestone after roadmap approval still starts at define
|
|
209
|
+
(milestone mode), then follows the same open-question branch; inspect already
|
|
210
|
+
ran at program start when the tree was brownfield.
|
|
211
|
+
During build, the next milestone can be planned in parallel under
|
|
212
|
+
`.project/next/` (lookahead); a building milestone can be abandoned on an
|
|
213
|
+
explicit ruling, archiving partial work and re-slicing the roadmap.
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
Build mechanics: task briefs are linted against the base tree before
|
|
217
|
+
dispatch and coders preflight them on arrival; dispatch streams (a
|
|
218
|
+
dependent starts when its deps land); wave review depth is `full`,
|
|
219
|
+
`verify-only`, or `deep` (writer and evidence rules live in the canonical
|
|
220
|
+
[build contract](skills/gsd-path-build/SKILL.md)); coder contract questions
|
|
221
|
+
route through `NEEDS-ORCHESTRATOR` instead of guesses.
|
|
222
|
+
|
|
223
|
+
**Quick lane:** ≤2 tasks, one wave, no open questions — may skip research/decide
|
|
224
|
+
([FULL.md](FULL.md)).
|
|
225
|
+
|
|
226
|
+
### Key artifacts
|
|
227
|
+
|
|
228
|
+
| Path | Role |
|
|
229
|
+
| --- | --- |
|
|
230
|
+
| `STATE.md` | Phase, branch, milestone, archive id |
|
|
231
|
+
| `REPOSITORY.md` | Persistent new-GitHub checkout/worktree binding |
|
|
232
|
+
| `CHARTER.md` | Program scope and vetoes (program flow; never archives) |
|
|
233
|
+
| `ROADMAP.md` | Milestone slicing (program flow; never archives) |
|
|
234
|
+
| `SYNTHESIS.md` | Program decisions at top level (program flow; never archives) |
|
|
235
|
+
| `next/` | Lookahead track: next milestone's artifacts during build (program flow) |
|
|
236
|
+
| `intent/INTENT.md` | Goal, vetoes, constraints |
|
|
237
|
+
| `research/RESEARCH.md` | Which dimensions were researched / skipped |
|
|
238
|
+
| `research/SYNTHESIS.md` | Decisions for planner |
|
|
239
|
+
| `plan/PLAN.md` | Waves and dependencies |
|
|
240
|
+
| `tasks/T###-slug.md` | One coder contract (base SHA, scope) |
|
|
241
|
+
| `review/PLAN-PANEL.md` | Optional cross-model plan review |
|
|
242
|
+
| `review/wave-N.cycleC.panel.md` | Optional cross-model wave review |
|
|
243
|
+
| `review/FINAL.md` | Ship gate verdicts |
|
|
244
|
+
| `review/PATCH-FINDINGS.md` | Evidence for patch waves (when review blocks) |
|
|
245
|
+
| `discuss/DIALOGUE.md` | Any-phase discussion transcript |
|
|
246
|
+
| `discuss/ANSWERS.md` | Durable answers, pending owners, and disposition receipts |
|
|
247
|
+
| `archive/<NNN>-slug/` | Shipped milestone — do not edit |
|
|
248
|
+
|
|
249
|
+
Full tree: [README.md](README.md#handoff-contract).
|
|
250
|
+
|
|
251
|
+
### Router vs phase skill
|
|
252
|
+
|
|
253
|
+
| | Router | Phase skill |
|
|
254
|
+
| --- | --- | --- |
|
|
255
|
+
| Default? | Yes | Only when you want one step |
|
|
256
|
+
| Auto-advance? | Yes (bundled contracts) | No — stops at handoff |
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
## Updating
|
|
261
|
+
|
|
262
|
+
| What | How |
|
|
263
|
+
| --- | --- |
|
|
264
|
+
| Global skills | `node scripts/install.mjs --update` |
|
|
265
|
+
| Project-local skills | `node scripts/install.mjs --update --local` |
|
|
266
|
+
| From npm (once published) | `npx @opengsd/gsd-path@latest --update` |
|
|
267
|
+
| Guard scripts | `node scripts/install.mjs --hooks-refresh --project PATH` |
|
|
268
|
+
| `AGENTS.md` / `WORKFLOW.md` | Manual merge — installer refuses overwrite |
|
|
269
|
+
| Health check | `node scripts/install.mjs --doctor [--project PATH]` — read-only; flags missing/stale skills, hook drift, and bad pipeline state |
|
|
270
|
+
|
|
271
|
+
Full guide: **[UPDATE.md](UPDATE.md)**. Router may print a one-line npm update notice.
|
|
272
|
+
|
|
273
|
+
---
|
|
274
|
+
|
|
275
|
+
## FAQ
|
|
276
|
+
|
|
277
|
+
**Does it run automatically when I ask the agent to build something?**
|
|
278
|
+
No. Invoke `$gsd-path` or `/gsd-path` explicitly. Skills are explicit-only on most hosts.
|
|
279
|
+
In a project with an owned `.project/STATE.md`, a plain prompt reports the
|
|
280
|
+
current phase and next skill read-only instead of building.
|
|
281
|
+
|
|
282
|
+
**I installed but nothing shows up in the agent.**
|
|
283
|
+
Restart the host session. Confirm with `ls ~/.claude/skills/gsd-path` (or your host root).
|
|
284
|
+
|
|
285
|
+
**Can I use only Cursor, not every host?**
|
|
286
|
+
Yes: `node scripts/install.mjs --cursor` (add other flags as needed).
|
|
287
|
+
|
|
288
|
+
**Will install overwrite my `AGENTS.md`?**
|
|
289
|
+
No — if managed project files already exist, a plain install refuses and installs
|
|
290
|
+
nothing for that project. Use `--update --project PATH` to refresh skills and the
|
|
291
|
+
managed `.gsd-path/` runtime while keeping your contracts; merge project
|
|
292
|
+
contract updates manually ([UPDATE.md](UPDATE.md)).
|
|
293
|
+
|
|
294
|
+
**Where is pipeline state?**
|
|
295
|
+
`.project/` in your repo — not chat history.
|
|
296
|
+
|
|
297
|
+
**How do I undo a skill update?**
|
|
298
|
+
Restore from `disabled-gsd-skills` beside the skills root ([UPDATE.md](UPDATE.md)).
|
|
299
|
+
|
|
300
|
+
**How do I see status without advancing?**
|
|
301
|
+
`$gsd-path status` (or `/gsd-path status`). It reports the helper-owned state
|
|
302
|
+
snapshot and stops.
|
|
303
|
+
|
|
304
|
+
**The pipeline is stuck. Do I invent git commands?**
|
|
305
|
+
No. `$gsd-path-forensics` is read-only diagnosis. `$gsd-path-undo` previews
|
|
306
|
+
then applies helper-owned undo of unpublished work. Neither force-pushes.
|
|
307
|
+
|
|
308
|
+
**Moving from GSD Core?**
|
|
309
|
+
Invoke `$gsd-path-migrate` (Claude Code and Codex first release). It prepares
|
|
310
|
+
an external import bundle, reviews hook coexistence, and hands off to the Path
|
|
311
|
+
router through inspect and define. See **[MIGRATE.md](MIGRATE.md)**.
|
|
312
|
+
|
|
313
|
+
**Brownfield vs greenfield?**
|
|
314
|
+
The router runs the bundled `scripts/detect_project.py initialize --repo
|
|
315
|
+
<absolute-root>` command, which classifies the project before it creates
|
|
316
|
+
STATE.md for a brownfield or greenfield verdict. A recognized
|
|
317
|
+
manifest or source file, qualifying tracked Git file, or qualifying Markdown
|
|
318
|
+
document with a body is brownfield and routes to inspect. A title-only README,
|
|
319
|
+
`LICENSE`/`COPYING`, `.gitignore`, or content only in ignored trees such as
|
|
320
|
+
`node_modules` does not count. Neither do managed GSD Path files or verified
|
|
321
|
+
GSD Path skill bundles: a `gsd-path*` or `ogsd*` bundle is verified under a
|
|
322
|
+
supported installer skill root or when it contains `SKILL.md`; a similarly
|
|
323
|
+
named source directory still counts normally. Those scaffold-only trees stay
|
|
324
|
+
greenfield and route to define. Other `.project/` content without STATE.md is
|
|
325
|
+
orphaned and blocks for recovery. An owned state, including the new-GitHub
|
|
326
|
+
bootstrap state, routes by STATE.md after classification without running the
|
|
327
|
+
initializer. After a milestone ships, the next one inspects again.
|
|
328
|
+
|
|
329
|
+
---
|
|
330
|
+
|
|
331
|
+
## Help
|
|
332
|
+
|
|
333
|
+
| Problem | See |
|
|
334
|
+
| --- | --- |
|
|
335
|
+
| Install / update errors | `--dry-run` first; [UPDATE.md](UPDATE.md) |
|
|
336
|
+
| Router won’t start | Explicit invocation; check `STATE.md` |
|
|
337
|
+
| Phase blocked | [FULL.md](FULL.md) troubleshooting |
|
|
338
|
+
| Archive commit blocked | [HOOKS.md](HOOKS.md) |
|
|
339
|
+
| Installer flags | `node scripts/install.mjs --help` |
|
|
340
|
+
|
|
341
|
+
[Workflow runner and observed token budgets](RUNTIME.md) documents canonical gate receipts, serial verification preparation, and host budget limits.
|