create-team-foundry 2.1.2 → 2.1.3

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 (2) hide show
  1. package/dist/index.js +17 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1685,10 +1685,21 @@ fields. If the user says "looks good," proceed immediately to Step 4.
1685
1685
 
1686
1686
  ### Step 4 \u2014 Write files
1687
1687
 
1688
- Write all team-foundry files using confirmed data. For any field with no signal and
1689
- no user-provided answer, write a \`<!-- GAP: ... -->\` marker. Follow the
1690
- conversation-as-update protocol \u2014 show each file draft and wait for confirmation
1691
- before writing.
1688
+ Write **all** team-foundry files that have at least one confirmed signal. Do not skip
1689
+ files just because they were not mentioned in the pre-fill summary \u2014 if the repo scan
1690
+ gave you data for a file, populate it now.
1691
+
1692
+ Signal-to-file mapping (use this to decide what to write):
1693
+ - Stack (language, framework, dependencies from manifest file) \u2192 \`team-foundry/engineering/stack.md\`
1694
+ - Product name + what it does (README) \u2192 \`team-foundry/product/north-star.md\` (name field)
1695
+ - Recent commit messages \u2192 \`team-foundry/product/outcomes.md\` (inferred focus areas \u2014 frame as customer outcomes, not shipped features)
1696
+ - Open issues / PRs \u2192 \`team-foundry/product/assumptions.md\` (open bets, if full profile)
1697
+ - \`team-foundry/product/customers.md\` \u2014 no repo signal; write gap marker, surface in Step 5
1698
+ - Root instruction file \u2014 always write/update with product name and stack summary
1699
+
1700
+ For any field with no signal and no user-provided answer, write a \`<!-- GAP: ... -->\`
1701
+ marker. Follow the conversation-as-update protocol \u2014 show each file draft and wait
1702
+ for confirmation before writing.
1692
1703
 
1693
1704
  **No silent writes.** Even high-confidence pre-filled answers require explicit
1694
1705
  confirmation before being written to disk. "Looks good" or "yes" is confirmation.
@@ -2232,8 +2243,8 @@ After the last question, do the following:
2232
2243
  \u2192 north star (grounds the coach) \u2192 stack (engineering context).
2233
2244
  Wait for the user to say yes or choose a different file. If they say yes, proceed
2234
2245
  directly to the interview questions for that file as defined in the interview section
2235
- above \u2014 do not re-run the full interview. If they decline, proceed to step 4.
2236
- If all files are populated, skip this offer and proceed directly to step 4.
2246
+ above \u2014 do not re-run the full interview. If they decline, proceed to the "Offer the coach" step below.
2247
+ If all files are populated, skip this offer and proceed directly to the "Offer the coach" step below.
2237
2248
 
2238
2249
  4. **Offer the coach.** End with:
2239
2250
  > "Your team-foundry is set up. You can ask me to review it any time by saying
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-team-foundry",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "Scaffold a team-foundry into any repo — structured context files for Claude Code, Gemini CLI, and Cursor",
5
5
  "license": "MIT",
6
6
  "type": "module",