@opengsd/gsd-core 1.4.0-rc.1 → 1.4.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.
Files changed (54) hide show
  1. package/.claude-plugin/plugin.json +23 -0
  2. package/GEMINI.md +53 -0
  3. package/agents/gsd-ai-researcher.md +1 -1
  4. package/agents/gsd-code-fixer.md +1 -1
  5. package/agents/gsd-code-reviewer.md +1 -1
  6. package/agents/gsd-domain-researcher.md +1 -1
  7. package/agents/gsd-eval-auditor.md +1 -1
  8. package/agents/gsd-eval-planner.md +1 -1
  9. package/agents/gsd-framework-selector.md +1 -1
  10. package/agents/gsd-nyquist-auditor.md +1 -1
  11. package/agents/gsd-pattern-mapper.md +1 -1
  12. package/agents/gsd-security-auditor.md +1 -1
  13. package/agents/gsd-ui-auditor.md +1 -1
  14. package/agents/gsd-ui-checker.md +1 -1
  15. package/agents/gsd-ui-researcher.md +1 -1
  16. package/agents/gsd-user-profiler.md +1 -1
  17. package/bin/install.js +1911 -354
  18. package/commands/gsd/autonomous.md +2 -0
  19. package/commands/gsd/execute-phase.md +2 -0
  20. package/commands/gsd/plan-phase.md +2 -0
  21. package/commands/gsd/progress.md +1 -0
  22. package/commands/gsd/stats.md +1 -0
  23. package/commands/gsd/update.md +3 -2
  24. package/gemini-extension.json +6 -0
  25. package/gsd-core/bin/check-latest-version.cjs +58 -4
  26. package/gsd-core/bin/lib/install-profiles.cjs +58 -0
  27. package/gsd-core/bin/lib/installer-migration-report.cjs +3 -0
  28. package/gsd-core/bin/lib/installer-migrations/000-first-time-baseline.cjs +1 -1
  29. package/gsd-core/bin/lib/runtime-artifact-layout.cjs +67 -9
  30. package/gsd-core/bin/lib/runtime-config-adapter-registry.cjs +56 -0
  31. package/gsd-core/bin/lib/runtime-homes.cjs +32 -11
  32. package/gsd-core/bin/lib/shell-command-projection.cjs +6 -0
  33. package/gsd-core/bin/lib/surface.cjs +54 -11
  34. package/gsd-core/workflows/help/modes/full.md +2 -1
  35. package/gsd-core/workflows/review.md +2 -2
  36. package/gsd-core/workflows/update.md +32 -5
  37. package/hooks/dist/gsd-config-reload.js +133 -0
  38. package/hooks/dist/gsd-cursor-post-tool.js +75 -0
  39. package/hooks/dist/gsd-cursor-session-start.js +52 -0
  40. package/hooks/dist/managed-hooks-registry.cjs +3 -0
  41. package/hooks/gsd-config-reload.js +133 -0
  42. package/hooks/gsd-cursor-post-tool.js +75 -0
  43. package/hooks/gsd-cursor-session-start.js +52 -0
  44. package/hooks/hooks.json +69 -0
  45. package/hooks/managed-hooks-registry.cjs +3 -0
  46. package/package.json +5 -1
  47. package/scripts/build-hooks.js +7 -0
  48. package/scripts/changeset/cli.cjs +53 -10
  49. package/scripts/ci-test-scope.cjs +120 -18
  50. package/scripts/issue-dedupe.cjs +278 -0
  51. package/scripts/lint-test-file-count.allowlist.json +1 -0
  52. package/scripts/release-notes/discord-release-summary.cjs +373 -0
  53. package/scripts/research-profiles.cjs +3 -3
  54. package/scripts/sync-manifest-versions.cjs +119 -0
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "gsd-core",
3
+ "displayName": "GSD Core",
4
+ "version": "1.4.0",
5
+ "description": "GSD Core is a meta-prompting, context engineering, and spec-driven development system for AI coding agents.",
6
+ "author": {
7
+ "name": "open-gsd",
8
+ "url": "https://github.com/open-gsd"
9
+ },
10
+ "homepage": "https://github.com/open-gsd/gsd-core",
11
+ "repository": "https://github.com/open-gsd/gsd-core",
12
+ "license": "MIT",
13
+ "keywords": [
14
+ "spec-driven-development",
15
+ "planning",
16
+ "workflow",
17
+ "context-engineering",
18
+ "claude-code",
19
+ "gsd"
20
+ ],
21
+ "commands": "./commands/gsd/",
22
+ "hooks": "./hooks/hooks.json"
23
+ }
package/GEMINI.md ADDED
@@ -0,0 +1,53 @@
1
+ # GSD Core — Gemini CLI context
2
+
3
+ This context is loaded by the **gsd-core Gemini CLI extension**. It gives Gemini
4
+ the operating context for [GSD Core](https://github.com/open-gsd/gsd-core), a
5
+ meta-prompting, context-engineering, and spec-driven development system for AI
6
+ coding agents.
7
+
8
+ ## What GSD is
9
+
10
+ GSD turns a vague goal into shipped software through an explicit,
11
+ resumable workflow: **explore → plan → execute → verify → ship**. Work is
12
+ organised into milestones and phases under a `.planning/` directory, with each
13
+ phase carrying a SPEC, a PLAN, and verification criteria. The system favours
14
+ small, atomic, test-backed commits and keeps durable context in version-tracked
15
+ files rather than in the conversation.
16
+
17
+ ## The slash commands (installed separately)
18
+
19
+ > **This extension ships only the context above — not the slash commands.** It
20
+ > loads gsd's operating context into your Gemini sessions and is managed through
21
+ > `gemini extensions list / update / uninstall`. To install the `/gsd:*` command
22
+ > set, agents, and hooks into `~/.gemini/`, run the dedicated installer:
23
+ >
24
+ > ```bash
25
+ > npx gsd-core --gemini --global
26
+ > ```
27
+ >
28
+ > The two paths are complementary and the manual installer remains fully
29
+ > supported. The commands below are available only once that installer has run.
30
+
31
+ If you have installed the gsd commands, the workflow is driven by these `/gsd:*`
32
+ slash commands (Gemini registers gsd's commands under the `gsd` namespace, so the
33
+ colon form is canonical):
34
+
35
+ - `/gsd:new-project` — initialise a project and gather deep context.
36
+ - `/gsd:progress` — the unified situational command: check progress, advance the
37
+ workflow, or dispatch a freeform intent.
38
+ - `/gsd:plan-phase <N>` — produce a detailed phase plan with a verification loop.
39
+ - `/gsd:execute-phase <N>` — execute a phase's plans with wave-based parallelism.
40
+ - `/gsd:verify-work` — validate built features through conversational UAT.
41
+ - `/gsd:ship` — open a PR, run review, and prepare for merge.
42
+ - `/gsd:help` — list every available command.
43
+
44
+ ## Working with GSD
45
+
46
+ - Treat `.planning/` as the source of truth for project state — read it before
47
+ acting, and keep it current as work progresses.
48
+ - Prefer the smallest change that satisfies the phase's verification criteria.
49
+ - Run the project's tests and linters before declaring a phase done.
50
+ - When unsure what to do next, and the gsd commands are installed, `/gsd:progress`
51
+ is the situational entry point.
52
+
53
+ Learn more: <https://github.com/open-gsd/gsd-core>
@@ -2,7 +2,7 @@
2
2
  name: gsd-ai-researcher
3
3
  description: Researches a chosen AI framework's official docs to produce implementation-ready guidance — best practices, syntax, core patterns, and pitfalls distilled for the specific use case. Writes the Framework Quick Reference and Implementation Guidance sections of AI-SPEC.md. Spawned by /gsd:ai-integration-phase orchestrator.
4
4
  tools: Read, Write, Edit, Bash, Grep, Glob, WebFetch, WebSearch, mcp__context7__*
5
- color: "#34D399"
5
+ color: green
6
6
  # hooks:
7
7
  # PostToolUse:
8
8
  # - matcher: "Write|Edit"
@@ -2,7 +2,7 @@
2
2
  name: gsd-code-fixer
3
3
  description: Applies fixes to code review findings from REVIEW.md. Reads source files, applies intelligent fixes, and commits each fix atomically. Spawned by /gsd:code-review --fix.
4
4
  tools: Read, Edit, Write, Bash, Grep, Glob
5
- color: "#10B981"
5
+ color: green
6
6
  # hooks:
7
7
  # - before_write
8
8
  ---
@@ -2,7 +2,7 @@
2
2
  name: gsd-code-reviewer
3
3
  description: Reviews source files for bugs, security issues, and code quality problems. Produces structured REVIEW.md with severity-classified findings. Spawned by /gsd:code-review.
4
4
  tools: Read, Write, Bash, Grep, Glob
5
- color: "#F59E0B"
5
+ color: orange
6
6
  # hooks:
7
7
  # - before_write
8
8
  ---
@@ -2,7 +2,7 @@
2
2
  name: gsd-domain-researcher
3
3
  description: Researches the business domain and real-world application context of the AI system being built. Surfaces domain expert evaluation criteria, industry-specific failure modes, regulatory context, and what "good" looks like for practitioners in this field — before the eval-planner turns it into measurable rubrics. Spawned by /gsd:ai-integration-phase orchestrator.
4
4
  tools: Read, Write, Edit, Bash, Grep, Glob, WebSearch, WebFetch, mcp__context7__*
5
- color: "#A78BFA"
5
+ color: purple
6
6
  # hooks:
7
7
  # PostToolUse:
8
8
  # - matcher: "Write|Edit"
@@ -2,7 +2,7 @@
2
2
  name: gsd-eval-auditor
3
3
  description: Retroactive audit of an implemented AI phase's evaluation coverage. Checks implementation against the AI-SPEC.md evaluation plan. Scores each eval dimension as COVERED/PARTIAL/MISSING. Produces a scored EVAL-REVIEW.md with findings, gaps, and remediation guidance. Spawned by /gsd:eval-review orchestrator.
4
4
  tools: Read, Write, Bash, Grep, Glob
5
- color: "#EF4444"
5
+ color: red
6
6
  # hooks:
7
7
  # PostToolUse:
8
8
  # - matcher: "Write|Edit"
@@ -2,7 +2,7 @@
2
2
  name: gsd-eval-planner
3
3
  description: Designs a structured evaluation strategy for an AI phase. Identifies critical failure modes, selects eval dimensions with rubrics, recommends tooling, and specifies the reference dataset. Writes the Evaluation Strategy, Guardrails, and Production Monitoring sections of AI-SPEC.md. Spawned by /gsd:ai-integration-phase orchestrator.
4
4
  tools: Read, Write, Edit, Bash, Grep, Glob, AskUserQuestion
5
- color: "#F59E0B"
5
+ color: orange
6
6
  # hooks:
7
7
  # PostToolUse:
8
8
  # - matcher: "Write|Edit"
@@ -2,7 +2,7 @@
2
2
  name: gsd-framework-selector
3
3
  description: Presents an interactive decision matrix to surface the right AI/LLM framework for the user's specific use case. Produces a scored recommendation with rationale. Spawned by /gsd:ai-integration-phase and /gsd-select-framework orchestrators.
4
4
  tools: Read, Bash, Grep, Glob, WebSearch, AskUserQuestion
5
- color: "#38BDF8"
5
+ color: cyan
6
6
  ---
7
7
 
8
8
  <role>
@@ -8,7 +8,7 @@ tools:
8
8
  - Bash
9
9
  - Glob
10
10
  - Grep
11
- color: "#8B5CF6"
11
+ color: purple
12
12
  ---
13
13
 
14
14
  <role>
@@ -2,7 +2,7 @@
2
2
  name: gsd-pattern-mapper
3
3
  description: Analyzes codebase for existing patterns and produces PATTERNS.md mapping new files to closest analogs. Read-only codebase analysis spawned by /gsd:plan-phase orchestrator before planning.
4
4
  tools: Read, Bash, Glob, Grep, Write
5
- color: magenta
5
+ color: purple
6
6
  # hooks:
7
7
  # PostToolUse:
8
8
  # - matcher: "Write|Edit"
@@ -8,7 +8,7 @@ tools:
8
8
  - Bash
9
9
  - Glob
10
10
  - Grep
11
- color: "#EF4444"
11
+ color: red
12
12
  ---
13
13
 
14
14
  <role>
@@ -2,7 +2,7 @@
2
2
  name: gsd-ui-auditor
3
3
  description: Retroactive 6-pillar visual audit of implemented frontend code. Produces scored UI-REVIEW.md. Spawned by /gsd:ui-review orchestrator.
4
4
  tools: Read, Write, Bash, Grep, Glob
5
- color: "#F472B6"
5
+ color: pink
6
6
  # hooks:
7
7
  # PostToolUse:
8
8
  # - matcher: "Write|Edit"
@@ -2,7 +2,7 @@
2
2
  name: gsd-ui-checker
3
3
  description: Validates UI-SPEC.md design contracts against 6 quality dimensions. Produces BLOCK/FLAG/PASS verdicts. Spawned by /gsd:ui-phase orchestrator.
4
4
  tools: Read, Bash, Glob, Grep
5
- color: "#22D3EE"
5
+ color: cyan
6
6
  ---
7
7
 
8
8
  <role>
@@ -2,7 +2,7 @@
2
2
  name: gsd-ui-researcher
3
3
  description: Produces UI-SPEC.md design contract for frontend phases. Reads upstream artifacts, detects design system state, asks only unanswered questions. Spawned by /gsd:ui-phase orchestrator.
4
4
  tools: Read, Write, Edit, Bash, Grep, Glob, WebSearch, WebFetch, mcp__context7__*, mcp__firecrawl__*, mcp__exa__*, mcp__tavily__*, mcp__ref__*, mcp__jina__*
5
- color: "#E879F9"
5
+ color: purple
6
6
  # hooks:
7
7
  # PostToolUse:
8
8
  # - matcher: "Write|Edit"
@@ -2,7 +2,7 @@
2
2
  name: gsd-user-profiler
3
3
  description: Analyzes extracted session messages across 8 behavioral dimensions to produce a scored developer profile with confidence levels and evidence. Spawned by profile orchestration workflows.
4
4
  tools: Read
5
- color: magenta
5
+ color: purple
6
6
  ---
7
7
 
8
8
  <role>