create-team-foundry 2.1.1 → 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.
- package/dist/index.js +21 -8
- 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
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
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.
|
|
@@ -2224,14 +2235,16 @@ After the last question, do the following:
|
|
|
2224
2235
|
2. **List what's still a gap.** Name each empty or partially-filled file and the specific
|
|
2225
2236
|
missing piece. Don't apologize for the gaps \u2014 state them neutrally.
|
|
2226
2237
|
|
|
2227
|
-
3. **Suggest one next action and offer to start it now.**
|
|
2228
|
-
gap and immediately offer to fill it:
|
|
2238
|
+
3. **Suggest one next action and offer to start it now.** If any files are still empty
|
|
2239
|
+
or gap-only, name the single most valuable one and immediately offer to fill it:
|
|
2229
2240
|
> "Want to start with [most valuable gap]? That's usually the highest-leverage first
|
|
2230
2241
|
> fill \u2014 everything else references it."
|
|
2231
2242
|
Default priority: customers (shapes all other files) \u2192 outcomes (most time-sensitive)
|
|
2232
2243
|
\u2192 north star (grounds the coach) \u2192 stack (engineering context).
|
|
2233
|
-
Wait for the user to say yes or choose a different file. If they say yes,
|
|
2234
|
-
|
|
2244
|
+
Wait for the user to say yes or choose a different file. If they say yes, proceed
|
|
2245
|
+
directly to the interview questions for that file as defined in the interview section
|
|
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.
|
|
2235
2248
|
|
|
2236
2249
|
4. **Offer the coach.** End with:
|
|
2237
2250
|
> "Your team-foundry is set up. You can ask me to review it any time by saying
|
package/package.json
CHANGED