@shipfast-ai/shipfast 1.5.0 → 1.5.1
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/README.md +27 -0
- package/bin/install.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -82,6 +82,33 @@ This skips ALL permission checks — use only in trusted environments.
|
|
|
82
82
|
|
|
83
83
|
## How It Works
|
|
84
84
|
|
|
85
|
+
### 0. Discover (for new projects)
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
/sf-project Build a SaaS billing system
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Before any planning, the LLM acts as a **senior technical discovery lead** — asking project-specific questions until it understands the full picture.
|
|
92
|
+
|
|
93
|
+
**10-category coverage framework** (the LLM must understand all before proceeding):
|
|
94
|
+
|
|
95
|
+
| Category | What it captures |
|
|
96
|
+
|----------|-----------------|
|
|
97
|
+
| Problem | What pain point does this solve? For whom? |
|
|
98
|
+
| Users | Who uses it? Distinct roles/needs? |
|
|
99
|
+
| Core Flow | Primary user journey, step by step |
|
|
100
|
+
| Data | What's created, stored, queried? Relationships? |
|
|
101
|
+
| Boundaries | What's v1? What's explicitly NOT v1? |
|
|
102
|
+
| Tech | Stack decisions (or detected from existing code) |
|
|
103
|
+
| Auth | Who can do what? Access control model? |
|
|
104
|
+
| Integrations | External services, APIs, third-party deps? |
|
|
105
|
+
| Constraints | Timeline, team, budget, compliance? |
|
|
106
|
+
| Risks | What could go wrong? Hardest part? |
|
|
107
|
+
|
|
108
|
+
Questions are **generated dynamically by the LLM** — not static templates. A SaaS project gets billing/multi-tenant questions. A CLI tool gets input/output questions. An API gets protocol/auth questions.
|
|
109
|
+
|
|
110
|
+
**Anti-loop**: max 4 rounds (16 questions). 8/10 categories clear = stop. User can say "enough" anytime. Safe tech defaults assumed without asking (PostgreSQL, REST, JWT). All answers stored as locked decisions in brain.db.
|
|
111
|
+
|
|
85
112
|
### 1. Discuss (when needed)
|
|
86
113
|
|
|
87
114
|
```
|
package/bin/install.js
CHANGED
|
@@ -187,7 +187,7 @@ function installFor(key, runtime) {
|
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
function printDone(count) {
|
|
190
|
-
console.log(`\n${green}${bold}
|
|
190
|
+
console.log(`\n${green}${bold}ShipFast v${pkg.version} installed for ${count} runtime${count > 1 ? 's' : ''}!${reset}\n`);
|
|
191
191
|
console.log(`${bold}Next:${reset}`);
|
|
192
192
|
console.log(` ${cyan}cd your-project${reset}`);
|
|
193
193
|
console.log(` ${cyan}shipfast init${reset} Index your codebase\n`);
|
|
@@ -801,7 +801,7 @@ function writeMcpConfig(dir) {
|
|
|
801
801
|
function writeInstruction(filePath) {
|
|
802
802
|
const marker = '<!-- ShipFast -->';
|
|
803
803
|
const close = '<!-- /ShipFast -->';
|
|
804
|
-
const block = `${marker}\n## ShipFast\nThis repo uses ShipFast. Brain: .shipfast/brain.db\n\nFor any task: \`/sf-do <task>\` (recommended — full pipeline with fresh context per task).\nFor quick edits: check brain_decisions and brain_learnings MCP tools before changes.\n\nContext: ShipFast saves progress to brain.db automatically.\nIf context runs low, run \`/sf-resume\` in a new session — all state persists.\nRun \`/sf-help\` for all 20 commands.\n${close}`;
|
|
804
|
+
const block = `${marker}\n## ShipFast\nThis repo uses ShipFast. Brain: .shipfast/brain.db\n\nFor any task: \`/sf-do <task>\` (recommended — full pipeline with fresh context per task).\nFor new projects: \`/sf-project <description>\` — runs discovery first (10-category questioning until the project is fully understood).\nFor quick edits: check brain_decisions and brain_learnings MCP tools before changes.\n\nContext: ShipFast saves progress to brain.db automatically.\nIf context runs low, run \`/sf-resume\` in a new session — all state persists.\nRun \`/sf-help\` for all 20 commands.\n${close}`;
|
|
805
805
|
|
|
806
806
|
let content = '';
|
|
807
807
|
if (fs.existsSync(filePath)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipfast-ai/shipfast",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "Autonomous context-engineered development system with SQLite brain. 5 agents, 20 commands, per-task fresh context, 70-90% fewer tokens.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"shipfast": "bin/install.js"
|