@tekyzinc/gsd-t 2.2.1 → 2.3.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.
@@ -5,12 +5,15 @@ You are the lead agent coordinating task execution across domains. Choose solo o
5
5
  ## Step 1: Load State
6
6
 
7
7
  Read:
8
- 1. `CLAUDE.md`
8
+ 1. `CLAUDE.md` — check for **Branch Guard** (`Expected branch` field)
9
9
  2. `.gsd-t/progress.md`
10
10
  3. `.gsd-t/contracts/` — all contracts
11
11
  4. `.gsd-t/contracts/integration-points.md` — dependency graph
12
12
  5. `.gsd-t/domains/*/tasks.md` — all task lists
13
13
 
14
+ **Branch check (before any work):**
15
+ Run `git branch --show-current`. If CLAUDE.md declares an expected branch and you're on a different branch, STOP and warn the user. Do NOT execute tasks on the wrong branch.
16
+
14
17
  Identify:
15
18
  - Which tasks are already complete (check progress.md)
16
19
  - Which tasks are unblocked (no pending dependencies)
@@ -79,6 +79,9 @@ Create a starter template:
79
79
  - Workflows: docs/workflows.md
80
80
  - Infrastructure: docs/infrastructure.md
81
81
 
82
+ ## Branch Guard
83
+ **Expected branch**: {current branch from `git branch --show-current`}
84
+
82
85
  ## Conventions
83
86
  - {Coding style, naming patterns — fill this in}
84
87
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekyzinc/gsd-t",
3
- "version": "2.2.1",
3
+ "version": "2.3.0",
4
4
  "description": "GSD-T: Contract-Driven Development for Claude Code — 27 slash commands with impact analysis, test sync, and milestone archival",
5
5
  "author": "Tekyz, Inc.",
6
6
  "license": "MIT",
@@ -115,6 +115,11 @@ NEVER commit code without running this checklist. This is not optional.
115
115
 
116
116
  ```
117
117
  BEFORE EVERY COMMIT:
118
+ ├── Am I on the correct branch?
119
+ │ CHECK → Run `git branch --show-current`
120
+ │ Compare against "Expected branch" in project CLAUDE.md
121
+ │ WRONG BRANCH → STOP. Do NOT commit. Switch to the correct branch first.
122
+ │ No guard set → Proceed (but warn user to set one)
118
123
  ├── Did I change an API endpoint or response shape?
119
124
  │ YES → Update .gsd-t/contracts/api-contract.md
120
125
  ├── Did I change the database schema?
@@ -21,6 +21,15 @@
21
21
  - Workflows: docs/workflows.md
22
22
  - Infrastructure: docs/infrastructure.md
23
23
 
24
+ ## Branch Guard
25
+ <!-- Declare which branch this terminal session should work on. -->
26
+ <!-- Claude will verify the branch before every commit. -->
27
+ **Expected branch**: {main | master | feature-branch-name}
28
+
29
+ <!-- For multi-branch parallel work (e.g., web + mobile in separate terminals), -->
30
+ <!-- each terminal's CLAUDE.md should declare its own expected branch. -->
31
+ <!-- Example: Web terminal → master, Mobile terminal → Mobile -->
32
+
24
33
  ## GSD-T Workflow
25
34
  This project uses contract-driven development.
26
35
  - State: .gsd-t/progress.md